Home
last modified time | relevance | path

Searched refs:ni_pathlen (Results 1 – 4 of 4) sorted by relevance

/xnu-10063.101.15/bsd/vfs/
H A Dvfs_lookup.c263 ndp->ni_pathlen = (u_int)bytes_copied; in namei()
284 if (ndp->ni_pathlen >= VOLFS_MIN_PATH_LEN && in namei()
316 ndp->ni_pathlen = (u_int)tmp_len; in namei()
381 ndp->ni_pathlen--; in namei()
756 if (ndp->ni_pathlen == 1 && ndp->ni_next[0] == '\0') { in lookup_handle_rsrc_fork()
822 ndp->ni_pathlen -= cnp->cn_consume; in lookup_handle_found_vnode()
890 ndp->ni_pathlen--; in lookup_handle_found_vnode()
893 ndp->ni_pathlen--; in lookup_handle_found_vnode()
1687 if (ndp->ni_pathlen > 1 || !(cnp->cn_flags & HASBUF)) {
1722 } else if (linklen + ndp->ni_pathlen + rsrclen > MAXPATHLEN) {
[all …]
H A Dvfs_cache.c1668 u_int ni_pathlen; member
1681 saved_statep->ni_pathlen = ndp->ni_pathlen; in save_ndp_state()
1694 ndp->ni_pathlen = saved_statep->ni_pathlen; in restore_ndp_state()
1791 ndp->ni_pathlen -= cnp->cn_namelen; in cache_lookup_path()
1803 ndp->ni_pathlen--; in cache_lookup_path()
1828 if ((ndp->ni_pathlen == sizeof(_PATH_RSRCFORKSPEC)) && in cache_lookup_path()
1840 ndp->ni_pathlen = 1; in cache_lookup_path()
2144 ndp->ni_pathlen--; in cache_lookup_path()
2147 ndp->ni_pathlen--; in cache_lookup_path()
/xnu-10063.101.15/bsd/sys/
H A Dnamei.h120 u_int ni_pathlen; /* remaining chars in path */ member
/xnu-10063.101.15/bsd/nfs/
H A Dnfs_subs.c937 nip->ni_pathlen = len; in nfsm_chain_get_path_namei()
2008 xnd.ni_pathlen = (uint32_t)pathlen - 1; // pathlen max value is equal to MAXPATHLEN in nfsrv_export()