Lines Matching defs:state
309 * Advance the AFS call state when the RxRPC call ends the transmit phase.
498 call->state = AFS_CALL_COMPLETE;
507 enum afs_call_state state;
513 while (state = READ_ONCE(call->state),
514 state == AFS_CALL_CL_AWAIT_REPLY ||
515 state == AFS_CALL_SV_AWAIT_OP_ID ||
516 state == AFS_CALL_SV_AWAIT_REQUEST ||
517 state == AFS_CALL_SV_AWAIT_ACK
519 if (state == AFS_CALL_SV_AWAIT_ACK) {
538 state = READ_ONCE(call->state);
544 if (state == AFS_CALL_CL_PROC_REPLY) {
550 ASSERTCMP(state, >, AFS_CALL_CL_PROC_REPLY);
556 ASSERTCMP(state, ==, AFS_CALL_COMPLETE);
564 pr_err("kAFS: Call %u in bad state %u\n",
565 call->debug_id, state);
573 if (state != AFS_CALL_CL_AWAIT_REPLY)
597 state = AFS_CALL_COMPLETE;
727 if (call->state < AFS_CALL_COMPLETE && call->need_attention) {
760 call->state = AFS_CALL_SV_AWAIT_OP_ID;
831 * Advance the AFS call state when an RxRPC service call ends the transmit
925 enum afs_call_state state;
937 state = READ_ONCE(call->state);
939 switch (state) {
941 afs_set_call_state(call, state, AFS_CALL_CL_PROC_REPLY);
944 afs_set_call_state(call, state, AFS_CALL_SV_REPLYING);