Searched refs:tk_runstate (Results 1 – 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/include/linux/sunrpc/ |
D | sched.h | 56 unsigned long tk_runstate; /* Task run status */ member 151 #define RPC_IS_RUNNING(t) test_bit(RPC_TASK_RUNNING, &(t)->tk_runstate) 152 #define rpc_set_running(t) set_bit(RPC_TASK_RUNNING, &(t)->tk_runstate) 154 test_and_set_bit(RPC_TASK_RUNNING, &(t)->tk_runstate) 158 clear_bit(RPC_TASK_RUNNING, &(t)->tk_runstate); \ 162 #define RPC_IS_QUEUED(t) test_bit(RPC_TASK_QUEUED, &(t)->tk_runstate) 163 #define rpc_set_queued(t) set_bit(RPC_TASK_QUEUED, &(t)->tk_runstate) 167 clear_bit(RPC_TASK_QUEUED, &(t)->tk_runstate); \ 171 #define RPC_IS_ACTIVATED(t) test_bit(RPC_TASK_ACTIVE, &(t)->tk_runstate) 173 #define RPC_SIGNALLED(t) test_bit(RPC_TASK_SIGNALLED, &(t)->tk_runstate)
|
/kernel/linux/linux-5.10/net/sunrpc/ |
D | xprt.c | 1065 if (!test_bit(RPC_TASK_MSG_PIN_WAIT, &req->rq_task->tk_runstate)) { in xprt_unpin_rqst() 1082 return !test_bit(RPC_TASK_NEED_RECV, &task->tk_runstate) && in xprt_request_data_received() 1089 return !test_bit(RPC_TASK_NEED_RECV, &task->tk_runstate) && in xprt_request_need_enqueue_receive() 1116 set_bit(RPC_TASK_NEED_RECV, &task->tk_runstate); in xprt_request_enqueue_receive() 1134 if (test_and_clear_bit(RPC_TASK_NEED_RECV, &task->tk_runstate)) in xprt_request_dequeue_receive_locked() 1252 if (!test_bit(RPC_TASK_NEED_RECV, &task->tk_runstate)) in xprt_request_wait_receive() 1260 if (test_bit(RPC_TASK_NEED_RECV, &task->tk_runstate)) { in xprt_request_wait_receive() 1277 return !test_bit(RPC_TASK_NEED_XMIT, &task->tk_runstate); in xprt_request_need_enqueue_transmit() 1321 set_bit(RPC_TASK_NEED_XMIT, &task->tk_runstate); in xprt_request_enqueue_transmit() 1338 if (!test_and_clear_bit(RPC_TASK_NEED_XMIT, &task->tk_runstate)) in xprt_request_dequeue_transmit_locked() [all …]
|
D | sched.c | 286 set_bit(RPC_TASK_ACTIVE, &task->tk_runstate); in rpc_set_active() 296 void *m = &task->tk_runstate; in rpc_complete_task() 305 clear_bit(RPC_TASK_ACTIVE, &task->tk_runstate); in rpc_complete_task() 324 return out_of_line_wait_on_bit(&task->tk_runstate, RPC_TASK_ACTIVE, in __rpc_wait_for_completion_task() 352 wake_up_bit(&task->tk_runstate, RPC_TASK_QUEUED); in rpc_make_runnable() 842 set_bit(RPC_TASK_SIGNALLED, &task->tk_runstate); in rpc_signal_task() 932 status = out_of_line_wait_on_bit(&task->tk_runstate, in __rpc_execute() 943 set_bit(RPC_TASK_SIGNALLED, &task->tk_runstate); in __rpc_execute()
|
D | clnt.c | 1817 return test_bit(RPC_TASK_NEED_XMIT, &task->tk_runstate) == 0 && in rpc_task_need_encode() 1903 return !test_bit(RPC_TASK_NEED_XMIT, &task->tk_runstate); in rpc_task_transmitted() 2137 if (test_bit(RPC_TASK_NEED_XMIT, &task->tk_runstate)) { in call_transmit() 2232 if (test_bit(RPC_TASK_NEED_XMIT, &task->tk_runstate)) { in call_bc_transmit()
|
/kernel/linux/linux-5.10/include/trace/events/ |
D | sunrpc.h | 368 __entry->runstate = task->tk_runstate; 419 __entry->runstate = task->tk_runstate;
|