Lines Matching refs:state
42 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()
97 ASSERTCMP(op->state, ==, FSCACHE_OP_ST_PENDING); in fscache_run_op()
99 op->state = FSCACHE_OP_ST_IN_PROGRESS; in fscache_run_op()
124 op->debug_id, object->debug_id, object->state->name); in fscache_report_unexpected_submission()
125 kdebug("objstate=%s [%s]", object->state->name, ostate->name); in fscache_report_unexpected_submission()
159 ASSERTCMP(op->state, ==, FSCACHE_OP_ST_INITIALISED); in fscache_submit_exclusive_op()
167 ostate = object->state; in fscache_submit_exclusive_op()
170 op->state = FSCACHE_OP_ST_PENDING; in fscache_submit_exclusive_op()
175 op->state = FSCACHE_OP_ST_CANCELLED; in fscache_submit_exclusive_op()
179 op->state = FSCACHE_OP_ST_CANCELLED; in fscache_submit_exclusive_op()
213 op->state = FSCACHE_OP_ST_CANCELLED; in fscache_submit_exclusive_op()
218 op->state = FSCACHE_OP_ST_CANCELLED; in fscache_submit_exclusive_op()
244 ASSERTCMP(op->state, ==, FSCACHE_OP_ST_INITIALISED); in fscache_submit_op()
252 ostate = object->state; in fscache_submit_op()
255 op->state = FSCACHE_OP_ST_PENDING; in fscache_submit_op()
260 op->state = FSCACHE_OP_ST_CANCELLED; in fscache_submit_op()
264 op->state = FSCACHE_OP_ST_CANCELLED; in fscache_submit_op()
293 op->state = FSCACHE_OP_ST_CANCELLED; in fscache_submit_op()
299 op->state = FSCACHE_OP_ST_CANCELLED; in fscache_submit_op()
361 ASSERTCMP(op->state, >=, FSCACHE_OP_ST_PENDING); in fscache_cancel_op()
362 ASSERTCMP(op->state, !=, FSCACHE_OP_ST_CANCELLED); in fscache_cancel_op()
368 if (op->state == FSCACHE_OP_ST_PENDING) { in fscache_cancel_op()
375 op->state = FSCACHE_OP_ST_CANCELLED; in fscache_cancel_op()
381 } else if (op->state == FSCACHE_OP_ST_IN_PROGRESS && cancel_in_progress_op) { in fscache_cancel_op()
391 op->state = FSCACHE_OP_ST_CANCELLED; in fscache_cancel_op()
423 ASSERTCMP(op->state, ==, FSCACHE_OP_ST_PENDING); in fscache_cancel_all_ops()
425 op->state = FSCACHE_OP_ST_CANCELLED; in fscache_cancel_all_ops()
448 ASSERTCMP(op->state, ==, FSCACHE_OP_ST_IN_PROGRESS); in fscache_op_complete()
458 op->state = FSCACHE_OP_ST_COMPLETE; in fscache_op_complete()
461 op->state = FSCACHE_OP_ST_CANCELLED; in fscache_op_complete()
494 ASSERTIFCMP(op->state != FSCACHE_OP_ST_INITIALISED && in fscache_put_operation()
495 op->state != FSCACHE_OP_ST_COMPLETE, in fscache_put_operation()
496 op->state, ==, FSCACHE_OP_ST_CANCELLED); in fscache_put_operation()
504 op->state = FSCACHE_OP_ST_DEAD; in fscache_put_operation()
575 ASSERTCMP(op->state, ==, FSCACHE_OP_ST_DEAD); in fscache_operation_gc()