Home
last modified time | relevance | path

Searched refs:rpc_xprt (Results 1 – 25 of 35) sorted by relevance

12

/linux-6.3-rc2/include/linux/sunrpc/
A Dxprt.h55 struct rpc_xprt;
137 void (*free_slot)(struct rpc_xprt *xprt,
153 void (*close)(struct rpc_xprt *xprt);
154 void (*destroy)(struct rpc_xprt *xprt);
162 int (*bc_setup)(struct rpc_xprt *xprt,
191 struct rpc_xprt { struct
374 struct rpc_xprt * xprt_get(struct rpc_xprt *xprt);
375 void xprt_put(struct rpc_xprt *xprt);
379 void xprt_free(struct rpc_xprt *);
385 xprt_enable_swap(struct rpc_xprt *xprt) in xprt_enable_swap()
[all …]
A Dbc_xprt.h21 struct rpc_rqst *xprt_lookup_bc_request(struct rpc_xprt *xprt, __be32 xid);
25 int xprt_setup_backchannel(struct rpc_xprt *, unsigned int min_reqs);
26 void xprt_destroy_backchannel(struct rpc_xprt *, unsigned int max_reqs);
29 int xprt_setup_bc(struct rpc_xprt *xprt, unsigned int min_reqs);
30 void xprt_destroy_bc(struct rpc_xprt *xprt, unsigned int max_reqs);
32 unsigned int xprt_bc_max_slots(struct rpc_xprt *xprt);
47 static inline int xprt_setup_backchannel(struct rpc_xprt *xprt, in xprt_setup_backchannel()
53 static inline void xprt_destroy_backchannel(struct rpc_xprt *xprt, in xprt_destroy_backchannel()
A Dxprtmultipath.h35 struct rpc_xprt * xpi_cursor;
43 struct rpc_xprt *(*xpi_xprt)(struct rpc_xprt_iter *);
44 struct rpc_xprt *(*xpi_next)(struct rpc_xprt_iter *);
47 extern struct rpc_xprt_switch *xprt_switch_alloc(struct rpc_xprt *xprt,
56 struct rpc_xprt *xprt);
58 struct rpc_xprt *xprt, bool offline);
77 extern struct rpc_xprt *xprt_iter_xprt(struct rpc_xprt_iter *xpi);
78 extern struct rpc_xprt *xprt_iter_get_xprt(struct rpc_xprt_iter *xpi);
79 extern struct rpc_xprt *xprt_iter_get_next(struct rpc_xprt_iter *xpi);
A Dclnt.h45 struct rpc_xprt __rcu * cl_xprt; /* transport */
146 struct rpc_xprt *xprt,
179 struct rpc_xprt *rpc_task_get_xprt(struct rpc_clnt *clnt,
180 struct rpc_xprt *xprt);
216 int (*fn)(struct rpc_clnt *, struct rpc_xprt *, void *),
221 struct rpc_xprt *xprt,
226 struct rpc_xprt *,
235 struct rpc_xprt *,
244 void rpc_clnt_xprt_switch_add_xprt(struct rpc_clnt *, struct rpc_xprt *);
245 void rpc_clnt_xprt_switch_remove_xprt(struct rpc_clnt *, struct rpc_xprt *);
[all …]
A Ddebug.h81 struct rpc_xprt;
90 void rpc_xprt_debugfs_register(struct rpc_xprt *);
91 void rpc_xprt_debugfs_unregister(struct rpc_xprt *);
118 rpc_xprt_debugfs_register(struct rpc_xprt *xprt) in rpc_xprt_debugfs_register()
124 rpc_xprt_debugfs_unregister(struct rpc_xprt *xprt) in rpc_xprt_debugfs_unregister()
A Dsched.h72 struct rpc_xprt * tk_xprt; /* Transport */
109 struct rpc_xprt *rpc_xprt; member
A Dxprtsock.h20 struct rpc_xprt xprt;
A Dsvc_xprt.h93 struct rpc_xprt *xpt_bc_xprt; /* NFSv4.1 backchannel */
/linux-6.3-rc2/net/sunrpc/
A Dxprtmultipath.c33 struct rpc_xprt *xprt) in xprt_switch_add_xprt_locked()
53 struct rpc_xprt *xprt) in rpc_xprt_switch_add_xprt()
155 struct rpc_xprt *xprt; in xprt_switch_free_entries()
244 struct rpc_xprt *pos; in xprt_switch_find_first_entry()
256 struct rpc_xprt *pos; in xprt_switch_find_first_entry_offline()
280 struct rpc_xprt *pos; in _xprt_switch_find_current_entry()
343 struct rpc_xprt *pos; in rpc_xprt_switch_has_addr()
409 struct rpc_xprt *ret; in __xprt_switch_find_next_entry_roundrobin()
422 struct rpc_xprt *xprt; in xprt_switch_find_next_entry_roundrobin()
581 struct rpc_xprt *ret; in xprt_iter_get_helper()
[all …]
A Dxprt.c378 struct rpc_xprt *xprt = data; in __xprt_lock_write_func()
681 struct rpc_xprt *xprt = req->rq_xprt; in xprt_init_majortimeo()
699 struct rpc_xprt *xprt = req->rq_xprt; in xprt_adjust_timeout()
734 struct rpc_xprt *xprt = in xprt_autoclose()
1808 struct rpc_xprt *xprt; in xprt_alloc()
1866 xprt_init_xid(struct rpc_xprt *xprt) in xprt_init_xid()
1951 struct rpc_xprt *xprt; in xprt_release()
2040 struct rpc_xprt *xprt; in xprt_create_transport()
2081 struct rpc_xprt *xprt = in xprt_destroy_cb()
2142 struct rpc_xprt *xprt_get(struct rpc_xprt *xprt) in xprt_get()
[all …]
A Dsysfs.c62 static inline struct rpc_xprt *
498 struct rpc_xprt *xprt, in rpc_sysfs_xprt_alloc()
546 struct rpc_xprt *xprt, in rpc_sysfs_xprt_switch_setup()
570 struct rpc_xprt *xprt, in rpc_sysfs_xprt_setup()
573 struct rpc_sysfs_xprt *rpc_xprt; in rpc_sysfs_xprt_setup() local
581 if (rpc_xprt) { in rpc_sysfs_xprt_setup()
582 xprt->xprt_sysfs = rpc_xprt; in rpc_sysfs_xprt_setup()
583 rpc_xprt->xprt = xprt; in rpc_sysfs_xprt_setup()
620 if (rpc_xprt) { in rpc_sysfs_xprt_destroy()
622 kobject_del(&rpc_xprt->kobject); in rpc_sysfs_xprt_destroy()
[all …]
A Dsysfs.h19 struct rpc_xprt *xprt;
24 struct rpc_xprt *xprt;
36 struct rpc_xprt *xprt, gfp_t gfp_flags);
39 struct rpc_xprt *xprt, gfp_t gfp_flags);
40 void rpc_sysfs_xprt_destroy(struct rpc_xprt *xprt);
A Dbackchannel_rqst.c22 unsigned int xprt_bc_max_slots(struct rpc_xprt *xprt) in xprt_bc_max_slots()
31 static inline int xprt_need_to_requeue(struct rpc_xprt *xprt) in xprt_need_to_requeue()
75 static struct rpc_rqst *xprt_alloc_bc_req(struct rpc_xprt *xprt) in xprt_alloc_bc_req()
124 int xprt_setup_backchannel(struct rpc_xprt *xprt, unsigned int min_reqs) in xprt_setup_backchannel()
132 int xprt_setup_bc(struct rpc_xprt *xprt, unsigned int min_reqs) in xprt_setup_bc()
203 void xprt_destroy_backchannel(struct rpc_xprt *xprt, unsigned int max_reqs) in xprt_destroy_backchannel()
210 void xprt_destroy_bc(struct rpc_xprt *xprt, unsigned int max_reqs) in xprt_destroy_bc()
270 struct rpc_xprt *xprt = req->rq_xprt; in xprt_free_bc_request()
277 struct rpc_xprt *xprt = req->rq_xprt; in xprt_free_bc_rqst()
325 struct rpc_rqst *xprt_lookup_bc_request(struct rpc_xprt *xprt, __be32 xid) in xprt_lookup_bc_request()
[all …]
A Dxprtsock.c1162 struct rpc_xprt *xprt; in xs_error_report()
1380 struct rpc_xprt *xprt; in xs_data_ready()
1425 struct rpc_xprt *xprt; in xs_local_state_change()
1445 struct rpc_xprt *xprt; in xs_tcp_state_change()
1515 struct rpc_xprt *xprt; in xs_write_space()
2792 struct rpc_xprt *xprt; in xs_setup_xprt()
2843 struct rpc_xprt *xprt; in xs_setup_local()
2844 struct rpc_xprt *ret; in xs_setup_local()
2911 struct rpc_xprt *ret; in xs_setup_udp()
2988 struct rpc_xprt *ret; in xs_setup_tcp()
[all …]
A Dclnt.c266 struct rpc_xprt *xprt, in rpc_clnt_set_transport()
269 struct rpc_xprt *old; in rpc_clnt_set_transport()
362 struct rpc_xprt *xprt, in rpc_new_client()
526 struct rpc_xprt *xprt; in rpc_create()
625 struct rpc_xprt *xprt; in __rpc_clone_client()
1061 struct rpc_xprt *
1124 struct rpc_xprt *xprt; in rpc_task_get_first_xprt()
1363 struct rpc_xprt *xprt; in rpc_peeraddr()
1390 struct rpc_xprt *xprt; in rpc_peeraddr2str()
2809 .rpc_xprt = xprt, in rpc_call_null_helper()
[all …]
A Ddebugfs.c120 static int do_xprt_debugfs(struct rpc_clnt *clnt, struct rpc_xprt *xprt, void *numv) in do_xprt_debugfs()
176 struct rpc_xprt *xprt = f->private; in xprt_info_show()
189 struct rpc_xprt *xprt = inode->i_private; in xprt_info_open()
205 struct rpc_xprt *xprt = inode->i_private; in xprt_info_release()
220 rpc_xprt_debugfs_register(struct rpc_xprt *xprt) in rpc_xprt_debugfs_register()
241 rpc_xprt_debugfs_unregister(struct rpc_xprt *xprt) in rpc_xprt_debugfs_unregister()
A Drpcb_clnt.c117 struct rpc_xprt * r_xprt;
147 static void rpcb_wake_rpcbind_waiters(struct rpc_xprt *xprt, int status) in rpcb_wake_rpcbind_waiters()
651 struct rpc_xprt *xprt; in rpcb_getport_async()
771 struct rpc_xprt *xprt = map->r_xprt; in rpcb_getport_done()
/linux-6.3-rc2/net/sunrpc/xprtrdma/
A Dtransport.c210 xprt_rdma_free_addresses(struct rpc_xprt *xprt) in xprt_rdma_free_addresses()
237 struct rpc_xprt *xprt = &r_xprt->rx_xprt; in xprt_rdma_connect_worker()
269 xprt_rdma_inject_disconnect(struct rpc_xprt *xprt) in xprt_rdma_inject_disconnect()
285 xprt_rdma_destroy(struct rpc_xprt *xprt) in xprt_rdma_destroy()
311 static struct rpc_xprt *
314 struct rpc_xprt *xprt; in xprt_setup_rdma()
384 void xprt_rdma_close(struct rpc_xprt *xprt) in xprt_rdma_close()
403 xprt_rdma_set_port(struct rpc_xprt *xprt, u16 port) in xprt_rdma_set_port()
633 struct rpc_xprt *xprt = rqst->rq_xprt; in xprt_rdma_send_request()
720 xprt_rdma_enable_swap(struct rpc_xprt *xprt) in xprt_rdma_enable_swap()
[all …]
A Dbackchannel.c25 int xprt_rdma_bc_setup(struct rpc_xprt *xprt, unsigned int reqs) in xprt_rdma_bc_setup()
40 size_t xprt_rdma_bc_maxpayload(struct rpc_xprt *xprt) in xprt_rdma_bc_maxpayload()
51 unsigned int xprt_rdma_bc_max_slots(struct rpc_xprt *xprt) in xprt_rdma_bc_max_slots()
99 struct rpc_xprt *xprt = rqst->rq_xprt; in xprt_rdma_bc_send_reply()
131 void xprt_rdma_bc_destroy(struct rpc_xprt *xprt, unsigned int reqs) in xprt_rdma_bc_destroy()
155 struct rpc_xprt *xprt = rqst->rq_xprt; in xprt_rdma_bc_free_rqst()
169 struct rpc_xprt *xprt = &r_xprt->rx_xprt; in rpcrdma_bc_rqst_get()
222 struct rpc_xprt *xprt = &r_xprt->rx_xprt; in rpcrdma_bc_receive_call()
A Dxprt_rdma.h91 struct rpc_xprt *re_xprt;
429 struct rpc_xprt rx_xprt;
583 void xprt_rdma_format_addresses(struct rpc_xprt *xprt, struct sockaddr *sap);
584 void xprt_rdma_free_addresses(struct rpc_xprt *xprt);
585 void xprt_rdma_close(struct rpc_xprt *xprt);
586 void xprt_rdma_print_stats(struct rpc_xprt *xprt, struct seq_file *seq);
593 int xprt_rdma_bc_setup(struct rpc_xprt *, unsigned int);
594 size_t xprt_rdma_bc_maxpayload(struct rpc_xprt *);
595 unsigned int xprt_rdma_bc_max_slots(struct rpc_xprt *);
600 void xprt_rdma_bc_destroy(struct rpc_xprt *, unsigned int);
A Dsvc_rdma_backchannel.c23 struct rpc_xprt *xprt = sxprt->xpt_bc_xprt; in svc_rdma_handle_bc_reply()
147 struct rpc_xprt *xprt = rqst->rq_xprt; in rpcrdma_bc_send_request()
206 xprt_rdma_bc_close(struct rpc_xprt *xprt) in xprt_rdma_bc_close()
213 xprt_rdma_bc_put(struct rpc_xprt *xprt) in xprt_rdma_bc_put()
243 static struct rpc_xprt *
246 struct rpc_xprt *xprt; in xprt_setup_rdma_bc()
A Drpc_rdma.c987 static void __rpcrdma_update_cwnd_locked(struct rpc_xprt *xprt, in __rpcrdma_update_cwnd_locked()
997 struct rpc_xprt *xprt = &r_xprt->rx_xprt; in rpcrdma_update_cwnd()
1013 struct rpc_xprt *xprt = &r_xprt->rx_xprt; in rpcrdma_reset_cwnd()
1124 struct rpc_xprt *xprt = &r_xprt->rx_xprt; in rpcrdma_is_bcall()
1354 struct rpc_xprt *xprt = &rep->rr_rxprt->rx_xprt; in rpcrdma_unpin_rqst()
1377 struct rpc_xprt *xprt = &r_xprt->rx_xprt; in rpcrdma_complete_rqst()
1430 struct rpc_xprt *xprt = &r_xprt->rx_xprt; in rpcrdma_reply_handler()
/linux-6.3-rc2/fs/nfs/
A Dcallback.c143 static inline void nfs_callback_bc_serv(u32 minorversion, struct rpc_xprt *xprt, in nfs_callback_bc_serv()
154 static inline void nfs_callback_bc_serv(u32 minorversion, struct rpc_xprt *xprt, in nfs_callback_bc_serv()
160 static int nfs_callback_start_svc(int minorversion, struct rpc_xprt *xprt, in nfs_callback_start_svc()
195 struct net *net, struct rpc_xprt *xprt) in nfs_callback_up_net()
280 int nfs_callback_up(u32 minorversion, struct rpc_xprt *xprt) in nfs_callback_up()
A Dcallback.h207 extern int nfs_callback_up(u32 minorversion, struct rpc_xprt *xprt);
/linux-6.3-rc2/include/trace/events/
A Dsunrpc.h145 const struct rpc_xprt *xprt,
811 struct rpc_xprt *xprt,
856 struct rpc_xprt *xprt, \
864 struct rpc_xprt *xprt,
912 struct rpc_xprt *xprt, \
972 const struct rpc_xprt *xprt
998 const struct rpc_xprt *xprt \
1011 const struct rpc_xprt *xprt,
1039 const struct rpc_xprt *xprt, \
1180 const struct rpc_xprt *xprt, \
[all …]

Completed in 54 milliseconds

12