Searched refs:tk_runstate (Results 1 – 5 of 5) sorted by relevance
| /Linux-v5.4/include/linux/sunrpc/ |
| D | sched.h | 56 unsigned long tk_runstate; /* Task run status */ member 150 #define RPC_IS_RUNNING(t) test_bit(RPC_TASK_RUNNING, &(t)->tk_runstate) 151 #define rpc_set_running(t) set_bit(RPC_TASK_RUNNING, &(t)->tk_runstate) 153 test_and_set_bit(RPC_TASK_RUNNING, &(t)->tk_runstate) 157 clear_bit(RPC_TASK_RUNNING, &(t)->tk_runstate); \ 161 #define RPC_IS_QUEUED(t) test_bit(RPC_TASK_QUEUED, &(t)->tk_runstate) 162 #define rpc_set_queued(t) set_bit(RPC_TASK_QUEUED, &(t)->tk_runstate) 166 clear_bit(RPC_TASK_QUEUED, &(t)->tk_runstate); \ 170 #define RPC_IS_ACTIVATED(t) test_bit(RPC_TASK_ACTIVE, &(t)->tk_runstate) 172 #define RPC_SIGNALLED(t) test_bit(RPC_TASK_SIGNALLED, &(t)->tk_runstate)
|
| /Linux-v5.4/net/sunrpc/ |
| D | xprt.c | 1010 if (!test_bit(RPC_TASK_MSG_PIN_WAIT, &req->rq_task->tk_runstate)) { in xprt_unpin_rqst() 1027 return !test_bit(RPC_TASK_NEED_RECV, &task->tk_runstate) && in xprt_request_data_received() 1034 return !test_bit(RPC_TASK_NEED_RECV, &task->tk_runstate) && in xprt_request_need_enqueue_receive() 1061 set_bit(RPC_TASK_NEED_RECV, &task->tk_runstate); in xprt_request_enqueue_receive() 1079 if (test_and_clear_bit(RPC_TASK_NEED_RECV, &task->tk_runstate)) in xprt_request_dequeue_receive_locked() 1201 if (!test_bit(RPC_TASK_NEED_RECV, &task->tk_runstate)) in xprt_request_wait_receive() 1209 if (test_bit(RPC_TASK_NEED_RECV, &task->tk_runstate)) { in xprt_request_wait_receive() 1226 return !test_bit(RPC_TASK_NEED_XMIT, &task->tk_runstate); in xprt_request_need_enqueue_transmit() 1285 set_bit(RPC_TASK_NEED_XMIT, &task->tk_runstate); in xprt_request_enqueue_transmit() 1302 if (!test_and_clear_bit(RPC_TASK_NEED_XMIT, &task->tk_runstate)) in xprt_request_dequeue_transmit_locked() [all …]
|
| D | sched.c | 310 set_bit(RPC_TASK_ACTIVE, &task->tk_runstate); in rpc_set_active() 320 void *m = &task->tk_runstate; in rpc_complete_task() 329 clear_bit(RPC_TASK_ACTIVE, &task->tk_runstate); in rpc_complete_task() 348 return out_of_line_wait_on_bit(&task->tk_runstate, RPC_TASK_ACTIVE, in __rpc_wait_for_completion_task() 376 wake_up_bit(&task->tk_runstate, RPC_TASK_QUEUED); in rpc_make_runnable() 848 set_bit(RPC_TASK_SIGNALLED, &task->tk_runstate); in rpc_signal_task() 941 status = out_of_line_wait_on_bit(&task->tk_runstate, in __rpc_execute() 952 set_bit(RPC_TASK_SIGNALLED, &task->tk_runstate); in __rpc_execute()
|
| D | clnt.c | 1846 return test_bit(RPC_TASK_NEED_XMIT, &task->tk_runstate) == 0 && in rpc_task_need_encode() 1933 return !test_bit(RPC_TASK_NEED_XMIT, &task->tk_runstate); in rpc_task_transmitted() 2184 if (test_bit(RPC_TASK_NEED_XMIT, &task->tk_runstate)) { in call_transmit() 2279 if (test_bit(RPC_TASK_NEED_XMIT, &task->tk_runstate)) { in call_bc_transmit()
|
| /Linux-v5.4/include/trace/events/ |
| D | sunrpc.h | 144 __entry->runstate = task->tk_runstate; 190 __entry->runstate = task->tk_runstate;
|