Home
last modified time | relevance | path

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

/linux-6.15/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 Dnfs4xdr.c3738 for (path->ncomponents = 0; path->ncomponents < n; path->ncomponents++) { in decode_pathname()
3739 struct nfs4_string *component = &path->components[path->ncomponents]; in decode_pathname()
3745 (path->ncomponents != n ? "/ " : ""), in decode_pathname()
3752 path->ncomponents = 1; in decode_pathname()
H A Dnfs4proc.c4149 if (path1->ncomponents != path2->ncomponents) in _is_same_nfs4_pathname()
4151 for (i = 0; i < path1->ncomponents; i++) { in _is_same_nfs4_pathname()
/linux-6.15/fs/nfsd/
H A Dnfs4xdr.c2722 unsigned int ncomponents = 0; in nfsd4_encode_pathname4() local
2739 if ((ncomponents & 15) == 0) { in nfsd4_encode_pathname4()
2742 sizeof(*new) * (ncomponents + 16), in nfsd4_encode_pathname4()
2748 components[ncomponents++] = cur.dentry; in nfsd4_encode_pathname4()
2753 if (xdr_stream_encode_u32(xdr, ncomponents) != XDR_UNIT) in nfsd4_encode_pathname4()
2755 while (ncomponents) { in nfsd4_encode_pathname4()
2756 struct dentry *dentry = components[ncomponents - 1]; in nfsd4_encode_pathname4()
2767 ncomponents--; in nfsd4_encode_pathname4()
2773 while (ncomponents) in nfsd4_encode_pathname4()
2774 dput(components[--ncomponents]); in nfsd4_encode_pathname4()
/linux-6.15/include/linux/
H A Dnfs_xdr.h1245 unsigned int ncomponents; member