Home | History | Annotate | Download | only in sunrpc

Lines Matching refs:rpc_task

38 struct rpc_task {
54 void (*tk_timeout_fn)(struct rpc_task *);
55 void (*tk_callback)(struct rpc_task *);
56 void (*tk_action)(struct rpc_task *);
83 #define task_for_each(task, pos, head) list_for_each(pos, head) if ((task=list_entry(pos, struct rpc_task, u.tk_wait.list)),1)
85 #define task_for_first(task, head) if (!list_empty(head) && ((task=list_entry((head)->next, struct rpc_task, u.tk_wait.list)),1))
87 #define alltask_for_each(task, pos, head) list_for_each(pos, head) if ((task=list_entry(pos, struct rpc_task, tk_task)),1)
89 typedef void (*rpc_action)(struct rpc_task *);
92 void (*rpc_call_prepare)(struct rpc_task *, void *);
93 void (*rpc_call_done)(struct rpc_task *, void *);
168 struct rpc_task *rpc_new_task(struct rpc_clnt *, int flags,
170 struct rpc_task *rpc_run_task(struct rpc_clnt *clnt, int flags,
172 struct rpc_task *rpc_new_child(struct rpc_clnt *, struct rpc_task *parent);
174 struct rpc_task *rpc_wake_up_next(struct rpc_wait_queue *);