Home
last modified time | relevance | path

Searched refs:netid_len (Results 1 – 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/fs/nfsd/
Dflexfilelayoutxdr.c89 addr_len = 16 + da->netaddr.netid_len + da->netaddr.addr_len; in nfsd4_ff_encode_getdeviceinfo()
104 p = xdr_encode_opaque(p, da->netaddr.netid, da->netaddr.netid_len); in nfsd4_ff_encode_getdeviceinfo()
Dflexfilelayout.c108 da->netaddr.netid_len = 3; in nfsd4_ff_proc_getdeviceinfo()
115 da->netaddr.netid_len = 4; in nfsd4_ff_proc_getdeviceinfo()
Dflexfilelayoutxdr.h22 u32 netid_len; member
Dnfsd.h408 netaddr->netid_len = 3; in nfsd4_set_netaddr()
413 netaddr->netid_len = 4; in nfsd4_set_netaddr()
Dnfs4xdr.c1777 naddr->netid_len = be32_to_cpup(p++); in nfsd4_decode_nl4_server()
1778 if (naddr->netid_len > RPCBIND_MAXNETIDLEN) in nfsd4_decode_nl4_server()
1781 READ_BUF(naddr->netid_len + 4); /* 4 for uaddr len */ in nfsd4_decode_nl4_server()
1782 COPYMEM(naddr->netid, naddr->netid_len); in nfsd4_decode_nl4_server()
4564 (XDR_QUADLEN(addr->netid_len) * 4) + in nfsd42_encode_nl4_server()
4570 *p++ = cpu_to_be32(addr->netid_len); in nfsd42_encode_nl4_server()
4572 addr->netid_len); in nfsd42_encode_nl4_server()
Dnfs4proc.c1200 if (naddr->netid_len != match_netid_len || in nfsd4_interssc_connect()
1201 strncmp(naddr->netid, match_netid, naddr->netid_len)) in nfsd4_interssc_connect()
/kernel/linux/linux-5.10/include/linux/
Dnfs4.h699 u32 netid_len; member
/kernel/linux/linux-5.10/fs/nfs/flexfilelayout/
Dflexfilelayout.c2289 int len, netid_len; in ff_layout_encode_netaddr() local
2298 netid_len = 3; in ff_layout_encode_netaddr()
2305 netid_len = 4; in ff_layout_encode_netaddr()
2316 p = xdr_reserve_space(xdr, 4 + netid_len); in ff_layout_encode_netaddr()
2317 xdr_encode_opaque(p, netid, netid_len); in ff_layout_encode_netaddr()
/kernel/linux/linux-5.10/fs/nfs/
Dnfs42xdr.c287 encode_string(xdr, ns->u.nl4_addr.netid_len, in encode_nl4_server()
923 naddr->netid_len = dummy; in decode_nl4_server()
924 memcpy(naddr->netid, dummy_str, naddr->netid_len); in decode_nl4_server()
Dnfs42proc.c31 naddr->netid_len = scnprintf(naddr->netid, in nfs42_set_netaddr()