Lines Matching refs:state
430 call->state = AFS_CALL_COMPLETE; in afs_make_call()
472 enum afs_call_state state; in afs_deliver_to_call() local
479 while (state = READ_ONCE(call->state), in afs_deliver_to_call()
480 state == AFS_CALL_CL_AWAIT_REPLY || in afs_deliver_to_call()
481 state == AFS_CALL_SV_AWAIT_OP_ID || in afs_deliver_to_call()
482 state == AFS_CALL_SV_AWAIT_REQUEST || in afs_deliver_to_call()
483 state == AFS_CALL_SV_AWAIT_ACK in afs_deliver_to_call()
485 if (state == AFS_CALL_SV_AWAIT_ACK) { in afs_deliver_to_call()
505 state = READ_ONCE(call->state); in afs_deliver_to_call()
511 if (state == AFS_CALL_CL_PROC_REPLY) { in afs_deliver_to_call()
517 ASSERTCMP(state, >, AFS_CALL_CL_PROC_REPLY); in afs_deliver_to_call()
523 ASSERTCMP(state, ==, AFS_CALL_COMPLETE); in afs_deliver_to_call()
533 call->debug_id, state); in afs_deliver_to_call()
541 if (state != AFS_CALL_CL_AWAIT_REPLY) in afs_deliver_to_call()
565 state = AFS_CALL_COMPLETE; in afs_deliver_to_call()
694 if (call->state < AFS_CALL_COMPLETE && call->need_attention) { in afs_process_async_call()
727 call->state = AFS_CALL_SV_AWAIT_OP_ID; in afs_charge_preallocation()
892 enum afs_call_state state; in afs_extract_data() local
905 state = READ_ONCE(call->state); in afs_extract_data()
907 switch (state) { in afs_extract_data()
909 afs_set_call_state(call, state, AFS_CALL_CL_PROC_REPLY); in afs_extract_data()
912 afs_set_call_state(call, state, AFS_CALL_SV_REPLYING); in afs_extract_data()