stage            1214 modules/dng.c      int stage; // stage to detect when done
stage            1219 modules/dng.c      rb_state.stage = RB_STAGE_REVERSING;
stage            1238 modules/dng.c      rb_state.stage = RB_STAGE_DEREVERSING;
stage            1260 modules/dng.c      rb_state.stage = RB_STAGE_DONE;
stage            1284 modules/dng.c      if(rb_state.stage != RB_STAGE_DONE) {
stage            1294 modules/dng.c      rb_state.stage = RB_STAGE_INIT;
stage            1307 modules/dng.c          while(rb_state.stage != RB_STAGE_DONE) {
stage            1342 modules/dng.c      while(rb_state.stage != RB_STAGE_DONE) {