• Home
  • Raw
  • Download

Lines Matching refs:oper

80 			switch (target.oper) {  in action_in_use()
84 if (env->action_list[i].oper == WRITER) { in action_in_use()
147 if (target.oper == WRITER) { in decrement_io_count()
239 target.oper = env->lastAction.oper; in get_next_action()
241 target.oper = TST_OPER(args->test_state); in get_next_action()
246 target.oper = READER; in get_next_action()
248 target.oper = WRITER; in get_next_action()
260 target.oper = in get_next_action()
261 (env->lastAction.oper == WRITER) ? READER : WRITER; in get_next_action()
263 } else if (target.oper == NONE) { in get_next_action()
265 target.oper = (args->flags & CLD_FLG_W) ? WRITER : READER; in get_next_action()
275 (env->lastAction.trsiz != 0) && (target.oper == READER)) { in get_next_action()
293 (target.oper == in get_next_action()
296 if ((target.oper == WRITER) && TST_wFST_TIME(args->test_state)) { in get_next_action()
298 } else if ((target.oper == READER) in get_next_action()
310 && (target.oper == WRITER)) { in get_next_action()
311 target.oper = NONE; in get_next_action()
320 target.oper = NONE; in get_next_action()
329 && (target.oper == READER)) { in get_next_action()
359 target.oper = RETRY; in get_next_action()
366 if (((target.oper == WRITER) ? env->wcount : env->rcount) >= in get_next_action()
368 target.oper = NONE; in get_next_action()
375 target.oper = NONE; in get_next_action()
402 if ((target.oper == NONE) || (target.oper == RETRY)) ; in get_next_action()
406 else if ((target.oper == WRITER) && (args->flags & CLD_FLG_WRITE_ONCE) in get_next_action()
409 else if ((target.oper == WRITER) in get_next_action()
412 else if ((target.oper == READER) && blk_written) ; in get_next_action()
427 (target.oper == READER)) { in get_next_action()
436 target.oper = RETRY; in get_next_action()
439 } else if ((target.oper == READER) && (args->flags & CLD_FLG_CMPR) in get_next_action()
442 target.oper = WRITER; in get_next_action()
447 target.oper = RETRY; in get_next_action()
451 target.oper = READER; in get_next_action()
466 if (target.oper == WRITER) { in get_next_action()
478 if (target.oper == READER) { in get_next_action()
494 mc_func_t oper, const int this_thread_id) in miscompare_dump() argument
503 if (oper == EXP) { in miscompare_dump()
521 } else if (oper == ACT) { in miscompare_dump()
526 } else if (oper == REREAD) { in miscompare_dump()
550 if (target.oper == WRITER) { in complete_io()
633 target.oper = TST_OPER(args->test_state); in ChildMain()
689 this_thread_id, target.oper, target.lba, in ChildMain()
703 if (target.oper == RETRY) { in ChildMain()
706 …} while ((env->bContinue) && (target.oper == RETRY)); /* we failed to get an action, and were aske… in ChildMain()
711 this_thread_id, target.oper, target.lba, in ChildMain()
740 if (target.oper == NONE) { /* nothing left to do */ in ChildMain()
747 if (target.oper == NONE) { in ChildMain()
765 (target.oper == in ChildMain()
787 if (target.oper == WRITER) { in ChildMain()
850 if (target.oper == READER) { in ChildMain()
872 (target.oper) ? "Read" : "Write", in ChildMain()
873 (target.oper) ? (env->rcount) : (env->wcount), in ChildMain()
895 if ((target.oper == READER) && (args->flags & CLD_FLG_CMPR)) { in ChildMain()
963 oper) ? (env-> in ChildMain()
983 (target.oper == in ChildMain()