Home
last modified time | relevance | path

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

12

/linux-6.1.9/net/sunrpc/
Dxprt.c247 static void xprt_clear_locked(struct rpc_xprt *xprt) in xprt_clear_locked()
265 int xprt_reserve_xprt(struct rpc_xprt *xprt, struct rpc_task *task) in xprt_reserve_xprt()
296 xprt_need_congestion_window_wait(struct rpc_xprt *xprt) in xprt_need_congestion_window_wait()
302 xprt_set_congestion_window_wait(struct rpc_xprt *xprt) in xprt_set_congestion_window_wait()
314 xprt_test_and_clear_congestion_window_wait(struct rpc_xprt *xprt) in xprt_test_and_clear_congestion_window_wait()
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()
378 struct rpc_xprt *xprt = data; in __xprt_lock_write_func() local
384 static void __xprt_lock_write_next(struct rpc_xprt *xprt) in __xprt_lock_write_next()
397 static void __xprt_lock_write_next_cong(struct rpc_xprt *xprt) in __xprt_lock_write_next_cong()
[all …]
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()
237 static struct rpc_rqst *xprt_get_bc_request(struct rpc_xprt *xprt, __be32 xid, in xprt_get_bc_request()
270 struct rpc_xprt *xprt = req->rq_xprt; in xprt_free_bc_request() local
277 struct rpc_xprt *xprt = req->rq_xprt; in xprt_free_bc_rqst() local
[all …]
Dsvc_xprt.c150 void svc_xprt_deferred_close(struct svc_xprt *xprt) in svc_xprt_deferred_close()
159 struct svc_xprt *xprt = in svc_xprt_free() local
176 void svc_xprt_put(struct svc_xprt *xprt) in svc_xprt_put()
187 struct svc_xprt *xprt, struct svc_serv *serv) in svc_xprt_init()
225 struct svc_xprt *xprt; in __svc_xpo_create() local
261 void svc_xprt_received(struct svc_xprt *xprt) in svc_xprt_received()
357 void svc_xprt_copy_addrs(struct svc_rqst *rqstp, struct svc_xprt *xprt) in svc_xprt_copy_addrs()
384 static bool svc_xprt_slots_in_range(struct svc_xprt *xprt) in svc_xprt_slots_in_range()
392 static bool svc_xprt_reserve_slot(struct svc_rqst *rqstp, struct svc_xprt *xprt) in svc_xprt_reserve_slot()
405 struct svc_xprt *xprt = rqstp->rq_xprt; in svc_xprt_release_slot() local
[all …]
Dxprtsock.c233 static inline struct sockaddr *xs_addr(struct rpc_xprt *xprt) in xs_addr()
238 static inline struct sockaddr_un *xs_addr_un(struct rpc_xprt *xprt) in xs_addr_un()
243 static inline struct sockaddr_in *xs_addr_in(struct rpc_xprt *xprt) in xs_addr_in()
248 static inline struct sockaddr_in6 *xs_addr_in6(struct rpc_xprt *xprt) in xs_addr_in6()
253 static void xs_format_common_peer_addresses(struct rpc_xprt *xprt) in xs_format_common_peer_addresses()
289 static void xs_format_common_peer_ports(struct rpc_xprt *xprt) in xs_format_common_peer_ports()
301 static void xs_format_peer_addresses(struct rpc_xprt *xprt, in xs_format_peer_addresses()
311 static void xs_update_peer_port(struct rpc_xprt *xprt) in xs_update_peer_port()
319 static void xs_free_peer_addresses(struct rpc_xprt *xprt) in xs_free_peer_addresses()
563 struct rpc_xprt *xprt = &transport->xprt; in xs_read_stream_call() local
[all …]
Dclnt.c266 struct rpc_xprt *xprt, in rpc_clnt_set_transport()
362 struct rpc_xprt *xprt, in rpc_new_client()
457 struct rpc_xprt *xprt) in rpc_create_xprt()
526 struct rpc_xprt *xprt; in rpc_create() local
625 struct rpc_xprt *xprt; in __rpc_clone_client() local
726 struct rpc_xprt *xprt, *old; in rpc_switch_client_transport() local
839 struct rpc_xprt *xprt = xprt_iter_get_next(&xpi); in rpc_clnt_iterate_for_each_xprt() local
914 struct rpc_xprt *xprt, void *dummy) in rpc_clnt_disconnect_xprt()
1062 rpc_task_get_xprt(struct rpc_clnt *clnt, struct rpc_xprt *xprt) in rpc_task_get_xprt()
1078 rpc_task_release_xprt(struct rpc_clnt *clnt, struct rpc_xprt *xprt) in rpc_task_release_xprt()
[all …]
Dsysfs.c93 struct rpc_xprt *xprt = rpc_sysfs_xprt_kobj_get_xprt(kobj); in rpc_sysfs_xprt_dstaddr_show() local
110 struct rpc_xprt *xprt = rpc_sysfs_xprt_kobj_get_xprt(kobj); in rpc_sysfs_xprt_srcaddr_show() local
135 struct rpc_xprt *xprt = rpc_sysfs_xprt_kobj_get_xprt(kobj); in rpc_sysfs_xprt_info_show() local
169 struct rpc_xprt *xprt = rpc_sysfs_xprt_kobj_get_xprt(kobj); in rpc_sysfs_xprt_state_show() local
232 struct rpc_xprt *xprt = rpc_sysfs_xprt_kobj_get_xprt(kobj); in rpc_sysfs_xprt_dstaddr_store() local
290 struct rpc_xprt *xprt = rpc_sysfs_xprt_kobj_get_xprt(kobj); in rpc_sysfs_xprt_state_change() local
378 struct rpc_sysfs_xprt *xprt; in rpc_sysfs_xprt_release() local
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()
[all …]
Dxprtmultipath.c33 struct rpc_xprt *xprt) in xprt_switch_add_xprt_locked()
53 struct rpc_xprt *xprt) in rpc_xprt_switch_add_xprt()
65 struct rpc_xprt *xprt, bool offline) in xprt_switch_remove_xprt_locked()
87 struct rpc_xprt *xprt, bool offline) in rpc_xprt_switch_remove_xprt()
127 struct rpc_xprt_switch *xprt_switch_alloc(struct rpc_xprt *xprt, in xprt_switch_alloc()
155 struct rpc_xprt *xprt; in xprt_switch_free_entries() local
235 bool xprt_is_active(const struct rpc_xprt *xprt) in xprt_is_active()
422 struct rpc_xprt *xprt; in xprt_switch_find_next_entry_roundrobin() local
601 struct rpc_xprt *xprt; in xprt_iter_get_xprt() local
618 struct rpc_xprt *xprt; in xprt_iter_get_next() local
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()
241 rpc_xprt_debugfs_unregister(struct rpc_xprt *xprt) in rpc_xprt_debugfs_unregister()
Dsvcsock.c339 static int svc_tcp_has_wspace(struct svc_xprt *xprt) in svc_tcp_has_wspace()
348 static void svc_tcp_kill_temp_xprt(struct svc_xprt *xprt) in svc_tcp_kill_temp_xprt()
545 struct svc_xprt *xprt = rqstp->rq_xprt; in svc_udp_sendto() local
593 static int svc_udp_has_wspace(struct svc_xprt *xprt) in svc_udp_has_wspace()
611 static struct svc_xprt *svc_udp_accept(struct svc_xprt *xprt) in svc_udp_accept()
617 static void svc_udp_kill_temp_xprt(struct svc_xprt *xprt) in svc_udp_kill_temp_xprt()
734 static struct svc_xprt *svc_tcp_accept(struct svc_xprt *xprt) in svc_tcp_accept()
1154 struct svc_xprt *xprt = rqstp->rq_xprt; in svc_tcp_sendto() local
1491 static void svc_sock_detach(struct svc_xprt *xprt) in svc_sock_detach()
1508 static void svc_tcp_sock_detach(struct svc_xprt *xprt) in svc_tcp_sock_detach()
[all …]
Dsysfs.h19 struct rpc_xprt *xprt; member
24 struct rpc_xprt *xprt; member
Dsvcauth_unix.c337 ip_map_cached_get(struct svc_xprt *xprt) in ip_map_cached_get()
366 ip_map_cached_put(struct svc_xprt *xprt, struct ip_map *ipm) in ip_map_cached_put()
666 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()
651 struct rpc_xprt *xprt; in rpcb_getport_async() local
771 struct rpc_xprt *xprt = map->r_xprt; in rpcb_getport_done() local
/linux-6.1.9/net/sunrpc/xprtrdma/
Dtransport.c157 xprt_rdma_format_addresses4(struct rpc_xprt *xprt, struct sockaddr *sap) in xprt_rdma_format_addresses4()
169 xprt_rdma_format_addresses6(struct rpc_xprt *xprt, struct sockaddr *sap) in xprt_rdma_format_addresses6()
181 xprt_rdma_format_addresses(struct rpc_xprt *xprt, struct sockaddr *sap) in xprt_rdma_format_addresses()
210 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() local
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()
314 struct rpc_xprt *xprt; in xprt_setup_rdma() local
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()
[all …]
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() local
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() local
169 struct rpc_xprt *xprt = &r_xprt->rx_xprt; in rpcrdma_bc_rqst_get() local
222 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
275 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()
536 static void svc_rdma_detach(struct svc_xprt *xprt) in svc_rdma_detach()
578 static void svc_rdma_free(struct svc_xprt *xprt) in svc_rdma_free()
587 static int svc_rdma_has_wspace(struct svc_xprt *xprt) in svc_rdma_has_wspace()
608 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
147 struct rpc_xprt *xprt = rqst->rq_xprt; in rpcrdma_bc_send_request() local
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()
246 struct rpc_xprt *xprt; in xprt_setup_rdma_bc() local
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() local
1013 struct rpc_xprt *xprt = &r_xprt->rx_xprt; in rpcrdma_reset_cwnd() local
1124 struct rpc_xprt *xprt = &r_xprt->rx_xprt; in rpcrdma_is_bcall() local
1354 struct rpc_xprt *xprt = &rep->rr_rxprt->rx_xprt; in rpcrdma_unpin_rqst() local
1377 struct rpc_xprt *xprt = &r_xprt->rx_xprt; in rpcrdma_complete_rqst() local
1430 struct rpc_xprt *xprt = &r_xprt->rx_xprt; in rpcrdma_reply_handler() local
Dsvc_rdma_recvfrom.c252 struct svc_xprt *xprt = rqstp->rq_xprt; in svc_rdma_release_rqst() local
735 static bool svc_rdma_is_reverse_direction_reply(struct svc_xprt *xprt, in svc_rdma_is_reverse_direction_reply()
794 struct svc_xprt *xprt = rqstp->rq_xprt; in svc_rdma_recvfrom() local
Dverbs.c287 struct rpc_xprt *xprt = &r_xprt->rx_xprt; in rpcrdma_create_id() local
488 struct rpc_xprt *xprt = &r_xprt->rx_xprt; in rpcrdma_xprt_connect() local
/linux-6.1.9/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
385 xprt_enable_swap(struct rpc_xprt *xprt) in xprt_enable_swap()
391 xprt_disable_swap(struct rpc_xprt *xprt) in xprt_disable_swap()
440 static inline void xprt_set_connected(struct rpc_xprt *xprt) in xprt_set_connected()
445 static inline void xprt_clear_connected(struct rpc_xprt *xprt) in xprt_clear_connected()
450 static inline int xprt_connected(struct rpc_xprt *xprt) in xprt_connected()
455 static inline int xprt_test_and_set_connected(struct rpc_xprt *xprt) in xprt_test_and_set_connected()
460 static inline int xprt_test_and_clear_connected(struct rpc_xprt *xprt) in xprt_test_and_clear_connected()
465 static inline void xprt_clear_connecting(struct rpc_xprt *xprt) in xprt_clear_connecting()
[all …]
Dsvc_xprt.h122 static inline bool svc_xprt_is_dead(const struct svc_xprt *xprt) in svc_xprt_is_dead()
152 static inline void svc_xprt_get(struct svc_xprt *xprt) in svc_xprt_get()
156 static inline void svc_xprt_set_local(struct svc_xprt *xprt, in svc_xprt_set_local()
163 static inline void svc_xprt_set_remote(struct svc_xprt *xprt, in svc_xprt_set_remote()
199 static inline unsigned short svc_xprt_local_port(const struct svc_xprt *xprt) in svc_xprt_local_port()
204 static inline unsigned short svc_xprt_remote_port(const struct svc_xprt *xprt) in svc_xprt_remote_port()
Dbc_xprt.h47 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()
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.h20 struct rpc_xprt xprt; member
/linux-6.1.9/fs/nfs/
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()

12