Searched refs:ncomponents (Results 1 – 4 of 4) sorted by relevance
39 for (i = 0; i < pathname->ncomponents; i++) { in nfs4_pathname_len()73 for (i = 0; i < pathname->ncomponents; i++) { in nfs4_pathname_string()383 location->rootpath.ncomponents == 0) in nfs_follow_referral()429 fs_locations->fs_path.ncomponents <= 0) in nfs_do_refmount()554 location->rootpath.ncomponents == 0) in nfs4_replace_transport()
3647 for (path->ncomponents = 0; path->ncomponents < n; path->ncomponents++) { in decode_pathname()3648 struct nfs4_string *component = &path->components[path->ncomponents]; in decode_pathname()3654 (path->ncomponents != n ? "/ " : ""), in decode_pathname()3661 path->ncomponents = 1; in decode_pathname()
2574 unsigned int ncomponents = 0; in nfsd4_encode_path() local2591 if ((ncomponents & 15) == 0) { in nfsd4_encode_path()2594 sizeof(*new) * (ncomponents + 16), in nfsd4_encode_path()2600 components[ncomponents++] = cur.dentry; in nfsd4_encode_path()2607 *p++ = cpu_to_be32(ncomponents); in nfsd4_encode_path()2609 while (ncomponents) { in nfsd4_encode_path()2610 struct dentry *dentry = components[ncomponents - 1]; in nfsd4_encode_path()2624 ncomponents--; in nfsd4_encode_path()2630 while (ncomponents) in nfsd4_encode_path()2631 dput(components[--ncomponents]); in nfsd4_encode_path()
1209 unsigned int ncomponents; member