Home
last modified time | relevance | path

Searched refs:rpc_get_port (Results 1 – 8 of 8) sorted by relevance

/linux-6.12.1/include/linux/sunrpc/
Daddr.h23 static inline unsigned short rpc_get_port(const struct sockaddr *sap) in rpc_get_port() function
144 return rpc_get_port(sap1) == rpc_get_port(sap2); in rpc_cmp_addr_port()
/linux-6.12.1/net/sunrpc/xprtrdma/
Dtransport.c190 snprintf(buf, sizeof(buf), "%u", rpc_get_port(sap)); in xprt_rdma_format_addresses()
193 snprintf(buf, sizeof(buf), "%4hx", rpc_get_port(sap)); in xprt_rdma_format_addresses()
344 if (rpc_get_port(sap)) in xprt_setup_rdma()
Dsvc_rdma_transport.c560 dprintk(" local address : %pIS:%u\n", sap, rpc_get_port(sap)); in svc_rdma_accept()
562 dprintk(" remote address : %pIS:%u\n", sap, rpc_get_port(sap)); in svc_rdma_accept()
/linux-6.12.1/fs/nfsd/
Dnfscache.c104 rpc_set_port((struct sockaddr *)&rp->c_key.k_addr, rpc_get_port(svc_addr(rqstp))); in nfsd_cacherep_alloc()
/linux-6.12.1/net/sunrpc/
Dsysfs.c253 port = rpc_get_port(saddr); in rpc_sysfs_xprt_dstaddr_store()
Drpcb_clnt.c945 rpcb->r_port = rpc_get_port(sap); in rpcb_dec_getaddr()
Dxprtsock.c300 snprintf(buf, sizeof(buf), "%u", rpc_get_port(sap)); in xs_format_common_peer_ports()
303 snprintf(buf, sizeof(buf), "%4hx", rpc_get_port(sap)); in xs_format_common_peer_ports()
/linux-6.12.1/fs/nfs/
Dnfs4client.c938 server->port = rpc_get_port((struct sockaddr *)addr); in nfs4_set_client()