Home
last modified time | relevance | path

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

12

/linux/include/linux/sunrpc/
H A Dxprt.h45 struct rpc_task;
67 struct rpc_task * rq_task; /* RPC task data */
154 int (*reserve_xprt)(struct rpc_xprt *xprt, struct rpc_task *task);
155 void (*release_xprt)(struct rpc_xprt *xprt, struct rpc_task *task);
156 void (*alloc_slot)(struct rpc_xprt *xprt, struct rpc_task *task);
159 void (*rpcbind)(struct rpc_task *task);
161 void (*connect)(struct rpc_xprt *xprt, struct rpc_task *task);
165 int (*buf_alloc)(struct rpc_task *task);
166 void (*buf_free)(struct rpc_task *task);
171 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 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()
H A Dclnt.h195 void rpc_task_release_transport(struct rpc_task *);
196 void rpc_task_release_client(struct rpc_task *);
207 void rpcb_getport_async(struct rpc_task *);
212 void rpc_call_start(struct rpc_task *);
219 struct rpc_task *rpc_call_null(struct rpc_clnt *clnt, struct rpc_cred *cred,
221 int rpc_restart_call_prepare(struct rpc_task *);
222 int rpc_restart_call(struct rpc_task *);
259 const char *rpc_proc_name(const struct rpc_task *task);
269 static inline int rpc_reply_expected(struct rpc_task *task) in rpc_reply_expected()
275 static inline void rpc_task_close_connection(struct rpc_task *task) in rpc_task_close_connection()
H A Dbc_xprt.h23 void xprt_init_bc_request(struct rpc_rqst *req, struct rpc_task *task,
/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.c53 static void call_start(struct rpc_task *task);
54 static void call_reserve(struct rpc_task *task);
55 static void call_reserveresult(struct rpc_task *task);
56 static void call_allocate(struct rpc_task *task);
57 static void call_encode(struct rpc_task *task);
58 static void call_decode(struct rpc_task *task);
59 static void call_bind(struct rpc_task *task);
60 static void call_bind_status(struct rpc_task *task);
61 static void call_transmit(struct rpc_task *task);
62 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 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()
H A Drpcb_clnt.c113 static void rpcb_getport_done(struct rpc_task *, void *);
624 static struct rpc_task *rpcb_call_async(struct rpc_clnt *rpcb_clnt, in rpcb_call_async()
673 void rpcb_getport_async(struct rpc_task *task) in rpcb_getport_async()
681 struct rpc_task *child; in rpcb_getport_async()
799 static void rpcb_getport_done(struct rpc_task *child, void *data) in rpcb_getport_done()
H A Dstats.c154 void rpc_count_iostats_metrics(const struct rpc_task *task, in rpc_count_iostats_metrics()
200 void rpc_count_iostats(const struct rpc_task *task, struct rpc_iostats *stats) in rpc_count_iostats()
/linux/fs/nfs/
H A Dnfs40proc.c12 static void nfs40_call_sync_prepare(struct rpc_task *task, void *calldata) in nfs40_call_sync_prepare()
19 static void nfs40_call_sync_done(struct rpc_task *task, void *calldata) in nfs40_call_sync_done()
39 static int nfs40_sequence_done(struct rpc_task *task, in nfs40_sequence_done()
81 static void nfs4_renew_done(struct rpc_task *task, void *calldata) in nfs4_renew_done()
265 static void nfs4_release_lockowner_prepare(struct rpc_task *task, void *calldata) in nfs4_release_lockowner_prepare()
275 static void nfs4_release_lockowner_done(struct rpc_task *task, void *calldata) in nfs4_release_lockowner_done()
H A Dnfs4proc.c102 static struct rpc_task *_nfs41_proc_sequence(struct nfs_client *clp,
686 nfs4_async_handle_exception(struct rpc_task *task, struct nfs_server *server, in nfs4_async_handle_exception()
736 nfs4_async_handle_error(struct rpc_task *task, struct nfs_server *server, in nfs4_async_handle_error()
856 struct rpc_task *task = _nfs41_proc_sequence(client, cred, slot, true); in nfs4_probe_sequence()
861 static int nfs41_sequence_process(struct rpc_task *task, in nfs41_sequence_process()
999 int nfs41_sequence_done(struct rpc_task *task, struct nfs4_sequence_res *res) in nfs41_sequence_done()
1010 static void nfs41_call_sync_prepare(struct rpc_task *task, void *calldata) in nfs41_call_sync_prepare()
1020 static void nfs41_call_sync_done(struct rpc_task *task, void *calldata) in nfs41_call_sync_done()
1059 static int nfs4_sequence_process(struct rpc_task *task, struct nfs4_sequence_res *res) in nfs4_sequence_process()
1066 int nfs4_sequence_done(struct rpc_task *task, struct nfs4_sequence_res *res) in nfs4_sequence_done()
[all …]
H A Dpnfs.h310 int pnfs_roc_done(struct rpc_task *task, struct nfs4_layoutreturn_args **argpp,
315 bool pnfs_wait_on_layoutreturn(struct inode *ino, struct rpc_task *task);
417 void pnfs_generic_write_commit_done(struct rpc_task *task, void *data);
786 pnfs_roc_done(struct rpc_task *task, in pnfs_roc_done()
802 pnfs_wait_on_layoutreturn(struct inode *ino, struct rpc_task *task) in pnfs_wait_on_layoutreturn()
/linux/include/linux/lockd/
H A Dbind.h16 struct rpc_task;
75 bool (*nlmclnt_unlock_prepare)(struct rpc_task*, void *);
/linux/fs/nfs/flexfilelayout/
H A Dflexfilelayout.c42 static void ff_layout_read_record_layoutstats_done(struct rpc_task *task,
804 nfs4_ff_layout_stat_io_end_read(struct rpc_task *task, in nfs4_ff_layout_stat_io_end_read()
843 nfs4_ff_layout_stat_io_end_write(struct rpc_task *task, in nfs4_ff_layout_stat_io_end_write()
1241 struct rpc_task *task = &hdr->task; in ff_layout_reset_write()
1293 struct rpc_task *task = &hdr->task; in ff_layout_reset_read()
1315 static int ff_layout_async_handle_error_v4(struct rpc_task *task, in ff_layout_async_handle_error_v4()
1418 static int ff_layout_async_handle_error_v3(struct rpc_task *task, in ff_layout_async_handle_error_v3()
1483 static int ff_layout_async_handle_error(struct rpc_task *task, in ff_layout_async_handle_error()
1601 static int ff_layout_read_done_cb(struct rpc_task *task, in ff_layout_read_done_cb()
1677 static void ff_layout_read_record_layoutstats_start(struct rpc_task *task, in ff_layout_read_record_layoutstats_start()
[all …]
/linux/include/linux/
H A Dnfs_xdr.h328 struct rpc_task task;
1685 struct rpc_task task;
1690 int (*pgio_done_cb)(struct rpc_task *, struct nfs_pgio_header *);
1721 struct rpc_task task;
1738 int (*commit_done_cb) (struct rpc_task *task, struct nfs_commit_data *data);
1761 struct rpc_task task;
1769 void (*complete)(struct rpc_task *, struct nfs_renamedata *);
1813 void (*unlink_rpc_prepare) (struct rpc_task *, struct nfs_unlinkdata *);
1814 int (*unlink_done) (struct rpc_task *, struct inode *);
1819 void (*rename_rpc_prepare)(struct rpc_task *task, struct nfs_renamedata *);
[all …]
/linux/include/trace/events/
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,
/linux/net/sunrpc/auth_gss/
H A Dauth_gss.c393 gss_upcall_callback(struct rpc_task *task) in gss_upcall_callback()
597 gss_refresh_upcall(struct rpc_task *task) in gss_refresh_upcall()
1283 struct rpc_task *task; in gss_send_destroy_context()
1529 static int gss_marshal(struct rpc_task *task, struct xdr_stream *xdr) in gss_marshal()
1605 static int gss_renew_cred(struct rpc_task *task) in gss_renew_cred()
1648 gss_refresh(struct rpc_task *task) in gss_refresh()
1672 gss_refresh_null(struct rpc_task *task) in gss_refresh_null()
1694 gss_validate(struct rpc_task *task, struct xdr_stream *xdr) in gss_validate()
1748 struct rpc_task *task, struct xdr_stream *xdr) in gss_wrap_req_integ()
1839 struct rpc_task *task, struct xdr_stream *xdr) in gss_wrap_req_priv()
[all …]
/linux/net/sunrpc/xprtrdma/
H A Dtransport.c430 xprt_rdma_timer(struct rpc_xprt *xprt, struct rpc_task *task)
480 xprt_rdma_connect(struct rpc_xprt *xprt, struct rpc_task *task) in xprt_rdma_connect()
552 xprt_rdma_alloc_slot(struct rpc_xprt *xprt, struct rpc_task *task) in rpcrdma_check_regbuf()
622 xprt_rdma_allocate(struct rpc_task *task)
651 xprt_rdma_free(struct rpc_task *task) in xprt_rdma_send_request()
H A Dsvc_rdma_backchannel.c101 xprt_rdma_bc_allocate(struct rpc_task *task) in xprt_rdma_bc_allocate()
127 xprt_rdma_bc_free(struct rpc_task *task) in xprt_rdma_bc_free()
/linux/fs/lockd/
H A Dclntproc.c343 static struct rpc_task *__nlm_async_call(struct nlm_rqst *req, u32 proc, struct rpc_message *msg, c… in __nlm_async_call()
373 struct rpc_task *task; in nlm_do_async_call()
417 struct rpc_task *task; in nlmclnt_async_call()
733 static void nlmclnt_unlock_prepare(struct rpc_task *task, void *data) in nlmclnt_unlock_prepare()
746 static void nlmclnt_unlock_callback(struct rpc_task *task, void *data) in nlmclnt_unlock_callback()
814 static void nlmclnt_cancel_callback(struct rpc_task *task, void *data) in nlmclnt_cancel_callback()

12