Home
last modified time | relevance | path

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

123

/linux-6.1.9/include/linux/sunrpc/
Dsched.h43 struct rpc_task { struct
52 void (*tk_callback)(struct rpc_task *); argument
53 void (*tk_action)(struct rpc_task *); argument
97 typedef void (*rpc_action)(struct rpc_task *); argument
100 void (*rpc_call_prepare)(struct rpc_task *, void *);
101 void (*rpc_call_done)(struct rpc_task *, void *);
102 void (*rpc_count_stats)(struct rpc_task *, void *);
107 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 …]
Dxprt.h54 struct rpc_task;
75 struct rpc_task * rq_task; /* RPC task data */
134 int (*reserve_xprt)(struct rpc_xprt *xprt, struct rpc_task *task);
135 void (*release_xprt)(struct rpc_xprt *xprt, struct rpc_task *task);
136 void (*alloc_slot)(struct rpc_xprt *xprt, struct rpc_task *task);
139 void (*rpcbind)(struct rpc_task *task);
141 void (*connect)(struct rpc_xprt *xprt, struct rpc_task *task);
145 int (*buf_alloc)(struct rpc_task *task);
146 void (*buf_free)(struct rpc_task *task);
150 void (*wait_for_reply_request)(struct rpc_task *task);
[all …]
Dauth.h131 int (*crmarshal)(struct rpc_task *task,
133 int (*crrefresh)(struct rpc_task *);
134 int (*crvalidate)(struct rpc_task *task,
136 int (*crwrap_req)(struct rpc_task *task,
138 int (*crunwrap_resp)(struct rpc_task *task,
142 bool (*crneed_reencode)(struct rpc_task *);
166 int rpcauth_marshcred(struct rpc_task *task,
168 int rpcauth_checkverf(struct rpc_task *task,
170 int rpcauth_wrap_req_encode(struct rpc_task *task,
172 int rpcauth_wrap_req(struct rpc_task *task,
[all …]
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()
Dclnt.h177 void rpc_task_release_transport(struct rpc_task *);
178 void rpc_task_release_client(struct rpc_task *);
189 void rpcb_getport_async(struct rpc_task *);
194 void rpc_call_start(struct rpc_task *);
201 struct rpc_task *rpc_call_null(struct rpc_clnt *clnt, struct rpc_cred *cred,
203 int rpc_restart_call_prepare(struct rpc_task *);
204 int rpc_restart_call(struct rpc_task *);
241 const char *rpc_proc_name(const struct rpc_task *task);
252 static inline int rpc_reply_expected(struct rpc_task *task) in rpc_reply_expected()
258 static inline void rpc_task_close_connection(struct rpc_task *task) in rpc_task_close_connection()
/linux-6.1.9/net/sunrpc/
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 …]
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 …]
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 …]
Dauth.c610 rpcauth_bind_root_cred(struct rpc_task *task, int lookupflags) in rpcauth_bind_root_cred()
626 rpcauth_bind_machine_cred(struct rpc_task *task, int lookupflags) in rpcauth_bind_machine_cred()
642 rpcauth_bind_new_cred(struct rpc_task *task, int lookupflags) in rpcauth_bind_new_cred()
650 rpcauth_bindcred(struct rpc_task *task, const struct cred *cred, int flags) in rpcauth_bindcred()
727 int rpcauth_marshcred(struct rpc_task *task, struct xdr_stream *xdr) in rpcauth_marshcred()
742 int rpcauth_wrap_req_encode(struct rpc_task *task, struct xdr_stream *xdr) in rpcauth_wrap_req_encode()
760 int rpcauth_wrap_req(struct rpc_task *task, struct xdr_stream *xdr) in rpcauth_wrap_req()
777 rpcauth_checkverf(struct rpc_task *task, struct xdr_stream *xdr) in rpcauth_checkverf()
792 rpcauth_unwrap_resp_decode(struct rpc_task *task, struct xdr_stream *xdr) in rpcauth_unwrap_resp_decode()
808 rpcauth_unwrap_resp(struct rpc_task *task, struct xdr_stream *xdr) in rpcauth_unwrap_resp()
[all …]
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()
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()
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()
/linux-6.1.9/fs/nfs/
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()
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()
336 struct rpc_task *
339 void (*complete)(struct rpc_task *, struct nfs_renamedata *)) in nfs_async_rename() argument
400 nfs_complete_sillyrename(struct rpc_task *task, struct nfs_renamedata *data) in nfs_complete_sillyrename()
447 struct rpc_task *task; in nfs_sillyrename()
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 …]
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()
Dnfs4_fs.h95 struct rpc_task *task;
288 extern int nfs4_async_handle_error(struct rpc_task *task,
341 extern int nfs41_sequence_done(struct rpc_task *, struct nfs4_sequence_res *);
522 extern int nfs_wait_on_sequence(struct nfs_seqid *seqid, struct rpc_task *task);
530 struct rpc_task *task);
531 extern int nfs4_sequence_done(struct rpc_task *task,
Dnfs4proc.c102 static struct rpc_task *_nfs41_proc_sequence(struct nfs_client *clp,
618 nfs4_async_handle_exception(struct rpc_task *task, struct nfs_server *server, in nfs4_async_handle_exception()
654 nfs4_async_handle_error(struct rpc_task *task, struct nfs_server *server, in nfs4_async_handle_error()
732 static int nfs40_sequence_done(struct rpc_task *task, in nfs40_sequence_done()
802 struct rpc_task *task = _nfs41_proc_sequence(client, cred, slot, true); in nfs4_probe_sequence()
807 static int nfs41_sequence_process(struct rpc_task *task, in nfs41_sequence_process()
944 int nfs41_sequence_done(struct rpc_task *task, struct nfs4_sequence_res *res) in nfs41_sequence_done()
955 static int nfs4_sequence_process(struct rpc_task *task, struct nfs4_sequence_res *res) in nfs4_sequence_process()
974 int nfs4_sequence_done(struct rpc_task *task, struct nfs4_sequence_res *res) in nfs4_sequence_done()
984 static void nfs41_call_sync_prepare(struct rpc_task *task, void *calldata) in nfs41_call_sync_prepare()
[all …]
/linux-6.1.9/fs/nfs/flexfilelayout/
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()
1013 struct rpc_task *task = &hdr->task; in ff_layout_reset_write()
1061 struct rpc_task *task = &hdr->task; in ff_layout_reset_read()
1083 static int ff_layout_async_handle_error_v4(struct rpc_task *task, in ff_layout_async_handle_error_v4()
1161 static int ff_layout_async_handle_error_v3(struct rpc_task *task, in ff_layout_async_handle_error_v3()
1194 static int ff_layout_async_handle_error(struct rpc_task *task, in ff_layout_async_handle_error()
1286 static int ff_layout_read_done_cb(struct rpc_task *task, in ff_layout_read_done_cb()
1351 static void ff_layout_read_record_layoutstats_start(struct rpc_task *task, in ff_layout_read_record_layoutstats_start()
[all …]
/linux-6.1.9/include/linux/lockd/
Dbind.h22 struct rpc_task;
73 bool (*nlmclnt_unlock_prepare)(struct rpc_task*, void *);
/linux-6.1.9/include/linux/
Dnfs_xdr.h316 struct rpc_task task;
1631 struct rpc_task task;
1636 int (*pgio_done_cb)(struct rpc_task *, struct nfs_pgio_header *);
1667 struct rpc_task task;
1684 int (*commit_done_cb) (struct rpc_task *task, struct nfs_commit_data *data);
1708 struct rpc_task task;
1716 void (*complete)(struct rpc_task *, struct nfs_renamedata *);
1760 void (*unlink_rpc_prepare) (struct rpc_task *, struct nfs_unlinkdata *);
1761 int (*unlink_done) (struct rpc_task *, struct inode *);
1765 void (*rename_rpc_prepare)(struct rpc_task *task, struct nfs_renamedata *);
[all …]
Dnfs_page.h76 int (*rw_done)(struct rpc_task *, struct nfs_pgio_header *,
78 void (*rw_result)(struct rpc_task *, struct nfs_pgio_header *);
154 extern bool nfs_async_iocounter_wait(struct rpc_task *, struct nfs_lock_context *);
/linux-6.1.9/fs/nfs/filelayout/
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 …]
/linux-6.1.9/include/trace/events/
Dsunrpc.h54 const struct rpc_task *task,
99 const struct rpc_task *task, \
244 TP_PROTO(const struct rpc_task *task),
267 const struct rpc_task *task \
278 TP_PROTO(const struct rpc_task *task),
336 TP_PROTO(const struct rpc_task *task, const void *action),
371 const struct rpc_task *task, \
388 TP_PROTO(const struct rpc_task *task, const struct rpc_wait_queue *q),
426 const struct rpc_task *task, \
436 TP_PROTO(const struct rpc_task *task),
[all …]
Drpcgss.h85 const struct rpc_task *task,
113 const struct rpc_task *task, \
322 const struct rpc_task *task
343 const struct rpc_task *task,
372 const struct rpc_task *task
400 const struct rpc_task *task,
434 const struct rpc_task *task,
/linux-6.1.9/net/sunrpc/auth_gss/
Dauth_gss.c375 gss_upcall_callback(struct rpc_task *task) in gss_upcall_callback()
578 gss_refresh_upcall(struct rpc_task *task) in gss_refresh_upcall()
1272 struct rpc_task *task; in gss_send_destroy_context()
1518 static int gss_marshal(struct rpc_task *task, struct xdr_stream *xdr) in gss_marshal()
1592 static int gss_renew_cred(struct rpc_task *task) in gss_renew_cred()
1635 gss_refresh(struct rpc_task *task) in gss_refresh()
1659 gss_refresh_null(struct rpc_task *task) in gss_refresh_null()
1665 gss_validate(struct rpc_task *task, struct xdr_stream *xdr) in gss_validate()
1724 struct rpc_task *task, struct xdr_stream *xdr) in gss_wrap_req_integ()
1817 struct rpc_task *task, struct xdr_stream *xdr) in gss_wrap_req_priv()
[all …]

123