Lines Matching refs:task
103 #define task_for_each(task, pos, head) \ argument
105 if ((task=list_entry(pos, struct rpc_task, u.tk_wait.list)),1)
107 #define task_for_first(task, head) \ argument
109 ((task=list_entry((head)->next, struct rpc_task, u.tk_wait.list)),1))
112 #define alltask_for_each(task, pos, head) \ argument
114 if ((task=list_entry(pos, struct rpc_task, tk_task)),1)
257 void rpc_init_task(struct rpc_task *task, struct rpc_clnt *clnt,
279 int __rpc_wait_for_completion_task(struct rpc_task *task, int (*)(void *));
287 static inline void rpc_exit(struct rpc_task *task, int status) in rpc_exit() argument
289 task->tk_status = status; in rpc_exit()
290 task->tk_action = rpc_exit_task; in rpc_exit()
293 static inline int rpc_wait_for_completion_task(struct rpc_task *task) in rpc_wait_for_completion_task() argument
295 return __rpc_wait_for_completion_task(task, NULL); in rpc_wait_for_completion_task()