/linux-6.12.1/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 | 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() 123 int xprt_setup_backchannel(struct rpc_xprt *xprt, unsigned int min_reqs) in xprt_setup_backchannel() 131 int xprt_setup_bc(struct rpc_xprt *xprt, unsigned int min_reqs) in xprt_setup_bc() 202 void xprt_destroy_backchannel(struct rpc_xprt *xprt, unsigned int max_reqs) in xprt_destroy_backchannel() 209 void xprt_destroy_bc(struct rpc_xprt *xprt, unsigned int max_reqs) in xprt_destroy_bc() 236 static struct rpc_rqst *xprt_get_bc_request(struct rpc_xprt *xprt, __be32 xid, in xprt_get_bc_request() 269 struct rpc_xprt *xprt = req->rq_xprt; in xprt_free_bc_request() local 276 struct rpc_xprt *xprt = req->rq_xprt; in xprt_free_bc_rqst() local [all …]
|
D | svc_xprt.c | 158 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() 224 void svc_xprt_received(struct svc_xprt *xprt) in svc_xprt_received() 382 void svc_xprt_copy_addrs(struct svc_rqst *rqstp, struct svc_xprt *xprt) in svc_xprt_copy_addrs() 409 static bool svc_xprt_slots_in_range(struct svc_xprt *xprt) in svc_xprt_slots_in_range() 417 static bool svc_xprt_reserve_slot(struct svc_rqst *rqstp, struct svc_xprt *xprt) in svc_xprt_reserve_slot() 430 struct svc_xprt *xprt = rqstp->rq_xprt; in svc_xprt_release_slot() local 438 static bool svc_xprt_ready(struct svc_xprt *xprt) in svc_xprt_ready() [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 | 264 struct rpc_xprt *xprt, in rpc_clnt_set_transport() 366 struct rpc_xprt *xprt, in rpc_new_client() 462 struct rpc_xprt *xprt) in rpc_create_xprt() 531 struct rpc_xprt *xprt; in rpc_create() local 637 struct rpc_xprt *xprt; in __rpc_clone_client() local 740 struct rpc_xprt *xprt, *old; in rpc_switch_client_transport() local 863 struct rpc_xprt *xprt = xprt_iter_get_next(&xpi); in rpc_clnt_iterate_for_each_xprt() local 938 struct rpc_xprt *xprt, void *dummy) in rpc_clnt_disconnect_xprt() 1088 rpc_task_get_xprt(struct rpc_clnt *clnt, struct rpc_xprt *xprt) in rpc_task_get_xprt() 1104 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 | 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 | 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 | 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 836 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.12.1/net/sunrpc/xprtrdma/ |
D | transport.c | 147 xprt_rdma_format_addresses4(struct rpc_xprt *xprt, struct sockaddr *sap) in xprt_rdma_format_addresses4() 159 xprt_rdma_format_addresses6(struct rpc_xprt *xprt, struct sockaddr *sap) in xprt_rdma_format_addresses6() 171 xprt_rdma_format_addresses(struct rpc_xprt *xprt, struct sockaddr *sap) in xprt_rdma_format_addresses() 200 xprt_rdma_free_addresses(struct rpc_xprt *xprt) in xprt_rdma_free_addresses() 227 struct rpc_xprt *xprt = &r_xprt->rx_xprt; in xprt_rdma_connect_worker() local 259 xprt_rdma_inject_disconnect(struct rpc_xprt *xprt) in xprt_rdma_inject_disconnect() 275 xprt_rdma_destroy(struct rpc_xprt *xprt) in xprt_rdma_destroy() 304 struct rpc_xprt *xprt; in xprt_setup_rdma() local 374 void xprt_rdma_close(struct rpc_xprt *xprt) in xprt_rdma_close() 393 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 | 104 struct svc_xprt *xprt = context; in qp_event_handler() local 331 struct svc_xprt *xprt = &rdma->sc_xprt; in svc_rdma_cma_handler() local 407 static struct svc_xprt *svc_rdma_accept(struct svc_xprt *xprt) in svc_rdma_accept() 583 static void svc_rdma_detach(struct svc_xprt *xprt) in svc_rdma_detach() 628 static void svc_rdma_free(struct svc_xprt *xprt) in svc_rdma_free() 637 static int svc_rdma_has_wspace(struct svc_xprt *xprt) in svc_rdma_has_wspace() 653 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 138 struct rpc_xprt *xprt = rqst->rq_xprt; in rpcrdma_bc_send_request() local 197 xprt_rdma_bc_close(struct rpc_xprt *xprt) in xprt_rdma_bc_close() 204 xprt_rdma_bc_put(struct rpc_xprt *xprt) in xprt_rdma_bc_put() 237 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 | 241 void svc_rdma_release_ctxt(struct svc_xprt *xprt, void *vctxt) in svc_rdma_release_ctxt() 745 static bool svc_rdma_is_reverse_direction_reply(struct svc_xprt *xprt, in svc_rdma_is_reverse_direction_reply() 918 struct svc_xprt *xprt = rqstp->rq_xprt; in svc_rdma_recvfrom() local
|
D | verbs.c | 292 struct rpc_xprt *xprt = &r_xprt->rx_xprt; in rpcrdma_create_id() local 499 struct rpc_xprt *xprt = &r_xprt->rx_xprt; in rpcrdma_xprt_connect() local
|
/linux-6.12.1/fs/nfs/ |
D | callback.c | 91 static inline void nfs_callback_bc_serv(u32 minorversion, struct rpc_xprt *xprt, in nfs_callback_bc_serv() 102 static inline void nfs_callback_bc_serv(u32 minorversion, struct rpc_xprt *xprt, in nfs_callback_bc_serv() 108 static int nfs_callback_start_svc(int minorversion, struct rpc_xprt *xprt, in nfs_callback_start_svc() 143 struct net *net, struct rpc_xprt *xprt) in nfs_callback_up_net() 225 int nfs_callback_up(u32 minorversion, struct rpc_xprt *xprt) in nfs_callback_up()
|
/linux-6.12.1/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 396 xprt_enable_swap(struct rpc_xprt *xprt) in xprt_enable_swap() 402 xprt_disable_swap(struct rpc_xprt *xprt) in xprt_disable_swap() 451 static inline void xprt_set_connected(struct rpc_xprt *xprt) in xprt_set_connected() 456 static inline void xprt_clear_connected(struct rpc_xprt *xprt) in xprt_clear_connected() 461 static inline int xprt_connected(struct rpc_xprt *xprt) in xprt_connected() 466 static inline int xprt_test_and_set_connected(struct rpc_xprt *xprt) in xprt_test_and_set_connected() 471 static inline int xprt_test_and_clear_connected(struct rpc_xprt *xprt) in xprt_test_and_clear_connected() 476 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() 163 static inline void svc_xprt_get(struct svc_xprt *xprt) in svc_xprt_get() 167 static inline void svc_xprt_set_local(struct svc_xprt *xprt, in svc_xprt_set_local() 174 static inline void svc_xprt_set_remote(struct svc_xprt *xprt, in svc_xprt_set_remote() 210 static inline unsigned short svc_xprt_local_port(const struct svc_xprt *xprt) in svc_xprt_local_port() 215 static inline unsigned short svc_xprt_remote_port(const struct svc_xprt *xprt) in svc_xprt_remote_port()
|
D | bc_xprt.h | 48 static inline int xprt_setup_backchannel(struct rpc_xprt *xprt, in xprt_setup_backchannel() 54 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
|