Lines Matching refs:dp
975 cache_lookup_path(struct nameidata *ndp, struct componentname *cnp, vnode_t dp,
999 if ( dp->v_mount && (dp->v_mount->mnt_kern_flag & (MNTK_AUTH_OPAQUE | MNTK_AUTH_CACHE_TTL)) ) {
1067 if ((dp->v_mount != NULL) &&
1068 (dp->v_mount->mnt_flag & MNT_DOVOLFS) &&
1069 (dp->v_mount->mnt_kern_flag & MNTK_NAMED_STREAMS) == 0) {
1090 error = mac_vnode_check_lookup(ctx, dp, cnp);
1097 if (ttl_enabled && ((tv.tv_sec - dp->v_cred_timestamp) > dp->v_mount->mnt_authcache_ttl))
1103 if ((dp->v_cred != ucred || !(dp->v_authorized_actions & KAUTH_VNODE_SEARCH)) &&
1104 !(dp->v_authorized_actions & KAUTH_VNODE_SEARCHBYANYONE))
1127 if (dp && (dp->v_flag & VISHARDLINK)) {
1136 if ((dp->v_flag & VROOT) ||
1137 dp == ndp->ni_rootdir ||
1138 dp->v_parent == NULLVP)
1148 vp = dp;
1150 vp = dp->v_parent;
1152 if ( (vp = cache_lookup_locked(dp, cnp)) == NULLVP)
1193 dp = vp;
1205 vid = dp->v_id;
1220 tdp = dp;
1221 dp = NULLVP;
1230 if (last_dp != dp){
1232 if (dp == ndp->ni_usedvp) {
1243 vnode_get(dp);
1244 } else if ( (vnode_getwithvid_drainok(dp, vid)) ) {
1273 if (dp == NULLVP) {
1274 dp = tdp;
1280 ndp->ni_dvp = dp;
1284 trigger_vp = vp ? vp : dp;
1290 if (dp)
1291 vnode_put(dp);