Home | History | Annotate | Download | only in disktest

Lines Matching refs:oper

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