Searched refs:netaddr (Results 1 – 4 of 4) sorted by relevance
| /Linux-v6.6/fs/nfsd/ |
| D | flexfilelayout.c | 108 snprintf(da->netaddr.netid, FF_NETID_LEN + 1, "tcp"); in nfsd4_ff_proc_getdeviceinfo() 109 da->netaddr.netid_len = 3; in nfsd4_ff_proc_getdeviceinfo() 115 snprintf(da->netaddr.netid, FF_NETID_LEN + 1, "tcp6"); in nfsd4_ff_proc_getdeviceinfo() 116 da->netaddr.netid_len = 4; in nfsd4_ff_proc_getdeviceinfo() 119 da->netaddr.addr_len = in nfsd4_ff_proc_getdeviceinfo() 120 snprintf(da->netaddr.addr, FF_ADDR_LEN + 1, in nfsd4_ff_proc_getdeviceinfo()
|
| D | flexfilelayoutxdr.c | 98 addr_len = 16 + da->netaddr.netid_len + da->netaddr.addr_len; in nfsd4_ff_encode_getdeviceinfo() 113 p = xdr_encode_opaque(p, da->netaddr.netid, da->netaddr.netid_len); in nfsd4_ff_encode_getdeviceinfo() 114 p = xdr_encode_opaque(p, da->netaddr.addr, da->netaddr.addr_len); in nfsd4_ff_encode_getdeviceinfo()
|
| D | nfsd.h | 426 struct nfs42_netaddr *netaddr) in nfsd4_set_netaddr() argument 436 sprintf(netaddr->netid, "tcp"); in nfsd4_set_netaddr() 437 netaddr->netid_len = 3; in nfsd4_set_netaddr() 441 sprintf(netaddr->netid, "tcp6"); in nfsd4_set_netaddr() 442 netaddr->netid_len = 4; in nfsd4_set_netaddr() 447 ret_addr = rpc_ntop(addr, netaddr->addr, sizeof(netaddr->addr)); in nfsd4_set_netaddr() 448 ret_port = snprintf(netaddr->addr + ret_addr, in nfsd4_set_netaddr() 452 netaddr->addr_len = ret_addr + ret_port; in nfsd4_set_netaddr()
|
| D | flexfilelayoutxdr.h | 27 struct pnfs_ff_netaddr netaddr; member
|