/linux-6.6.21/net/sunrpc/ ! |
D | xprt.c | 247 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 …]
|
D | svc_xprt.c | 159 void svc_xprt_deferred_close(struct svc_xprt *xprt) in svc_xprt_deferred_close() 168 struct svc_xprt *xprt = in svc_xprt_free() local 185 void svc_xprt_put(struct svc_xprt *xprt) in svc_xprt_put() 196 struct svc_xprt *xprt, struct svc_serv *serv) in svc_xprt_init() 234 struct svc_xprt *xprt; in __svc_xpo_create() local 270 void svc_xprt_received(struct svc_xprt *xprt) in svc_xprt_received() 366 void svc_xprt_copy_addrs(struct svc_rqst *rqstp, struct svc_xprt *xprt) in svc_xprt_copy_addrs() 393 static bool svc_xprt_slots_in_range(struct svc_xprt *xprt) in svc_xprt_slots_in_range() 401 static bool svc_xprt_reserve_slot(struct svc_rqst *rqstp, struct svc_xprt *xprt) in svc_xprt_reserve_slot() 414 struct svc_xprt *xprt = rqstp->rq_xprt; in svc_xprt_release_slot() local [all …]
|
D | backchannel_rqst.c | 22 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 …]
|
D | xprtsock.c | 234 static inline struct sockaddr *xs_addr(struct rpc_xprt *xprt) in xs_addr() 239 static inline struct sockaddr_un *xs_addr_un(struct rpc_xprt *xprt) in xs_addr_un() 244 static inline struct sockaddr_in *xs_addr_in(struct rpc_xprt *xprt) in xs_addr_in() 249 static inline struct sockaddr_in6 *xs_addr_in6(struct rpc_xprt *xprt) in xs_addr_in6() 254 static void xs_format_common_peer_addresses(struct rpc_xprt *xprt) in xs_format_common_peer_addresses() 295 static void xs_format_common_peer_ports(struct rpc_xprt *xprt) in xs_format_common_peer_ports() 307 static void xs_format_peer_addresses(struct rpc_xprt *xprt, in xs_format_peer_addresses() 317 static void xs_update_peer_port(struct rpc_xprt *xprt) in xs_update_peer_port() 325 static void xs_free_peer_addresses(struct rpc_xprt *xprt) in xs_free_peer_addresses() 615 struct rpc_xprt *xprt = &transport->xprt; in xs_read_stream_call() local [all …]
|
D | clnt.c | 269 struct rpc_xprt *xprt, in rpc_clnt_set_transport() 365 struct rpc_xprt *xprt, in rpc_new_client() 461 struct rpc_xprt *xprt) in rpc_create_xprt() 530 struct rpc_xprt *xprt; in rpc_create() local 636 struct rpc_xprt *xprt; in __rpc_clone_client() local 737 struct rpc_xprt *xprt, *old; in rpc_switch_client_transport() local 851 struct rpc_xprt *xprt = xprt_iter_get_next(&xpi); in rpc_clnt_iterate_for_each_xprt() local 926 struct rpc_xprt *xprt, void *dummy) in rpc_clnt_disconnect_xprt() 1074 rpc_task_get_xprt(struct rpc_clnt *clnt, struct rpc_xprt *xprt) in rpc_task_get_xprt() 1090 rpc_task_release_xprt(struct rpc_clnt *clnt, struct rpc_xprt *xprt) in rpc_task_release_xprt() [all …]
|
D | sysfs.c | 93 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 291 struct rpc_xprt *xprt = rpc_sysfs_xprt_kobj_get_xprt(kobj); in rpc_sysfs_xprt_state_change() local 379 struct rpc_sysfs_xprt *xprt; in rpc_sysfs_xprt_release() local 499 struct rpc_xprt *xprt, in rpc_sysfs_xprt_alloc() 547 struct rpc_xprt *xprt, in rpc_sysfs_xprt_switch_setup() 571 struct rpc_xprt *xprt, in rpc_sysfs_xprt_setup() [all …]
|
D | xprtmultipath.c | 33 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() 435 struct rpc_xprt *xprt; in xprt_switch_find_next_entry_roundrobin() local 614 struct rpc_xprt *xprt; in xprt_iter_get_xprt() local 631 struct rpc_xprt *xprt; in xprt_iter_get_next() local
|
D | debugfs.c | 120 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()
|
D | svcsock.c | 131 static void svc_tcp_release_ctxt(struct svc_xprt *xprt, void *ctxt) in svc_tcp_release_ctxt() 141 static void svc_udp_release_ctxt(struct svc_xprt *xprt, void *ctxt) in svc_udp_release_ctxt() 399 static int svc_tcp_has_wspace(struct svc_xprt *xprt) in svc_tcp_has_wspace() 408 static void svc_tcp_kill_temp_xprt(struct svc_xprt *xprt) in svc_tcp_kill_temp_xprt() 428 struct svc_xprt *xprt = data; in svc_tcp_handshake_done() local 445 static void svc_tcp_handshake(struct svc_xprt *xprt) in svc_tcp_handshake() 688 struct svc_xprt *xprt = rqstp->rq_xprt; in svc_udp_sendto() local 739 static int svc_udp_has_wspace(struct svc_xprt *xprt) in svc_udp_has_wspace() 757 static struct svc_xprt *svc_udp_accept(struct svc_xprt *xprt) in svc_udp_accept() 763 static void svc_udp_kill_temp_xprt(struct svc_xprt *xprt) in svc_udp_kill_temp_xprt() [all …]
|
D | sysfs.h | 12 struct rpc_xprt *xprt; member 17 struct rpc_xprt *xprt; member
|
D | svcauth_unix.c | 338 ip_map_cached_get(struct svc_xprt *xprt) in ip_map_cached_get() 367 ip_map_cached_put(struct svc_xprt *xprt, struct ip_map *ipm) in ip_map_cached_put() 676 struct svc_xprt *xprt = rqstp->rq_xprt; in svcauth_unix_set_client() local 835 struct svc_xprt *xprt = rqstp->rq_xprt; in svcauth_tls_accept() local
|
D | rpcb_clnt.c | 148 static void rpcb_wake_rpcbind_waiters(struct rpc_xprt *xprt, int status) in rpcb_wake_rpcbind_waiters() 674 struct rpc_xprt *xprt; in rpcb_getport_async() local 798 struct rpc_xprt *xprt = map->r_xprt; in rpcb_getport_done() local
|
/linux-6.6.21/net/sunrpc/xprtrdma/ ! |
D | transport.c | 148 xprt_rdma_format_addresses4(struct rpc_xprt *xprt, struct sockaddr *sap) in xprt_rdma_format_addresses4() 160 xprt_rdma_format_addresses6(struct rpc_xprt *xprt, struct sockaddr *sap) in xprt_rdma_format_addresses6() 172 xprt_rdma_format_addresses(struct rpc_xprt *xprt, struct sockaddr *sap) in xprt_rdma_format_addresses() 201 xprt_rdma_free_addresses(struct rpc_xprt *xprt) in xprt_rdma_free_addresses() 228 struct rpc_xprt *xprt = &r_xprt->rx_xprt; in xprt_rdma_connect_worker() local 260 xprt_rdma_inject_disconnect(struct rpc_xprt *xprt) in xprt_rdma_inject_disconnect() 276 xprt_rdma_destroy(struct rpc_xprt *xprt) in xprt_rdma_destroy() 305 struct rpc_xprt *xprt; in xprt_setup_rdma() local 375 void xprt_rdma_close(struct rpc_xprt *xprt) in xprt_rdma_close() 394 xprt_rdma_set_port(struct rpc_xprt *xprt, u16 port) in xprt_rdma_set_port() [all …]
|
D | backchannel.c | 25 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
|
D | svc_rdma_transport.c | 102 struct svc_xprt *xprt = context; in qp_event_handler() local 273 struct svc_xprt *xprt = &rdma->sc_xprt; in svc_rdma_cma_handler() local 364 static struct svc_xprt *svc_rdma_accept(struct svc_xprt *xprt) in svc_rdma_accept() 534 static void svc_rdma_detach(struct svc_xprt *xprt) in svc_rdma_detach() 576 static void svc_rdma_free(struct svc_xprt *xprt) in svc_rdma_free() 585 static int svc_rdma_has_wspace(struct svc_xprt *xprt) in svc_rdma_has_wspace() 601 static void svc_rdma_kill_temp_xprt(struct svc_xprt *xprt) in svc_rdma_kill_temp_xprt()
|
D | svc_rdma_backchannel.c | 23 struct rpc_xprt *xprt = sxprt->xpt_bc_xprt; in svc_rdma_handle_bc_reply() local 141 struct rpc_xprt *xprt = rqst->rq_xprt; in rpcrdma_bc_send_request() local 200 xprt_rdma_bc_close(struct rpc_xprt *xprt) in xprt_rdma_bc_close() 207 xprt_rdma_bc_put(struct rpc_xprt *xprt) in xprt_rdma_bc_put() 240 struct rpc_xprt *xprt; in xprt_setup_rdma_bc() local
|
D | rpc_rdma.c | 987 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
|
D | svc_rdma_recvfrom.c | 247 void svc_rdma_release_ctxt(struct svc_xprt *xprt, void *vctxt) in svc_rdma_release_ctxt() 730 static bool svc_rdma_is_reverse_direction_reply(struct svc_xprt *xprt, in svc_rdma_is_reverse_direction_reply() 787 struct svc_xprt *xprt = rqstp->rq_xprt; in svc_rdma_recvfrom() local
|
D | verbs.c | 287 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.6.21/fs/nfs/ ! |
D | callback.c | 128 static inline void nfs_callback_bc_serv(u32 minorversion, struct rpc_xprt *xprt, in nfs_callback_bc_serv() 139 static inline void nfs_callback_bc_serv(u32 minorversion, struct rpc_xprt *xprt, in nfs_callback_bc_serv() 145 static int nfs_callback_start_svc(int minorversion, struct rpc_xprt *xprt, in nfs_callback_start_svc() 180 struct net *net, struct rpc_xprt *xprt) in nfs_callback_up_net() 265 int nfs_callback_up(u32 minorversion, struct rpc_xprt *xprt) in nfs_callback_up()
|
/linux-6.6.21/include/linux/sunrpc/ ! |
D | xprt.h | 30 #define RPC_MAXCWND(xprt) ((xprt)->max_reqs << RPC_CWNDSHIFT) argument 31 #define RPCXPRT_CONGESTED(xprt) ((xprt)->cong >= (xprt)->cwnd) argument 405 xprt_enable_swap(struct rpc_xprt *xprt) in xprt_enable_swap() 411 xprt_disable_swap(struct rpc_xprt *xprt) in xprt_disable_swap() 460 static inline void xprt_set_connected(struct rpc_xprt *xprt) in xprt_set_connected() 465 static inline void xprt_clear_connected(struct rpc_xprt *xprt) in xprt_clear_connected() 470 static inline int xprt_connected(struct rpc_xprt *xprt) in xprt_connected() 475 static inline int xprt_test_and_set_connected(struct rpc_xprt *xprt) in xprt_test_and_set_connected() 480 static inline int xprt_test_and_clear_connected(struct rpc_xprt *xprt) in xprt_test_and_clear_connected() 485 static inline void xprt_clear_connecting(struct rpc_xprt *xprt) in xprt_clear_connecting() [all …]
|
D | svc_xprt.h | 128 static inline bool svc_xprt_is_dead(const struct svc_xprt *xprt) in svc_xprt_is_dead() 158 static inline void svc_xprt_get(struct svc_xprt *xprt) in svc_xprt_get() 162 static inline void svc_xprt_set_local(struct svc_xprt *xprt, in svc_xprt_set_local() 169 static inline void svc_xprt_set_remote(struct svc_xprt *xprt, in svc_xprt_set_remote() 205 static inline unsigned short svc_xprt_local_port(const struct svc_xprt *xprt) in svc_xprt_local_port() 210 static inline unsigned short svc_xprt_remote_port(const struct svc_xprt *xprt) in svc_xprt_remote_port()
|
D | bc_xprt.h | 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()
|
D | debug.h | 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()
|
D | xprtsock.h | 20 struct rpc_xprt xprt; member
|