Searched refs:tk_runstate (Results 1 – 5 of 5) sorted by relevance
/linux/include/linux/sunrpc/ |
H A D | sched.h | 67 unsigned long tk_runstate; /* Task run status */ member 164 test_and_set_bit(RPC_TASK_RUNNING, &(t)->tk_runstate) 165 #define rpc_clear_running(t) clear_bit(RPC_TASK_RUNNING, &(t)->tk_runstate) 167 #define RPC_IS_QUEUED(t) test_bit(RPC_TASK_QUEUED, &(t)->tk_runstate) 168 #define rpc_set_queued(t) set_bit(RPC_TASK_QUEUED, &(t)->tk_runstate) 169 #define rpc_clear_queued(t) clear_bit(RPC_TASK_QUEUED, &(t)->tk_runstate) 171 #define RPC_IS_ACTIVATED(t) test_bit(RPC_TASK_ACTIVE, &(t)->tk_runstate)
|
/linux/net/sunrpc/ |
H A D | xprt.c | 1112 if (!test_bit(RPC_TASK_MSG_PIN_WAIT, &req->rq_task->tk_runstate)) { in xprt_unpin_rqst() 1129 return !test_bit(RPC_TASK_NEED_RECV, &task->tk_runstate) && in xprt_request_data_received() 1136 return !test_bit(RPC_TASK_NEED_RECV, &task->tk_runstate) && in xprt_request_need_enqueue_receive() 1166 set_bit(RPC_TASK_NEED_RECV, &task->tk_runstate); in xprt_request_enqueue_receive() 1185 if (test_and_clear_bit(RPC_TASK_NEED_RECV, &task->tk_runstate)) in xprt_request_dequeue_receive_locked() 1305 if (!test_bit(RPC_TASK_NEED_RECV, &task->tk_runstate)) in xprt_request_wait_receive() 1313 if (test_bit(RPC_TASK_NEED_RECV, &task->tk_runstate)) { in xprt_request_wait_receive() 1330 return !test_bit(RPC_TASK_NEED_XMIT, &task->tk_runstate); in xprt_request_need_enqueue_transmit() 1381 set_bit(RPC_TASK_NEED_XMIT, &task->tk_runstate); in xprt_request_enqueue_transmit() 1398 if (!test_and_clear_bit(RPC_TASK_NEED_XMIT, &task->tk_runstate)) in xprt_request_dequeue_transmit_locked() [all …]
|
H A D | sched.c | 309 set_bit(RPC_TASK_ACTIVE, &task->tk_runstate); in rpc_set_active() 319 void *m = &task->tk_runstate; in rpc_complete_task() 328 clear_bit(RPC_TASK_ACTIVE, &task->tk_runstate); in rpc_complete_task() 345 return out_of_line_wait_on_bit(&task->tk_runstate, RPC_TASK_ACTIVE, in rpc_wait_for_completion_task() 374 wake_up_bit(&task->tk_runstate, RPC_TASK_QUEUED); in rpc_make_runnable() 985 status = out_of_line_wait_on_bit(&task->tk_runstate, in __rpc_execute()
|
H A D | clnt.c | 1936 return test_bit(RPC_TASK_NEED_XMIT, &task->tk_runstate) == 0 && in rpc_xdr_encode() 2021 return !test_bit(RPC_TASK_NEED_XMIT, &task->tk_runstate); in rpc_task_handle_transmitted() 2276 if (test_bit(RPC_TASK_NEED_XMIT, &task->tk_runstate)) { in call_transmit() 2372 if (test_bit(RPC_TASK_NEED_XMIT, &task->tk_runstate)) {
|
/linux/include/trace/events/ |
H A D | sunrpc.h | 385 __entry->runstate = task->tk_runstate; 438 __entry->runstate = task->tk_runstate;
|