Lines Matching defs:state
282 * Advance the AFS call state when the RxRPC call ends the transmit phase.
431 call->state = AFS_CALL_COMPLETE;
473 enum afs_call_state state;
480 while (state = READ_ONCE(call->state),
481 state == AFS_CALL_CL_AWAIT_REPLY ||
482 state == AFS_CALL_SV_AWAIT_OP_ID ||
483 state == AFS_CALL_SV_AWAIT_REQUEST ||
484 state == AFS_CALL_SV_AWAIT_ACK
486 if (state == AFS_CALL_SV_AWAIT_ACK) {
506 state = READ_ONCE(call->state);
512 if (state == AFS_CALL_CL_PROC_REPLY) {
518 ASSERTCMP(state, >, AFS_CALL_CL_PROC_REPLY);
524 ASSERTCMP(state, ==, AFS_CALL_COMPLETE);
534 pr_err("kAFS: Call %u in bad state %u\n",
535 call->debug_id, state);
543 if (state != AFS_CALL_CL_AWAIT_REPLY)
569 state = AFS_CALL_COMPLETE;
699 if (call->state < AFS_CALL_COMPLETE && call->need_attention) {
732 call->state = AFS_CALL_SV_AWAIT_OP_ID;
803 * Advance the AFS call state when an RxRPC service call ends the transmit
899 enum afs_call_state state;
913 state = READ_ONCE(call->state);
915 switch (state) {
917 afs_set_call_state(call, state, AFS_CALL_CL_PROC_REPLY);
920 afs_set_call_state(call, state, AFS_CALL_SV_REPLYING);