Home
last modified time | relevance | path

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

/xnu-11215.61.5/bsd/vfs/
H A Dvfs_lookup.c842 if (ndp->ni_pathlen == 1 && ndp->ni_next[0] == '\0') { in lookup_handle_rsrc_fork()
851 strncpy(ndp->ni_next, _PATH_RSRCFORKSPEC, sizeof(_PATH_RSRCFORKSPEC)); in lookup_handle_rsrc_fork()
852 cnp->cn_nameptr = ndp->ni_next + 1; in lookup_handle_rsrc_fork()
854 ndp->ni_next += cnp->cn_namelen; in lookup_handle_rsrc_fork()
855 if (ndp->ni_next[0] != '\0') { in lookup_handle_rsrc_fork()
907 ndp->ni_next += cnp->cn_consume; in lookup_handle_found_vnode()
938 ((cnp->cn_flags & FOLLOW) || (ndp->ni_flag & NAMEI_TRAILINGSLASH) || *ndp->ni_next == '/')) { in lookup_handle_found_vnode()
974 if (*ndp->ni_next == '/') { in lookup_handle_found_vnode()
975 cnp->cn_nameptr = ndp->ni_next + 1; in lookup_handle_found_vnode()
1100 ndp->ni_next = cnp->cn_nameptr; in lookup_handle_emptyname()
[all …]
H A Dvfs_cache.c1701 char *ni_next; member
1714 saved_statep->ni_next = ndp->ni_next; in save_ndp_state()
1727 ndp->ni_next = saved_statep->ni_next; in restore_ndp_state()
1826 ndp->ni_next = cp; in cache_lookup_path()
1841 *ndp->ni_next = '\0'; in cache_lookup_path()
1844 ndp->ni_next = cp; in cache_lookup_path()
1873 ndp->ni_next[0] = '\0'; in cache_lookup_path()
2089 (ndp->ni_flag & NAMEI_TRAILINGSLASH) || *ndp->ni_next == '/') { in cache_lookup_path()
2177 cnp->cn_nameptr = ndp->ni_next + 1; in cache_lookup_path()
/xnu-11215.61.5/bsd/sys/
H A Dnamei.h121 char *ni_next; /* next location in pathname */ member