Home
last modified time | relevance | path

Searched refs:netid (Results 1 – 5 of 5) sorted by relevance

/fs/nfs/
Dpnfs_nfs.c790 char *netid, *match_netid; in nfs4_decode_mp_ds_addr() local
806 netid = kmalloc(nlen+1, gfp_flags); in nfs4_decode_mp_ds_addr()
807 if (unlikely(!netid)) in nfs4_decode_mp_ds_addr()
810 netid[nlen] = '\0'; in nfs4_decode_mp_ds_addr()
811 memcpy(netid, p, nlen); in nfs4_decode_mp_ds_addr()
894 if (nlen != match_netid_len || strncmp(netid, match_netid, nlen)) { in nfs4_decode_mp_ds_addr()
896 __func__, netid, match_netid); in nfs4_decode_mp_ds_addr()
911 kfree(netid); in nfs4_decode_mp_ds_addr()
920 kfree(netid); in nfs4_decode_mp_ds_addr()
/fs/nfsd/
Dflexfilelayout.c107 snprintf(da->netaddr.netid, FF_NETID_LEN + 1, "tcp"); in nfsd4_ff_proc_getdeviceinfo()
114 snprintf(da->netaddr.netid, FF_NETID_LEN + 1, "tcp6"); in nfsd4_ff_proc_getdeviceinfo()
Dflexfilelayoutxdr.h20 char netid[FF_NETID_LEN + 1]; member
Dflexfilelayoutxdr.c113 p = xdr_encode_opaque(p, da->netaddr.netid, da->netaddr.netid_len); in nfsd4_ff_encode_getdeviceinfo()
/fs/nfs/flexfilelayout/
Dflexfilelayout.c2294 char *netid; in ff_layout_encode_netaddr() local
2304 netid = "tcp"; in ff_layout_encode_netaddr()
2311 netid = "tcp6"; in ff_layout_encode_netaddr()
2324 xdr_encode_opaque(p, netid, netid_len); in ff_layout_encode_netaddr()