Home
last modified time | relevance | path

Searched defs:xprt (Results 1 – 25 of 33) sorted by relevance

12

/kernel/linux/linux-5.10/net/sunrpc/
Dxprt.c216 static void xprt_clear_locked(struct rpc_xprt *xprt) in xprt_clear_locked()
236 int xprt_reserve_xprt(struct rpc_xprt *xprt, struct rpc_task *task) in xprt_reserve_xprt()
267 xprt_need_congestion_window_wait(struct rpc_xprt *xprt) in xprt_need_congestion_window_wait()
273 xprt_set_congestion_window_wait(struct rpc_xprt *xprt) in xprt_set_congestion_window_wait()
285 xprt_test_and_clear_congestion_window_wait(struct rpc_xprt *xprt) in xprt_test_and_clear_congestion_window_wait()
300 int xprt_reserve_xprt_cong(struct rpc_xprt *xprt, struct rpc_task *task) in xprt_reserve_xprt_cong()
335 static inline int xprt_lock_write(struct rpc_xprt *xprt, struct rpc_task *task) in xprt_lock_write()
349 struct rpc_xprt *xprt = data; in __xprt_lock_write_func() local
355 static void __xprt_lock_write_next(struct rpc_xprt *xprt) in __xprt_lock_write_next()
368 static void __xprt_lock_write_next_cong(struct rpc_xprt *xprt) in __xprt_lock_write_next_cong()
[all …]
Dbackchannel_rqst.c36 unsigned int xprt_bc_max_slots(struct rpc_xprt *xprt) in xprt_bc_max_slots()
45 static inline int xprt_need_to_requeue(struct rpc_xprt *xprt) in xprt_need_to_requeue()
90 struct rpc_rqst *xprt_alloc_bc_req(struct rpc_xprt *xprt, gfp_t gfp_flags) in xprt_alloc_bc_req()
138 int xprt_setup_backchannel(struct rpc_xprt *xprt, unsigned int min_reqs) in xprt_setup_backchannel()
146 int xprt_setup_bc(struct rpc_xprt *xprt, unsigned int min_reqs) in xprt_setup_bc()
217 void xprt_destroy_backchannel(struct rpc_xprt *xprt, unsigned int max_reqs) in xprt_destroy_backchannel()
224 void xprt_destroy_bc(struct rpc_xprt *xprt, unsigned int max_reqs) in xprt_destroy_bc()
251 static struct rpc_rqst *xprt_get_bc_request(struct rpc_xprt *xprt, __be32 xid, in xprt_get_bc_request()
284 struct rpc_xprt *xprt = req->rq_xprt; in xprt_free_bc_request() local
291 struct rpc_xprt *xprt = req->rq_xprt; in xprt_free_bc_rqst() local
[all …]
Dsvc_xprt.c144 struct svc_xprt *xprt = in svc_xprt_free() local
161 void svc_xprt_put(struct svc_xprt *xprt) in svc_xprt_put()
172 struct svc_xprt *xprt, struct svc_serv *serv) in svc_xprt_init()
210 struct svc_xprt *xprt; in __svc_xpo_create() local
244 static void svc_xprt_received(struct svc_xprt *xprt) in svc_xprt_received()
325 void svc_xprt_copy_addrs(struct svc_rqst *rqstp, struct svc_xprt *xprt) in svc_xprt_copy_addrs()
352 static bool svc_xprt_slots_in_range(struct svc_xprt *xprt) in svc_xprt_slots_in_range()
360 static bool svc_xprt_reserve_slot(struct svc_rqst *rqstp, struct svc_xprt *xprt) in svc_xprt_reserve_slot()
373 struct svc_xprt *xprt = rqstp->rq_xprt; in svc_xprt_release_slot() local
381 static bool svc_xprt_ready(struct svc_xprt *xprt) in svc_xprt_ready()
[all …]
Dxprtsock.c227 static inline struct sockaddr *xs_addr(struct rpc_xprt *xprt) in xs_addr()
232 static inline struct sockaddr_un *xs_addr_un(struct rpc_xprt *xprt) in xs_addr_un()
237 static inline struct sockaddr_in *xs_addr_in(struct rpc_xprt *xprt) in xs_addr_in()
242 static inline struct sockaddr_in6 *xs_addr_in6(struct rpc_xprt *xprt) in xs_addr_in6()
247 static void xs_format_common_peer_addresses(struct rpc_xprt *xprt) in xs_format_common_peer_addresses()
283 static void xs_format_common_peer_ports(struct rpc_xprt *xprt) in xs_format_common_peer_ports()
295 static void xs_format_peer_addresses(struct rpc_xprt *xprt, in xs_format_peer_addresses()
305 static void xs_update_peer_port(struct rpc_xprt *xprt) in xs_update_peer_port()
313 static void xs_free_peer_addresses(struct rpc_xprt *xprt) in xs_free_peer_addresses()
557 struct rpc_xprt *xprt = &transport->xprt; in xs_read_stream_call() local
[all …]
Dxprtmultipath.c30 struct rpc_xprt *xprt) in xprt_switch_add_xprt_locked()
50 struct rpc_xprt *xprt) in rpc_xprt_switch_add_xprt()
61 struct rpc_xprt *xprt) in xprt_switch_remove_xprt_locked()
81 struct rpc_xprt *xprt) in rpc_xprt_switch_remove_xprt()
97 struct rpc_xprt_switch *xprt_switch_alloc(struct rpc_xprt *xprt, in xprt_switch_alloc()
121 struct rpc_xprt *xprt; in xprt_switch_free_entries() local
199 bool xprt_is_active(const struct rpc_xprt *xprt) in xprt_is_active()
334 struct rpc_xprt *xprt; in xprt_switch_find_next_entry_roundrobin() local
494 struct rpc_xprt *xprt; in xprt_iter_get_xprt() local
511 struct rpc_xprt *xprt; in xprt_iter_get_next() local
Dclnt.c264 struct rpc_xprt *xprt, in rpc_clnt_set_transport()
359 struct rpc_xprt *xprt, in rpc_new_client()
452 struct rpc_xprt *xprt) in rpc_create_xprt()
515 struct rpc_xprt *xprt; in rpc_create() local
614 struct rpc_xprt *xprt; in __rpc_clone_client() local
714 struct rpc_xprt *xprt, *old; in rpc_switch_client_transport() local
812 struct rpc_xprt *xprt = xprt_iter_get_next(&xpi); in rpc_clnt_iterate_for_each_xprt() local
985 rpc_task_get_xprt(struct rpc_clnt *clnt, struct rpc_xprt *xprt) in rpc_task_get_xprt()
1001 rpc_task_release_xprt(struct rpc_clnt *clnt, struct rpc_xprt *xprt) in rpc_task_release_xprt()
1016 struct rpc_xprt *xprt = task->tk_xprt; in rpc_task_release_transport() local
[all …]
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() local
189 struct rpc_xprt *xprt = inode->i_private; in xprt_info_open() local
205 struct rpc_xprt *xprt = inode->i_private; in xprt_info_release() local
220 rpc_xprt_debugfs_register(struct rpc_xprt *xprt) in rpc_xprt_debugfs_register()
243 rpc_xprt_debugfs_unregister(struct rpc_xprt *xprt) in rpc_xprt_debugfs_unregister()
Dsvcsock.c350 static int svc_tcp_has_wspace(struct svc_xprt *xprt) in svc_tcp_has_wspace()
359 static void svc_tcp_kill_temp_xprt(struct svc_xprt *xprt) in svc_tcp_kill_temp_xprt()
553 struct svc_xprt *xprt = rqstp->rq_xprt; in svc_udp_sendto() local
598 static int svc_udp_has_wspace(struct svc_xprt *xprt) in svc_udp_has_wspace()
616 static struct svc_xprt *svc_udp_accept(struct svc_xprt *xprt) in svc_udp_accept()
622 static void svc_udp_kill_temp_xprt(struct svc_xprt *xprt) in svc_udp_kill_temp_xprt()
741 static struct svc_xprt *svc_tcp_accept(struct svc_xprt *xprt) in svc_tcp_accept()
1163 struct svc_xprt *xprt = rqstp->rq_xprt; in svc_tcp_sendto() local
1498 static void svc_sock_detach(struct svc_xprt *xprt) in svc_sock_detach()
1515 static void svc_tcp_sock_detach(struct svc_xprt *xprt) in svc_tcp_sock_detach()
[all …]
Dsvcauth_unix.c345 ip_map_cached_get(struct svc_xprt *xprt) in ip_map_cached_get()
374 ip_map_cached_put(struct svc_xprt *xprt, struct ip_map *ipm) in ip_map_cached_put()
674 struct svc_xprt *xprt = rqstp->rq_xprt; in svcauth_unix_set_client() local
Drpcb_clnt.c147 static void rpcb_wake_rpcbind_waiters(struct rpc_xprt *xprt, int status) in rpcb_wake_rpcbind_waiters()
649 struct rpc_xprt *xprt; in rpcb_getport_async() local
768 struct rpc_xprt *xprt = map->r_xprt; in rpcb_getport_done() local
Dstats.c242 static int do_print_stats(struct rpc_clnt *clnt, struct rpc_xprt *xprt, void *seqv) in do_print_stats()
/kernel/linux/linux-5.10/net/sunrpc/xprtrdma/
Dtransport.c160 xprt_rdma_format_addresses4(struct rpc_xprt *xprt, struct sockaddr *sap) in xprt_rdma_format_addresses4()
172 xprt_rdma_format_addresses6(struct rpc_xprt *xprt, struct sockaddr *sap) in xprt_rdma_format_addresses6()
184 xprt_rdma_format_addresses(struct rpc_xprt *xprt, struct sockaddr *sap) in xprt_rdma_format_addresses()
213 xprt_rdma_free_addresses(struct rpc_xprt *xprt) in xprt_rdma_free_addresses()
240 struct rpc_xprt *xprt = &r_xprt->rx_xprt; in xprt_rdma_connect_worker() local
268 xprt_rdma_inject_disconnect(struct rpc_xprt *xprt) in xprt_rdma_inject_disconnect()
284 xprt_rdma_destroy(struct rpc_xprt *xprt) in xprt_rdma_destroy()
313 struct rpc_xprt *xprt; in xprt_setup_rdma() local
382 void xprt_rdma_close(struct rpc_xprt *xprt) in xprt_rdma_close()
401 xprt_rdma_set_port(struct rpc_xprt *xprt, u16 port) in xprt_rdma_set_port()
[all …]
Dbackchannel.c29 int xprt_rdma_bc_setup(struct rpc_xprt *xprt, unsigned int reqs) in xprt_rdma_bc_setup()
44 size_t xprt_rdma_bc_maxpayload(struct rpc_xprt *xprt) in xprt_rdma_bc_maxpayload()
55 unsigned int xprt_rdma_bc_max_slots(struct rpc_xprt *xprt) in xprt_rdma_bc_max_slots()
103 struct rpc_xprt *xprt = rqst->rq_xprt; in xprt_rdma_bc_send_reply() local
135 void xprt_rdma_bc_destroy(struct rpc_xprt *xprt, unsigned int reqs) in xprt_rdma_bc_destroy()
158 struct rpc_xprt *xprt = rqst->rq_xprt; in xprt_rdma_bc_free_rqst() local
171 struct rpc_xprt *xprt = &r_xprt->rx_xprt; in rpcrdma_bc_rqst_get() local
224 struct rpc_xprt *xprt = &r_xprt->rx_xprt; in rpcrdma_bc_receive_call() local
Dsvc_rdma_transport.c104 struct svc_xprt *xprt = context; in qp_event_handler() local
277 struct svc_xprt *xprt = &rdma->sc_xprt; in svc_rdma_cma_handler() local
366 static struct svc_xprt *svc_rdma_accept(struct svc_xprt *xprt) in svc_rdma_accept()
533 static void svc_rdma_detach(struct svc_xprt *xprt) in svc_rdma_detach()
545 struct svc_xprt *xprt = &rdma->sc_xprt; in __svc_rdma_free() local
582 static void svc_rdma_free(struct svc_xprt *xprt) in svc_rdma_free()
591 static int svc_rdma_has_wspace(struct svc_xprt *xprt) in svc_rdma_has_wspace()
612 static void svc_rdma_kill_temp_xprt(struct svc_xprt *xprt) in svc_rdma_kill_temp_xprt()
Dsvc_rdma_backchannel.c23 struct rpc_xprt *xprt = sxprt->xpt_bc_xprt; in svc_rdma_handle_bc_reply() local
135 struct rpc_xprt *xprt = rqst->rq_xprt; in rpcrdma_bc_send_request() local
194 xprt_rdma_bc_close(struct rpc_xprt *xprt) in xprt_rdma_bc_close()
201 xprt_rdma_bc_put(struct rpc_xprt *xprt) in xprt_rdma_bc_put()
234 struct rpc_xprt *xprt; in xprt_setup_rdma_bc() local
Drpc_rdma.c1003 static void __rpcrdma_update_cwnd_locked(struct rpc_xprt *xprt, in __rpcrdma_update_cwnd_locked()
1013 struct rpc_xprt *xprt = &r_xprt->rx_xprt; in rpcrdma_update_cwnd() local
1029 struct rpc_xprt *xprt = &r_xprt->rx_xprt; in rpcrdma_reset_cwnd() local
1140 struct rpc_xprt *xprt = &r_xprt->rx_xprt; in rpcrdma_is_bcall() local
1378 struct rpc_xprt *xprt = &r_xprt->rx_xprt; in rpcrdma_complete_rqst() local
1431 struct rpc_xprt *xprt = &r_xprt->rx_xprt; in rpcrdma_reply_handler() local
Dsvc_rdma_recvfrom.c246 struct svc_xprt *xprt = rqstp->rq_xprt; in svc_rdma_release_rqst() local
738 static bool svc_rdma_is_backchannel_reply(struct svc_xprt *xprt, in svc_rdma_is_backchannel_reply()
799 struct svc_xprt *xprt = rqstp->rq_xprt; in svc_rdma_recvfrom() local
Dverbs.c315 struct rpc_xprt *xprt = &r_xprt->rx_xprt; in rpcrdma_create_id() local
525 struct rpc_xprt *xprt = &r_xprt->rx_xprt; in rpcrdma_xprt_connect() local
/kernel/linux/linux-5.10/include/linux/sunrpc/
Dxprt.h30 #define RPC_MAXCWND(xprt) ((xprt)->max_reqs << RPC_CWNDSHIFT) argument
31 #define RPCXPRT_CONGESTED(xprt) ((xprt)->cong >= (xprt)->cwnd) argument
374 xprt_enable_swap(struct rpc_xprt *xprt) in xprt_enable_swap()
380 xprt_disable_swap(struct rpc_xprt *xprt) in xprt_disable_swap()
426 static inline void xprt_set_connected(struct rpc_xprt *xprt) in xprt_set_connected()
431 static inline void xprt_clear_connected(struct rpc_xprt *xprt) in xprt_clear_connected()
436 static inline int xprt_connected(struct rpc_xprt *xprt) in xprt_connected()
441 static inline int xprt_test_and_set_connected(struct rpc_xprt *xprt) in xprt_test_and_set_connected()
446 static inline int xprt_test_and_clear_connected(struct rpc_xprt *xprt) in xprt_test_and_clear_connected()
451 static inline void xprt_clear_connecting(struct rpc_xprt *xprt) in xprt_clear_connecting()
[all …]
Dbc_xprt.h61 static inline int xprt_setup_backchannel(struct rpc_xprt *xprt, in xprt_setup_backchannel()
67 static inline void xprt_destroy_backchannel(struct rpc_xprt *xprt, in xprt_destroy_backchannel()
Dsvc_xprt.h120 static inline bool svc_xprt_is_dead(const struct svc_xprt *xprt) in svc_xprt_is_dead()
147 static inline void svc_xprt_get(struct svc_xprt *xprt) in svc_xprt_get()
151 static inline void svc_xprt_set_local(struct svc_xprt *xprt, in svc_xprt_set_local()
158 static inline void svc_xprt_set_remote(struct svc_xprt *xprt, in svc_xprt_set_remote()
194 static inline unsigned short svc_xprt_local_port(const struct svc_xprt *xprt) in svc_xprt_local_port()
199 static inline unsigned short svc_xprt_remote_port(const struct svc_xprt *xprt) in svc_xprt_remote_port()
Ddebug.h118 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()
Dxprtsock.h21 struct rpc_xprt xprt; member
/kernel/linux/linux-5.10/fs/nfs/
Dcallback.c144 static inline void nfs_callback_bc_serv(u32 minorversion, struct rpc_xprt *xprt, in nfs_callback_bc_serv()
155 static inline void nfs_callback_bc_serv(u32 minorversion, struct rpc_xprt *xprt, in nfs_callback_bc_serv()
161 static int nfs_callback_start_svc(int minorversion, struct rpc_xprt *xprt, in nfs_callback_start_svc()
196 struct net *net, struct rpc_xprt *xprt) in nfs_callback_up_net()
314 int nfs_callback_up(u32 minorversion, struct rpc_xprt *xprt) in nfs_callback_up()
Dnfs4client.c309 struct rpc_xprt *xprt; in nfs4_init_callback() local
674 struct rpc_xprt *xprt) in nfs4_detect_session_trunking()

12