Home | History | Annotate | Download | only in sunrpc

Lines Matching refs:tk_runstate

81 	unsigned long		tk_runstate;	/* Task run status */
153 #define RPC_IS_RUNNING(t) (test_bit(RPC_TASK_RUNNING, &(t)->tk_runstate))
154 #define rpc_set_running(t) (set_bit(RPC_TASK_RUNNING, &(t)->tk_runstate))
156 (test_and_set_bit(RPC_TASK_RUNNING, &(t)->tk_runstate))
160 clear_bit(RPC_TASK_RUNNING, &(t)->tk_runstate); \
164 #define RPC_IS_QUEUED(t) (test_bit(RPC_TASK_QUEUED, &(t)->tk_runstate))
165 #define rpc_set_queued(t) (set_bit(RPC_TASK_QUEUED, &(t)->tk_runstate))
169 clear_bit(RPC_TASK_QUEUED, &(t)->tk_runstate); \
174 (test_and_set_bit(RPC_TASK_WAKEUP, &(t)->tk_runstate) == 0)
178 clear_bit(RPC_TASK_WAKEUP, &(t)->tk_runstate); \
182 #define RPC_IS_ACTIVATED(t) (test_bit(RPC_TASK_ACTIVE, &(t)->tk_runstate))
183 #define rpc_set_active(t) (set_bit(RPC_TASK_ACTIVE, &(t)->tk_runstate))
187 clear_bit(RPC_TASK_ACTIVE, &(t)->tk_runstate); \