Lines Matching refs:status
566 static bool rpc_task_action_set_status(struct rpc_task *task, void *status)
568 task->tk_status = *(int *)status;
574 struct rpc_task *task, int status)
577 task, rpc_task_action_set_status, &status);
584 * @status: integer error value
587 * set to the value of @status.
591 struct rpc_task *task, int status)
596 rpc_wake_up_task_queue_set_status_locked(queue, task, status);
734 * rpc_wake_up_status_locked - wake up all rpc_tasks and set their status value.
736 * @status: status value to set
738 static void rpc_wake_up_status_locked(struct rpc_wait_queue *queue, int status)
746 rpc_wake_up_task_queue_set_status_locked(queue, task, status);
751 * rpc_wake_up_status - wake up all rpc_tasks and set their status value.
753 * @status: status value to set
757 void rpc_wake_up_status(struct rpc_wait_queue *queue, int status)
760 rpc_wake_up_status_locked(queue, status);
883 void rpc_exit(struct rpc_task *task, int status)
885 task->tk_status = status;
913 int status = 0;
929 /* Tasks with an RPC error status should exit */
931 (status = READ_ONCE(task->tk_rpc_status)) != 0) {
932 task->tk_status = status;
972 /* Wake up any task that has an exit status */
985 status = out_of_line_wait_on_bit(&task->tk_runstate,
988 if (status < 0) {