Home
last modified time | relevance | path

Searched refs:rpc_task (Results 1 – 25 of 59) sorted by relevance

123

/openbmc/linux/include/linux/sunrpc/
H A Dsched.h43 struct rpc_task { struct
52 void (*tk_callback)(struct rpc_task *); argument
53 void (*tk_action)(struct rpc_task *); argument
96 typedef void (*rpc_action)(struct rpc_task *); argument
99 void (*rpc_call_prepare)(struct rpc_task *, void *);
100 void (*rpc_call_done)(struct rpc_task *, void *);
101 void (*rpc_count_stats)(struct rpc_task *, void *);
106 struct rpc_task *task;
207 struct rpc_task *rpc_new_task(const struct rpc_task_setup *);
208 struct rpc_task *rpc_run_task(const struct rpc_task_setup *);
[all …]
H A Dxprt.h54 struct rpc_task;
75 struct rpc_task * rq_task; /* RPC task data */
149 int (*reserve_xprt)(struct rpc_xprt *xprt, struct rpc_task *task);
150 void (*release_xprt)(struct rpc_xprt *xprt, struct rpc_task *task);
151 void (*alloc_slot)(struct rpc_xprt *xprt, struct rpc_task *task);
154 void (*rpcbind)(struct rpc_task *task);
156 void (*connect)(struct rpc_xprt *xprt, struct rpc_task *task);
160 int (*buf_alloc)(struct rpc_task *task);
161 void (*buf_free)(struct rpc_task *task);
165 void (*wait_for_reply_request)(struct rpc_task *task);
[all …]
H A Dauth.h132 int (*crmarshal)(struct rpc_task *task,
134 int (*crrefresh)(struct rpc_task *);
135 int (*crvalidate)(struct rpc_task *task,
137 int (*crwrap_req)(struct rpc_task *task,
139 int (*crunwrap_resp)(struct rpc_task *task,
143 bool (*crneed_reencode)(struct rpc_task *);
168 int rpcauth_marshcred(struct rpc_task *task,
170 int rpcauth_checkverf(struct rpc_task *task,
172 int rpcauth_wrap_req_encode(struct rpc_task *task,
174 int rpcauth_wrap_req(struct rpc_task *task,
[all …]
H A Dclnt.h190 void rpc_task_release_transport(struct rpc_task *);
191 void rpc_task_release_client(struct rpc_task *);
202 void rpcb_getport_async(struct rpc_task *);
207 void rpc_call_start(struct rpc_task *);
214 struct rpc_task *rpc_call_null(struct rpc_clnt *clnt, struct rpc_cred *cred,
216 int rpc_restart_call_prepare(struct rpc_task *);
217 int rpc_restart_call(struct rpc_task *);
254 const char *rpc_proc_name(const struct rpc_task *task);
265 static inline int rpc_reply_expected(struct rpc_task *task) in rpc_reply_expected()
271 static inline void rpc_task_close_connection(struct rpc_task *task) in rpc_task_close_connection()
H A Dmetrics.h76 struct rpc_task;
86 void rpc_count_iostats(const struct rpc_task *,
88 void rpc_count_iostats_metrics(const struct rpc_task *,
96 static inline void rpc_count_iostats(const struct rpc_task *task, in rpc_count_iostats()
98 static inline void rpc_count_iostats_metrics(const struct rpc_task *task, in rpc_count_iostats_metrics()
/openbmc/linux/net/sunrpc/
H A Dsched.c45 static void rpc_release_task(struct rpc_task *task);
68 bool rpc_task_set_rpc_status(struct rpc_task *task, int rpc_status) in rpc_task_set_rpc_status()
76 rpc_task_timeout(const struct rpc_task *task) in rpc_task_timeout()
95 __rpc_disable_timer(struct rpc_wait_queue *queue, struct rpc_task *task) in __rpc_disable_timer()
121 __rpc_add_timer(struct rpc_wait_queue *queue, struct rpc_task *task, in __rpc_add_timer()
147 __rpc_list_enqueue_task(struct list_head *q, struct rpc_task *task) in __rpc_list_enqueue_task()
149 struct rpc_task *t; in __rpc_list_enqueue_task()
169 __rpc_list_dequeue_task(struct rpc_task *task) in __rpc_list_dequeue_task()
172 struct rpc_task *t; in __rpc_list_dequeue_task()
180 struct rpc_task, in __rpc_list_dequeue_task()
[all …]
H A Dclnt.c58 static void call_start(struct rpc_task *task);
59 static void call_reserve(struct rpc_task *task);
60 static void call_reserveresult(struct rpc_task *task);
61 static void call_allocate(struct rpc_task *task);
62 static void call_encode(struct rpc_task *task);
63 static void call_decode(struct rpc_task *task);
64 static void call_bind(struct rpc_task *task);
65 static void call_bind_status(struct rpc_task *task);
66 static void call_transmit(struct rpc_task *task);
67 static void call_status(struct rpc_task *task);
[all …]
H A Dxprt.c75 static void xprt_request_init(struct rpc_task *task);
265 int xprt_reserve_xprt(struct rpc_xprt *xprt, struct rpc_task *task) in xprt_reserve_xprt()
329 int xprt_reserve_xprt_cong(struct rpc_xprt *xprt, struct rpc_task *task) in xprt_reserve_xprt_cong()
364 static inline int xprt_lock_write(struct rpc_xprt *xprt, struct rpc_task *task) in xprt_lock_write()
376 static bool __xprt_lock_write_func(struct rpc_task *task, void *data) in __xprt_lock_write_func()
419 void xprt_release_xprt(struct rpc_xprt *xprt, struct rpc_task *task) in xprt_release_xprt()
437 void xprt_release_xprt_cong(struct rpc_xprt *xprt, struct rpc_task *task) in xprt_release_xprt_cong()
447 void xprt_release_write(struct rpc_xprt *xprt, struct rpc_task *task) in xprt_release_write()
518 void xprt_release_rqst_cong(struct rpc_task *task) in xprt_release_rqst_cong()
562 void xprt_adjust_cwnd(struct rpc_xprt *xprt, struct rpc_task *task, int result) in xprt_adjust_cwnd()
[all …]
H A Dauth_tls.c35 static void rpc_tls_probe_call_prepare(struct rpc_task *task, void *data) in rpc_tls_probe_call_prepare()
41 static void rpc_tls_probe_call_done(struct rpc_task *task, void *data) in rpc_tls_probe_call_done()
62 struct rpc_task *task; in tls_probe()
99 static int tls_marshal(struct rpc_task *task, struct xdr_stream *xdr) in tls_marshal()
115 static int tls_refresh(struct rpc_task *task) in tls_refresh()
121 static int tls_validate(struct rpc_task *task, struct xdr_stream *xdr) in tls_validate()
H A Dauth.c607 rpcauth_bind_root_cred(struct rpc_task *task, int lookupflags) in rpcauth_bind_root_cred()
623 rpcauth_bind_machine_cred(struct rpc_task *task, int lookupflags) in rpcauth_bind_machine_cred()
639 rpcauth_bind_new_cred(struct rpc_task *task, int lookupflags) in rpcauth_bind_new_cred()
647 rpcauth_bindcred(struct rpc_task *task, const struct cred *cred, int flags) in rpcauth_bindcred()
724 int rpcauth_marshcred(struct rpc_task *task, struct xdr_stream *xdr) in rpcauth_marshcred()
739 int rpcauth_wrap_req_encode(struct rpc_task *task, struct xdr_stream *xdr) in rpcauth_wrap_req_encode()
757 int rpcauth_wrap_req(struct rpc_task *task, struct xdr_stream *xdr) in rpcauth_wrap_req()
779 rpcauth_checkverf(struct rpc_task *task, struct xdr_stream *xdr) in rpcauth_checkverf()
794 rpcauth_unwrap_resp_decode(struct rpc_task *task, struct xdr_stream *xdr) in rpcauth_unwrap_resp_decode()
810 rpcauth_unwrap_resp(struct rpc_task *task, struct xdr_stream *xdr) in rpcauth_unwrap_resp()
[all …]
H A Dauth_null.c63 nul_marshal(struct rpc_task *task, struct xdr_stream *xdr) in nul_marshal()
83 nul_refresh(struct rpc_task *task) in nul_refresh()
90 nul_validate(struct rpc_task *task, struct xdr_stream *xdr) in nul_validate()
H A Ddebugfs.c23 struct rpc_task *task = v; in tasks_show()
47 struct rpc_task *task; in tasks_start()
60 struct rpc_task *task = v; in tasks_next()
68 return list_entry(next, struct rpc_task, tk_task); in tasks_next()
H A Dauth_unix.c111 unx_marshal(struct rpc_task *task, struct xdr_stream *xdr) in unx_marshal()
166 unx_refresh(struct rpc_task *task) in unx_refresh()
173 unx_validate(struct rpc_task *task, struct xdr_stream *xdr) in unx_validate()
/openbmc/linux/fs/nfs/
H A Dunlink.c46 static void nfs_async_unlink_done(struct rpc_task *task, void *calldata) in nfs_async_unlink_done()
76 static void nfs_unlink_prepare(struct rpc_task *task, void *calldata) in nfs_unlink_prepare()
103 struct rpc_task *task; in nfs_do_call_unlink()
263 static void nfs_async_rename_done(struct rpc_task *task, void *calldata) in nfs_async_rename_done()
315 static void nfs_rename_prepare(struct rpc_task *task, void *calldata) in nfs_rename_prepare()
337 struct rpc_task *
340 void (*complete)(struct rpc_task *, struct nfs_renamedata *)) in nfs_async_rename() argument
401 nfs_complete_sillyrename(struct rpc_task *task, struct nfs_renamedata *data) in nfs_complete_sillyrename()
448 struct rpc_task *task; in nfs_sillyrename()
H A Dnfs3proc.c49 nfs3_async_handle_jukebox(struct rpc_task *task, struct inode *inode) in nfs3_async_handle_jukebox()
468 static void nfs3_proc_unlink_rpc_prepare(struct rpc_task *task, struct nfs_unlinkdata *data) in nfs3_proc_unlink_rpc_prepare()
474 nfs3_proc_unlink_done(struct rpc_task *task, struct inode *dir) in nfs3_proc_unlink_done()
492 static void nfs3_proc_rename_rpc_prepare(struct rpc_task *task, struct nfs_renamedata *data) in nfs3_proc_rename_rpc_prepare()
498 nfs3_proc_rename_done(struct rpc_task *task, struct inode *old_dir, in nfs3_proc_rename_done()
846 static int nfs3_read_done(struct rpc_task *task, struct nfs_pgio_header *hdr) in nfs3_read_done()
872 static int nfs3_proc_pgio_rpc_prepare(struct rpc_task *task, in nfs3_proc_pgio_rpc_prepare()
879 static int nfs3_write_done(struct rpc_task *task, struct nfs_pgio_header *hdr) in nfs3_write_done()
900 static void nfs3_proc_commit_rpc_prepare(struct rpc_task *task, struct nfs_commit_data *data) in nfs3_proc_commit_rpc_prepare()
905 static int nfs3_commit_done(struct rpc_task *task, struct nfs_commit_data *data) in nfs3_commit_done()
[all …]
H A Dproc.c342 static void nfs_proc_unlink_rpc_prepare(struct rpc_task *task, struct nfs_unlinkdata *data) in nfs_proc_unlink_rpc_prepare()
347 static int nfs_proc_unlink_done(struct rpc_task *task, struct inode *dir) in nfs_proc_unlink_done()
361 static void nfs_proc_rename_rpc_prepare(struct rpc_task *task, struct nfs_renamedata *data) in nfs_proc_rename_rpc_prepare()
367 nfs_proc_rename_done(struct rpc_task *task, struct inode *old_dir, in nfs_proc_rename_done()
597 static int nfs_read_done(struct rpc_task *task, struct nfs_pgio_header *hdr) in nfs_read_done()
620 static int nfs_proc_pgio_rpc_prepare(struct rpc_task *task, in nfs_proc_pgio_rpc_prepare()
627 static int nfs_write_done(struct rpc_task *task, struct nfs_pgio_header *hdr) in nfs_write_done()
645 static void nfs_proc_commit_rpc_prepare(struct rpc_task *task, struct nfs_commit_data *data) in nfs_proc_commit_rpc_prepare()
H A Dnfs4_fs.h96 struct rpc_task *task;
290 extern int nfs4_async_handle_error(struct rpc_task *task,
343 extern int nfs41_sequence_done(struct rpc_task *, struct nfs4_sequence_res *);
524 extern int nfs_wait_on_sequence(struct nfs_seqid *seqid, struct rpc_task *task);
532 struct rpc_task *task);
533 extern int nfs4_sequence_done(struct rpc_task *task,
H A Dnfs4proc.c102 static struct rpc_task *_nfs41_proc_sequence(struct nfs_client *clp,
620 nfs4_async_handle_exception(struct rpc_task *task, struct nfs_server *server, in nfs4_async_handle_exception()
656 nfs4_async_handle_error(struct rpc_task *task, struct nfs_server *server, in nfs4_async_handle_error()
734 static int nfs40_sequence_done(struct rpc_task *task, in nfs40_sequence_done()
804 struct rpc_task *task = _nfs41_proc_sequence(client, cred, slot, true); in nfs4_probe_sequence()
809 static int nfs41_sequence_process(struct rpc_task *task, in nfs41_sequence_process()
947 int nfs41_sequence_done(struct rpc_task *task, struct nfs4_sequence_res *res) in nfs41_sequence_done()
958 static int nfs4_sequence_process(struct rpc_task *task, struct nfs4_sequence_res *res) in nfs4_sequence_process()
977 int nfs4_sequence_done(struct rpc_task *task, struct nfs4_sequence_res *res) in nfs4_sequence_done()
987 static void nfs41_call_sync_prepare(struct rpc_task *task, void *calldata) in nfs41_call_sync_prepare()
[all …]
/openbmc/linux/fs/nfs/flexfilelayout/
H A Dflexfilelayout.c41 static void ff_layout_read_record_layoutstats_done(struct rpc_task *task,
676 nfs4_ff_layout_stat_io_end_read(struct rpc_task *task, in nfs4_ff_layout_stat_io_end_read()
707 nfs4_ff_layout_stat_io_end_write(struct rpc_task *task, in nfs4_ff_layout_stat_io_end_write()
1028 struct rpc_task *task = &hdr->task; in ff_layout_reset_write()
1076 struct rpc_task *task = &hdr->task; in ff_layout_reset_read()
1098 static int ff_layout_async_handle_error_v4(struct rpc_task *task, in ff_layout_async_handle_error_v4()
1176 static int ff_layout_async_handle_error_v3(struct rpc_task *task, in ff_layout_async_handle_error_v3()
1209 static int ff_layout_async_handle_error(struct rpc_task *task, in ff_layout_async_handle_error()
1302 static int ff_layout_read_done_cb(struct rpc_task *task, in ff_layout_read_done_cb()
1367 static void ff_layout_read_record_layoutstats_start(struct rpc_task *task, in ff_layout_read_record_layoutstats_start()
[all …]
/openbmc/linux/include/linux/
H A Dnfs_xdr.h316 struct rpc_task task;
1638 struct rpc_task task;
1643 int (*pgio_done_cb)(struct rpc_task *, struct nfs_pgio_header *);
1674 struct rpc_task task;
1691 int (*commit_done_cb) (struct rpc_task *task, struct nfs_commit_data *data);
1715 struct rpc_task task;
1723 void (*complete)(struct rpc_task *, struct nfs_renamedata *);
1767 void (*unlink_rpc_prepare) (struct rpc_task *, struct nfs_unlinkdata *);
1768 int (*unlink_done) (struct rpc_task *, struct inode *);
1772 void (*rename_rpc_prepare)(struct rpc_task *task, struct nfs_renamedata *);
[all …]
H A Dnfs_page.h80 int (*rw_done)(struct rpc_task *, struct nfs_pgio_header *,
82 void (*rw_result)(struct rpc_task *, struct nfs_pgio_header *);
168 extern bool nfs_async_iocounter_wait(struct rpc_task *, struct nfs_lock_context *);
/openbmc/linux/fs/nfs/filelayout/
H A Dfilelayout.c91 struct rpc_task *task = &hdr->task; in filelayout_reset_write()
108 struct rpc_task *task = &hdr->task; in filelayout_reset_read()
123 static int filelayout_async_handle_error(struct rpc_task *task, in filelayout_async_handle_error()
205 static int filelayout_read_done_cb(struct rpc_task *task, in filelayout_read_done_cb()
268 static void filelayout_read_prepare(struct rpc_task *task, void *data) in filelayout_read_prepare()
294 static void filelayout_read_call_done(struct rpc_task *task, void *data) in filelayout_read_call_done()
308 static void filelayout_read_count_stats(struct rpc_task *task, void *data) in filelayout_read_count_stats()
315 static int filelayout_write_done_cb(struct rpc_task *task, in filelayout_write_done_cb()
343 static int filelayout_commit_done_cb(struct rpc_task *task, in filelayout_commit_done_cb()
366 static void filelayout_write_prepare(struct rpc_task *task, void *data) in filelayout_write_prepare()
[all …]
/openbmc/linux/include/linux/lockd/
H A Dbind.h22 struct rpc_task;
75 bool (*nlmclnt_unlock_prepare)(struct rpc_task*, void *);
/openbmc/linux/include/trace/events/
H A Dsunrpc.h54 const struct rpc_task *task,
99 const struct rpc_task *task, \
276 TP_PROTO(const struct rpc_task *task),
299 const struct rpc_task *task \
310 TP_PROTO(const struct rpc_task *task),
367 TP_PROTO(const struct rpc_task *task, const void *action),
402 const struct rpc_task *task, \
419 TP_PROTO(const struct rpc_task *task, const struct rpc_wait_queue *q),
457 const struct rpc_task *task, \
467 TP_PROTO(const struct rpc_task *task),
[all …]
H A Drpcgss.h85 const struct rpc_task *task,
113 const struct rpc_task *task, \
344 const struct rpc_task *task
365 const struct rpc_task *task,
394 const struct rpc_task *task
422 const struct rpc_task *task,
456 const struct rpc_task *task,

123