Searched refs:tk_runstate (Results 1 – 5 of 5) sorted by relevance
/linux/include/linux/sunrpc/ |
A D | sched.h | 56 unsigned long tk_runstate; /* Task run status */ member 154 test_and_set_bit(RPC_TASK_RUNNING, &(t)->tk_runstate) 155 #define rpc_clear_running(t) clear_bit(RPC_TASK_RUNNING, &(t)->tk_runstate) 157 #define RPC_IS_QUEUED(t) test_bit(RPC_TASK_QUEUED, &(t)->tk_runstate) 158 #define rpc_set_queued(t) set_bit(RPC_TASK_QUEUED, &(t)->tk_runstate) 159 #define rpc_clear_queued(t) clear_bit(RPC_TASK_QUEUED, &(t)->tk_runstate) 161 #define RPC_IS_ACTIVATED(t) test_bit(RPC_TASK_ACTIVE, &(t)->tk_runstate) 163 #define RPC_SIGNALLED(t) test_bit(RPC_TASK_SIGNALLED, &(t)->tk_runstate)
|
/linux/net/sunrpc/ |
A D | xprt.c | 1164 set_bit(RPC_TASK_NEED_RECV, &task->tk_runstate); in xprt_request_enqueue_receive() 1300 if (!test_bit(RPC_TASK_NEED_RECV, &task->tk_runstate)) in xprt_request_wait_receive() 1308 if (test_bit(RPC_TASK_NEED_RECV, &task->tk_runstate)) { in xprt_request_wait_receive() 1381 set_bit(RPC_TASK_NEED_XMIT, &task->tk_runstate); in xprt_request_enqueue_transmit() 1443 if (test_bit(RPC_TASK_NEED_XMIT, &task->tk_runstate) || in xprt_request_dequeue_xprt() 1444 test_bit(RPC_TASK_NEED_RECV, &task->tk_runstate) || in xprt_request_dequeue_xprt() 1450 set_bit(RPC_TASK_MSG_PIN_WAIT, &task->tk_runstate); in xprt_request_dequeue_xprt() 1454 clear_bit(RPC_TASK_MSG_PIN_WAIT, &task->tk_runstate); in xprt_request_dequeue_xprt() 1500 if (!test_bit(RPC_TASK_NEED_XMIT, &task->tk_runstate)) in xprt_prepare_transmit() 1623 if (test_bit(RPC_TASK_NEED_XMIT, &task->tk_runstate)) in xprt_transmit() [all …]
|
A D | sched.c | 301 set_bit(RPC_TASK_ACTIVE, &task->tk_runstate); in rpc_set_active() 311 void *m = &task->tk_runstate; in rpc_complete_task() 320 clear_bit(RPC_TASK_ACTIVE, &task->tk_runstate); in rpc_complete_task() 339 return out_of_line_wait_on_bit(&task->tk_runstate, RPC_TASK_ACTIVE, in __rpc_wait_for_completion_task() 367 wake_up_bit(&task->tk_runstate, RPC_TASK_QUEUED); in rpc_make_runnable() 858 set_bit(RPC_TASK_SIGNALLED, &task->tk_runstate); in rpc_signal_task() 950 status = out_of_line_wait_on_bit(&task->tk_runstate, in __rpc_execute() 961 set_bit(RPC_TASK_SIGNALLED, &task->tk_runstate); in __rpc_execute()
|
A D | clnt.c | 1815 return test_bit(RPC_TASK_NEED_XMIT, &task->tk_runstate) == 0 && in rpc_task_need_encode() 1901 return !test_bit(RPC_TASK_NEED_XMIT, &task->tk_runstate); in rpc_task_transmitted() 2159 if (test_bit(RPC_TASK_NEED_XMIT, &task->tk_runstate)) { in call_transmit() 2253 if (test_bit(RPC_TASK_NEED_XMIT, &task->tk_runstate)) { in call_bc_transmit()
|
/linux/include/trace/events/ |
A D | sunrpc.h | 355 __entry->runstate = task->tk_runstate; 408 __entry->runstate = task->tk_runstate;
|
Completed in 17 milliseconds