Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/net/sunrpc/xprtrdma/
Dtransport.c200 snprintf(buf, sizeof(buf), "%u", rpc_get_port(sap)); in xprt_rdma_format_addresses()
203 snprintf(buf, sizeof(buf), "%4hx", rpc_get_port(sap)); in xprt_rdma_format_addresses()
354 if (rpc_get_port(sap)) in xprt_setup_rdma()
Dsvc_rdma_transport.c513 dprintk(" local address : %pIS:%u\n", sap, rpc_get_port(sap)); in svc_rdma_accept()
515 dprintk(" remote address : %pIS:%u\n", sap, rpc_get_port(sap)); in svc_rdma_accept()
/linux-6.1.9/fs/nfsd/
Dnfscache.c104 rpc_set_port((struct sockaddr *)&rp->c_key.k_addr, rpc_get_port(svc_addr(rqstp))); in nfsd_reply_cache_alloc()
/linux-6.1.9/net/sunrpc/
Dsysfs.c252 port = rpc_get_port(saddr); in rpc_sysfs_xprt_dstaddr_store()
Drpcb_clnt.c918 rpcb->r_port = rpc_get_port(sap); in rpcb_dec_getaddr()
Dxprtsock.c294 snprintf(buf, sizeof(buf), "%u", rpc_get_port(sap)); in xs_format_common_peer_ports()
297 snprintf(buf, sizeof(buf), "%4hx", rpc_get_port(sap)); in xs_format_common_peer_ports()
/linux-6.1.9/fs/nfs/
Dnfs4client.c928 server->port = rpc_get_port((struct sockaddr *)addr); in nfs4_set_client()