• Home
  • Raw
  • Download

Lines Matching refs:state

39 	op->state = FSCACHE_OP_ST_INITIALISED;  in fscache_operation_init()
69 ASSERTIFCMP(op->state != FSCACHE_OP_ST_IN_PROGRESS, in fscache_enqueue_operation()
70 op->state, ==, FSCACHE_OP_ST_CANCELLED); in fscache_enqueue_operation()
99 ASSERTCMP(op->state, ==, FSCACHE_OP_ST_PENDING); in fscache_run_op()
101 op->state = FSCACHE_OP_ST_IN_PROGRESS; in fscache_run_op()
128 op->debug_id, object->debug_id, object->state->name); in fscache_report_unexpected_submission()
129 kdebug("objstate=%s [%s]", object->state->name, ostate->name); in fscache_report_unexpected_submission()
165 ASSERTCMP(op->state, ==, FSCACHE_OP_ST_INITIALISED); in fscache_submit_exclusive_op()
173 ostate = object->state; in fscache_submit_exclusive_op()
176 op->state = FSCACHE_OP_ST_PENDING; in fscache_submit_exclusive_op()
181 op->state = FSCACHE_OP_ST_CANCELLED; in fscache_submit_exclusive_op()
185 op->state = FSCACHE_OP_ST_CANCELLED; in fscache_submit_exclusive_op()
219 op->state = FSCACHE_OP_ST_CANCELLED; in fscache_submit_exclusive_op()
224 op->state = FSCACHE_OP_ST_CANCELLED; in fscache_submit_exclusive_op()
252 ASSERTCMP(op->state, ==, FSCACHE_OP_ST_INITIALISED); in fscache_submit_op()
260 ostate = object->state; in fscache_submit_op()
263 op->state = FSCACHE_OP_ST_PENDING; in fscache_submit_op()
268 op->state = FSCACHE_OP_ST_CANCELLED; in fscache_submit_op()
272 op->state = FSCACHE_OP_ST_CANCELLED; in fscache_submit_op()
301 op->state = FSCACHE_OP_ST_CANCELLED; in fscache_submit_op()
307 op->state = FSCACHE_OP_ST_CANCELLED; in fscache_submit_op()
371 ASSERTCMP(op->state, >=, FSCACHE_OP_ST_PENDING); in fscache_cancel_op()
372 ASSERTCMP(op->state, !=, FSCACHE_OP_ST_CANCELLED); in fscache_cancel_op()
378 if (op->state == FSCACHE_OP_ST_PENDING) { in fscache_cancel_op()
385 op->state = FSCACHE_OP_ST_CANCELLED; in fscache_cancel_op()
391 } else if (op->state == FSCACHE_OP_ST_IN_PROGRESS && cancel_in_progress_op) { in fscache_cancel_op()
401 op->state = FSCACHE_OP_ST_CANCELLED; in fscache_cancel_op()
435 ASSERTCMP(op->state, ==, FSCACHE_OP_ST_PENDING); in fscache_cancel_all_ops()
437 op->state = FSCACHE_OP_ST_CANCELLED; in fscache_cancel_all_ops()
460 ASSERTCMP(op->state, ==, FSCACHE_OP_ST_IN_PROGRESS); in fscache_op_complete()
471 op->state = FSCACHE_OP_ST_COMPLETE; in fscache_op_complete()
475 op->state = FSCACHE_OP_ST_CANCELLED; in fscache_op_complete()
510 ASSERTIFCMP(op->state != FSCACHE_OP_ST_INITIALISED && in fscache_put_operation()
511 op->state != FSCACHE_OP_ST_COMPLETE, in fscache_put_operation()
512 op->state, ==, FSCACHE_OP_ST_CANCELLED); in fscache_put_operation()
520 op->state = FSCACHE_OP_ST_DEAD; in fscache_put_operation()
593 ASSERTCMP(op->state, ==, FSCACHE_OP_ST_DEAD); in fscache_operation_gc()