Lines Matching refs:ndp
832 cache_lookup_path(struct nameidata *ndp, struct componentname *cnp, vnode_t dp,
880 ndp->ni_pathlen -= cnp->cn_namelen;
881 ndp->ni_next = cp;
892 ndp->ni_pathlen--;
896 *ndp->ni_next = '\0';
899 ndp->ni_next = cp;
916 if ((ndp->ni_pathlen == sizeof(_PATH_RSRCFORKSPEC)) &&
927 ndp->ni_next[0] = '\0';
928 ndp->ni_pathlen = 1;
988 dp == ndp->ni_rootdir ||
1025 cnp->cn_nameptr = ndp->ni_next + 1;
1026 ndp->ni_pathlen--;
1029 ndp->ni_pathlen--;
1061 if (dp == ndp->ni_usedvp) {
1108 ndp->ni_dvp = dp;
1109 ndp->ni_vp = vp;
1121 if ((last_dp != NULLVP) && (last_dp != ndp->ni_dvp)){