Home
last modified time | relevance | path

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

12

/linux-4.19.296/include/linux/sunrpc/
Dsched.h44 struct rpc_task { struct
53 void (*tk_callback)(struct rpc_task *); argument
54 void (*tk_action)(struct rpc_task *); argument
94 typedef void (*rpc_action)(struct rpc_task *); argument
97 void (*rpc_call_prepare)(struct rpc_task *, void *);
98 void (*rpc_call_done)(struct rpc_task *, void *);
99 void (*rpc_count_stats)(struct rpc_task *, void *);
104 struct rpc_task *task;
210 struct rpc_task *rpc_new_task(const struct rpc_task_setup *);
211 struct rpc_task *rpc_run_task(const struct rpc_task_setup *);
[all …]
Dxprt.h56 struct rpc_task;
76 struct rpc_task * rq_task; /* RPC task data */
126 int (*reserve_xprt)(struct rpc_xprt *xprt, struct rpc_task *task);
127 void (*release_xprt)(struct rpc_xprt *xprt, struct rpc_task *task);
128 void (*alloc_slot)(struct rpc_xprt *xprt, struct rpc_task *task);
131 void (*rpcbind)(struct rpc_task *task);
133 void (*connect)(struct rpc_xprt *xprt, struct rpc_task *task);
134 int (*buf_alloc)(struct rpc_task *task);
135 void (*buf_free)(struct rpc_task *task);
136 int (*send_request)(struct rpc_task *task);
[all …]
Dauth.h149 struct rpc_cred * (*crbind)(struct rpc_task *, struct rpc_cred *, int);
150 __be32 * (*crmarshal)(struct rpc_task *, __be32 *);
151 int (*crrefresh)(struct rpc_task *);
152 __be32 * (*crvalidate)(struct rpc_task *, __be32 *);
153 int (*crwrap_req)(struct rpc_task *, kxdreproc_t,
155 int (*crunwrap_resp)(struct rpc_task *, kxdrdproc_t,
189 struct rpc_cred * rpcauth_generic_bind_cred(struct rpc_task *, struct rpc_cred *, int);
191 __be32 * rpcauth_marshcred(struct rpc_task *, __be32 *);
192 __be32 * rpcauth_checkverf(struct rpc_task *, __be32 *);
193 int rpcauth_wrap_req(struct rpc_task *task, kxdreproc_t encode, void *rqstp, __be32 *data, void *…
[all …]
Dmetrics.h71 struct rpc_task;
81 void rpc_count_iostats(const struct rpc_task *,
83 void rpc_count_iostats_metrics(const struct rpc_task *,
91 static inline void rpc_count_iostats(const struct rpc_task *task, in rpc_count_iostats()
93 static inline void rpc_count_iostats_metrics(const struct rpc_task *task, in rpc_count_iostats_metrics()
Dclnt.h159 void rpc_task_release_transport(struct rpc_task *);
160 void rpc_task_release_client(struct rpc_task *);
169 void rpcb_getport_async(struct rpc_task *);
171 void rpc_call_start(struct rpc_task *);
178 struct rpc_task *rpc_call_null(struct rpc_clnt *clnt, struct rpc_cred *cred,
180 int rpc_restart_call_prepare(struct rpc_task *);
181 int rpc_restart_call(struct rpc_task *);
214 const char *rpc_proc_name(const struct rpc_task *task);
222 static inline int rpc_reply_expected(struct rpc_task *task) in rpc_reply_expected()
/linux-4.19.296/fs/nfs/
Dunlink.c45 static void nfs_async_unlink_done(struct rpc_task *task, void *calldata) in nfs_async_unlink_done()
75 static void nfs_unlink_prepare(struct rpc_task *task, void *calldata) in nfs_unlink_prepare()
102 struct rpc_task *task; in nfs_do_call_unlink()
262 static void nfs_async_rename_done(struct rpc_task *task, void *calldata) in nfs_async_rename_done()
314 static void nfs_rename_prepare(struct rpc_task *task, void *calldata) in nfs_rename_prepare()
335 struct rpc_task *
338 void (*complete)(struct rpc_task *, struct nfs_renamedata *)) in nfs_async_rename() argument
357 struct rpc_task *task = ERR_CAST(data->cred); in nfs_async_rename()
399 nfs_complete_sillyrename(struct rpc_task *task, struct nfs_renamedata *data) in nfs_complete_sillyrename()
452 struct rpc_task *task; in nfs_sillyrename()
Dproc.c332 static void nfs_proc_unlink_rpc_prepare(struct rpc_task *task, struct nfs_unlinkdata *data) in nfs_proc_unlink_rpc_prepare()
337 static int nfs_proc_unlink_done(struct rpc_task *task, struct inode *dir) in nfs_proc_unlink_done()
351 static void nfs_proc_rename_rpc_prepare(struct rpc_task *task, struct nfs_renamedata *data) in nfs_proc_rename_rpc_prepare()
357 nfs_proc_rename_done(struct rpc_task *task, struct inode *old_dir, in nfs_proc_rename_done()
587 static int nfs_read_done(struct rpc_task *task, struct nfs_pgio_header *hdr) in nfs_read_done()
610 static int nfs_proc_pgio_rpc_prepare(struct rpc_task *task, in nfs_proc_pgio_rpc_prepare()
617 static int nfs_write_done(struct rpc_task *task, struct nfs_pgio_header *hdr) in nfs_write_done()
635 static void nfs_proc_commit_rpc_prepare(struct rpc_task *task, struct nfs_commit_data *data) in nfs_proc_commit_rpc_prepare()
Dnfs3proc.c48 nfs3_async_handle_jukebox(struct rpc_task *task, struct inode *inode) in nfs3_async_handle_jukebox()
425 static void nfs3_proc_unlink_rpc_prepare(struct rpc_task *task, struct nfs_unlinkdata *data) in nfs3_proc_unlink_rpc_prepare()
431 nfs3_proc_unlink_done(struct rpc_task *task, struct inode *dir) in nfs3_proc_unlink_done()
449 static void nfs3_proc_rename_rpc_prepare(struct rpc_task *task, struct nfs_renamedata *data) in nfs3_proc_rename_rpc_prepare()
455 nfs3_proc_rename_done(struct rpc_task *task, struct inode *old_dir, in nfs3_proc_rename_done()
786 static int nfs3_read_done(struct rpc_task *task, struct nfs_pgio_header *hdr) in nfs3_read_done()
807 static int nfs3_proc_pgio_rpc_prepare(struct rpc_task *task, in nfs3_proc_pgio_rpc_prepare()
814 static int nfs3_write_done(struct rpc_task *task, struct nfs_pgio_header *hdr) in nfs3_write_done()
835 static void nfs3_proc_commit_rpc_prepare(struct rpc_task *task, struct nfs_commit_data *data) in nfs3_proc_commit_rpc_prepare()
840 static int nfs3_commit_done(struct rpc_task *task, struct nfs_commit_data *data) in nfs3_commit_done()
[all …]
Dnfs4_fs.h90 struct rpc_task *task;
283 extern int nfs4_async_handle_error(struct rpc_task *task,
315 extern int nfs41_sequence_done(struct rpc_task *, struct nfs4_sequence_res *);
506 extern int nfs_wait_on_sequence(struct nfs_seqid *seqid, struct rpc_task *task);
514 struct rpc_task *task);
515 extern int nfs4_sequence_done(struct rpc_task *task,
Dnfs4proc.c101 static struct rpc_task *_nfs41_proc_sequence(struct nfs_client *clp,
568 nfs4_async_handle_exception(struct rpc_task *task, struct nfs_server *server, in nfs4_async_handle_exception()
604 nfs4_async_handle_error(struct rpc_task *task, struct nfs_server *server, in nfs4_async_handle_error()
682 static int nfs40_sequence_done(struct rpc_task *task, in nfs40_sequence_done()
737 static int nfs41_sequence_process(struct rpc_task *task, in nfs41_sequence_process()
851 int nfs41_sequence_done(struct rpc_task *task, struct nfs4_sequence_res *res) in nfs41_sequence_done()
862 static int nfs4_sequence_process(struct rpc_task *task, struct nfs4_sequence_res *res) in nfs4_sequence_process()
881 int nfs4_sequence_done(struct rpc_task *task, struct nfs4_sequence_res *res) in nfs4_sequence_done()
891 static void nfs41_call_sync_prepare(struct rpc_task *task, void *calldata) in nfs41_call_sync_prepare()
901 static void nfs41_call_sync_done(struct rpc_task *task, void *calldata) in nfs41_call_sync_done()
[all …]
Dnfs42proc.c388 static void nfs42_offload_cancel_prepare(struct rpc_task *task, void *calldata) in nfs42_offload_cancel_prepare()
397 static void nfs42_offload_cancel_done(struct rpc_task *task, void *calldata) in nfs42_offload_cancel_done()
425 struct rpc_task *task; in nfs42_do_offload_cancel_async()
541 nfs42_layoutstat_prepare(struct rpc_task *task, void *calldata) in nfs42_layoutstat_prepare()
562 nfs42_layoutstat_done(struct rpc_task *task, void *calldata) in nfs42_layoutstat_done()
663 struct rpc_task *task; in nfs42_proc_layoutstats_generic()
Dinternal.h459 extern void nfs_read_prepare(struct rpc_task *task, void *calldata);
477 extern void nfs_write_prepare(struct rpc_task *task, void *calldata);
478 extern void nfs_commit_prepare(struct rpc_task *task, void *calldata);
552 extern struct rpc_task *
555 void (*complete)(struct rpc_task *, struct nfs_renamedata *));
Dread.c228 static int nfs_readpage_done(struct rpc_task *task, in nfs_readpage_done()
247 static void nfs_readpage_retry(struct rpc_task *task, in nfs_readpage_retry()
275 static void nfs_readpage_result(struct rpc_task *task, in nfs_readpage_result()
Dpnfs.h290 bool pnfs_wait_on_layoutreturn(struct inode *ino, struct rpc_task *task);
374 void pnfs_generic_write_commit_done(struct rpc_task *task, void *data);
717 pnfs_wait_on_layoutreturn(struct inode *ino, struct rpc_task *task) in pnfs_wait_on_layoutreturn()
Dpagelist.c115 nfs_async_iocounter_wait(struct rpc_task *task, struct nfs_lock_context *l_ctx) in nfs_async_iocounter_wait()
604 static void nfs_pgio_prepare(struct rpc_task *task, void *calldata) in nfs_pgio_prepare()
617 struct rpc_task *task; in nfs_initiate_pgio()
734 static void nfs_pgio_result(struct rpc_task *task, void *calldata) in nfs_pgio_result()
/linux-4.19.296/include/linux/lockd/
Dbind.h22 struct rpc_task;
71 bool (*nlmclnt_unlock_prepare)(struct rpc_task*, void *);
/linux-4.19.296/include/trace/events/
Dsunrpc.h19 TP_PROTO(struct rpc_task *task),
41 TP_PROTO(struct rpc_task *task),
47 TP_PROTO(struct rpc_task *task),
53 TP_PROTO(const struct rpc_task *task),
75 TP_PROTO(const struct rpc_task *task),
106 TP_PROTO(const struct rpc_task *task, const void *action),
140 TP_PROTO(const struct rpc_task *task, const void *action),
148 TP_PROTO(const struct rpc_task *task, const void *action),
156 TP_PROTO(const struct rpc_task *task, const void *action),
164 TP_PROTO(const struct rpc_task *task, const struct rpc_wait_queue *q),
[all …]
Drpcrdma.h89 const struct rpc_task *task,
132 const struct rpc_task *task, \
141 const struct rpc_task *task,
181 const struct rpc_task *task, \
666 const struct rpc_task *task,
829 const struct rpc_task *task,
859 const struct rpc_task *task,
/linux-4.19.296/fs/nfs/flexfilelayout/
Dflexfilelayout.c33 static void ff_layout_read_record_layoutstats_done(struct rpc_task *task,
693 nfs4_ff_layout_stat_io_end_read(struct rpc_task *task, in nfs4_ff_layout_stat_io_end_read()
724 nfs4_ff_layout_stat_io_end_write(struct rpc_task *task, in nfs4_ff_layout_stat_io_end_write()
993 struct rpc_task *task = &hdr->task; in ff_layout_reset_write()
1025 struct rpc_task *task = &hdr->task; in ff_layout_reset_read()
1042 static int ff_layout_async_handle_error_v4(struct rpc_task *task, in ff_layout_async_handle_error_v4()
1118 static int ff_layout_async_handle_error_v3(struct rpc_task *task, in ff_layout_async_handle_error_v3()
1151 static int ff_layout_async_handle_error(struct rpc_task *task, in ff_layout_async_handle_error()
1229 static int ff_layout_read_done_cb(struct rpc_task *task, in ff_layout_read_done_cb()
1304 static void ff_layout_read_record_layoutstats_start(struct rpc_task *task, in ff_layout_read_record_layoutstats_start()
[all …]
/linux-4.19.296/include/linux/
Dnfs_page.h72 int (*rw_done)(struct rpc_task *, struct nfs_pgio_header *,
74 void (*rw_result)(struct rpc_task *, struct nfs_pgio_header *);
147 extern bool nfs_async_iocounter_wait(struct rpc_task *, struct nfs_lock_context *);
Dnfs_xdr.h309 struct rpc_task task;
1484 struct rpc_task task;
1489 int (*pgio_done_cb)(struct rpc_task *, struct nfs_pgio_header *);
1520 struct rpc_task task;
1537 int (*commit_done_cb) (struct rpc_task *task, struct nfs_commit_data *data);
1568 void (*complete)(struct rpc_task *, struct nfs_renamedata *);
1615 void (*unlink_rpc_prepare) (struct rpc_task *, struct nfs_unlinkdata *);
1616 int (*unlink_done) (struct rpc_task *, struct inode *);
1620 void (*rename_rpc_prepare)(struct rpc_task *task, struct nfs_renamedata *);
1621 int (*rename_done) (struct rpc_task *task, struct inode *old_dir, struct inode *new_dir);
[all …]
/linux-4.19.296/fs/nfs/filelayout/
Dfilelayout.c90 struct rpc_task *task = &hdr->task; in filelayout_reset_write()
107 struct rpc_task *task = &hdr->task; in filelayout_reset_read()
122 static int filelayout_async_handle_error(struct rpc_task *task, in filelayout_async_handle_error()
202 static int filelayout_read_done_cb(struct rpc_task *task, in filelayout_read_done_cb()
265 static void filelayout_read_prepare(struct rpc_task *task, void *data) in filelayout_read_prepare()
291 static void filelayout_read_call_done(struct rpc_task *task, void *data) in filelayout_read_call_done()
307 static void filelayout_read_count_stats(struct rpc_task *task, void *data) in filelayout_read_count_stats()
314 static int filelayout_write_done_cb(struct rpc_task *task, in filelayout_write_done_cb()
342 static int filelayout_commit_done_cb(struct rpc_task *task, in filelayout_commit_done_cb()
365 static void filelayout_write_prepare(struct rpc_task *task, void *data) in filelayout_write_prepare()
[all …]
/linux-4.19.296/fs/lockd/
Dclntproc.c337 static struct rpc_task *__nlm_async_call(struct nlm_rqst *req, u32 proc, struct rpc_message *msg, c… in __nlm_async_call()
367 struct rpc_task *task; in nlm_do_async_call()
411 struct rpc_task *task; in nlmclnt_async_call()
700 static void nlmclnt_unlock_prepare(struct rpc_task *task, void *data) in nlmclnt_unlock_prepare()
713 static void nlmclnt_unlock_callback(struct rpc_task *task, void *data) in nlmclnt_unlock_callback()
781 static void nlmclnt_cancel_callback(struct rpc_task *task, void *data) in nlmclnt_cancel_callback()
/linux-4.19.296/fs/nfsd/
Dnfs4callback.c852 static void nfsd4_cb_probe_done(struct rpc_task *task, void *calldata) in nfsd4_cb_probe_done()
900 static bool nfsd41_cb_get_slot(struct nfs4_client *clp, struct rpc_task *task) in nfsd41_cb_get_slot()
918 static void nfsd4_cb_prepare(struct rpc_task *task, void *calldata) in nfsd4_cb_prepare()
938 static bool nfsd4_cb_sequence_done(struct rpc_task *task, struct nfsd4_callback *cb) in nfsd4_cb_sequence_done()
1021 static void nfsd4_cb_done(struct rpc_task *task, void *calldata) in nfsd4_cb_done()
/linux-4.19.296/fs/nfs/blocklayout/
Dblocklayout.c234 struct rpc_task *task; in bl_read_cleanup()
237 task = container_of(work, struct rpc_task, u.tk_work); in bl_read_cleanup()
366 struct rpc_task *task = container_of(work, struct rpc_task, u.tk_work); in bl_write_cleanup()

12