Lines Matching refs:ASSERTCMP
39 ASSERTCMP(atomic_read(&op->usage), >, 0); in fscache_enqueue_operation()
40 ASSERTCMP(op->state, ==, FSCACHE_OP_ST_IN_PROGRESS); in fscache_enqueue_operation()
67 ASSERTCMP(op->state, ==, FSCACHE_OP_ST_PENDING); in fscache_run_op()
90 ASSERTCMP(op->state, ==, FSCACHE_OP_ST_INITIALISED); in fscache_submit_exclusive_op()
91 ASSERTCMP(atomic_read(&op->usage), >, 0); in fscache_submit_exclusive_op()
94 ASSERTCMP(object->n_ops, >=, object->n_in_progress); in fscache_submit_exclusive_op()
95 ASSERTCMP(object->n_ops, >=, object->n_exclusive); in fscache_submit_exclusive_op()
114 ASSERTCMP(object->n_in_progress, ==, 0); in fscache_submit_exclusive_op()
167 ASSERTCMP(p->object, ==, object); in fscache_report_unexpected_submission()
195 ASSERTCMP(op->state, ==, FSCACHE_OP_ST_INITIALISED); in fscache_submit_op()
196 ASSERTCMP(atomic_read(&op->usage), >, 0); in fscache_submit_op()
199 ASSERTCMP(object->n_ops, >=, object->n_in_progress); in fscache_submit_op()
200 ASSERTCMP(object->n_ops, >=, object->n_exclusive); in fscache_submit_op()
221 ASSERTCMP(object->n_exclusive, ==, 0); in fscache_submit_op()
286 ASSERTCMP(object->n_in_progress, <=, object->n_ops); in fscache_start_operations()
303 ASSERTCMP(op->state, >=, FSCACHE_OP_ST_PENDING); in fscache_cancel_op()
304 ASSERTCMP(op->state, !=, FSCACHE_OP_ST_CANCELLED); in fscache_cancel_op()
305 ASSERTCMP(atomic_read(&op->usage), >, 0); in fscache_cancel_op()
347 ASSERTCMP(op->state, ==, FSCACHE_OP_ST_PENDING); in fscache_cancel_all_ops()
371 ASSERTCMP(op->state, ==, FSCACHE_OP_ST_IN_PROGRESS); in fscache_op_complete()
372 ASSERTCMP(object->n_in_progress, >, 0); in fscache_op_complete()
406 ASSERTCMP(atomic_read(&op->usage), >, 0); in fscache_put_operation()
446 ASSERTCMP(object->n_ops, >, 0); in fscache_put_operation()
490 ASSERTCMP(atomic_read(&op->usage), ==, 0); in fscache_operation_gc()
491 ASSERTCMP(op->state, ==, FSCACHE_OP_ST_DEAD); in fscache_operation_gc()
493 ASSERTCMP(object->n_ops, >, 0); in fscache_operation_gc()