Home
last modified time | relevance | path

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

/linux-6.3-rc2/fs/nfsd/
A 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()
A Dflexfilelayout.c109 da->netaddr.netid_len = 3; in nfsd4_ff_proc_getdeviceinfo()
116 da->netaddr.netid_len = 4; in nfsd4_ff_proc_getdeviceinfo()
A Dflexfilelayoutxdr.h22 u32 netid_len; member
A Dnfsd.h432 netaddr->netid_len = 3; in nfsd4_set_netaddr()
437 netaddr->netid_len = 4; in nfsd4_set_netaddr()
A Dnfs4xdr.c1949 if (xdr_stream_decode_u32(argp->xdr, &naddr->netid_len) < 0) in nfsd4_decode_nl4_server()
1951 if (naddr->netid_len > RPCBIND_MAXNETIDLEN) in nfsd4_decode_nl4_server()
1954 p = xdr_inline_decode(argp->xdr, naddr->netid_len); in nfsd4_decode_nl4_server()
1957 memcpy(naddr->netid, p, naddr->netid_len); in nfsd4_decode_nl4_server()
4840 (XDR_QUADLEN(addr->netid_len) * 4) + in nfsd42_encode_nl4_server()
4846 *p++ = cpu_to_be32(addr->netid_len); in nfsd42_encode_nl4_server()
4848 addr->netid_len); in nfsd42_encode_nl4_server()
A Dnfs4proc.c1405 if (naddr->netid_len != match_netid_len || in nfsd4_interssc_connect()
1406 strncmp(naddr->netid, match_netid, naddr->netid_len)) in nfsd4_interssc_connect()
/linux-6.3-rc2/include/linux/
A Dnfs4.h698 u32 netid_len; member
/linux-6.3-rc2/fs/nfs/
A Dnfs42xdr.c288 encode_string(xdr, ns->u.nl4_addr.netid_len, in encode_nl4_server()
938 naddr->netid_len = dummy; in decode_nl4_server()
939 memcpy(naddr->netid, dummy_str, naddr->netid_len); in decode_nl4_server()
A Dnfs42proc.c31 naddr->netid_len = scnprintf(naddr->netid, in nfs42_set_netaddr()
/linux-6.3-rc2/fs/nfs/flexfilelayout/
A Dflexfilelayout.c2362 int len, netid_len; in ff_layout_encode_netaddr() local
2384 netid_len = strlen(da->da_netid); in ff_layout_encode_netaddr()
2385 p = xdr_reserve_space(xdr, 4 + netid_len); in ff_layout_encode_netaddr()
2386 xdr_encode_opaque(p, da->da_netid, netid_len); in ff_layout_encode_netaddr()

Completed in 41 milliseconds