Home
last modified time | relevance | path

Searched refs:ncomponents (Results 1 – 3 of 3) sorted by relevance

/linux/fs/nfs/
H A Dnfs4namespace.c39 for (i = 0; i < pathname->ncomponents; i++) { in nfs4_pathname_len()
73 for (i = 0; i < pathname->ncomponents; i++) { in nfs4_pathname_string()
389 location->rootpath.ncomponents == 0) in nfs_follow_referral()
438 fs_locations->fs_path.ncomponents <= 0) in nfs_do_refmount()
564 location->rootpath.ncomponents == 0) in nfs4_replace_transport()
H A Dnfs4proc.c4077 if (path1->ncomponents != path2->ncomponents) in _is_same_nfs4_pathname()
4079 for (i = 0; i < path1->ncomponents; i++) { in _is_same_nfs4_pathname()
/linux/fs/nfsd/
H A Dnfs4xdr.c2844 unsigned int ncomponents = 0; in nfsd4_encode_pathname4() local
2861 if ((ncomponents & 15) == 0) { in nfsd4_encode_pathname4()
2864 sizeof(*new) * (ncomponents + 16), in nfsd4_encode_pathname4()
2870 components[ncomponents++] = cur.dentry; in nfsd4_encode_pathname4()
2875 if (xdr_stream_encode_u32(xdr, ncomponents) != XDR_UNIT) in nfsd4_encode_pathname4()
2877 while (ncomponents) { in nfsd4_encode_pathname4()
2878 struct dentry *dentry = components[ncomponents - 1]; in nfsd4_encode_pathname4()
2889 ncomponents--; in nfsd4_encode_pathname4()
2895 while (ncomponents) in nfsd4_encode_pathname4()
2896 dput(components[--ncomponents]); in nfsd4_encode_pathname4()