Lines Matching refs:ni_vp

208 				panic("We need to keep going on a continued lookup, but for vp type %d (tag %d)\n", ndp->ni_vp->v_type, ndp->ni_vp->v_tag);
347 ndp->ni_vp = NULLVP;
371 * if either ni_dvp or ni_vp is non-NULL, then
378 if (ndp->ni_vp)
379 vnode_put(ndp->ni_vp);
386 ndp->ni_vp = NULLVP;
469 * Can change ni_dvp and ni_vp. On success, returns with iocounts on stream vnode (always) and
539 ndp->ni_vp = svp; /* on create this may be null */
555 * --One on ni_vp. One on ni_dvp if there is more path, or we didn't come through the
560 * --If we find a symlink, returns with iocounts on both ni_vp and ni_dvp.
561 * --If we are to look up another component, then we have an iocount on ni_vp and
563 * --If we are done, returns an iocount on ni_vp, and possibly on ni_dvp depending on nameidata flags.
576 dp = ndp->ni_vp;
579 if (ndp->ni_vp == NULLVP) {
580 panic("NULL ni_vp in %s\n", __FUNCTION__);
612 * Updates ndp->ni_vp.
615 dp = ndp->ni_vp;
730 dp = ndp->ni_vp;
750 * Comes in iocount on ni_vp. May overwrite ni_dvp, but doesn't interpret incoming value.
758 dp = ndp->ni_vp;
788 ndp->ni_vp = dp;
831 * component vnode returned in ni_vp (if it exists), locked.
835 * return the answer in ni_vp, locked if LOCKLEAF set
901 ndp->ni_vp = dp;
911 ndp->ni_vp = NULLVP;
925 if (ndp->ni_vp != NULLVP) {
927 * cache_lookup_path returned a non-NULL ni_vp then,
956 ndp->ni_vp = dp;
998 ndp->ni_vp = NULLVP;
1027 error = VNOP_LOOKUP(dp, &ndp->ni_vp, cnp, ctx);
1059 if (ndp->ni_vp != NULLVP)
1066 * We return with ni_vp NULL to indicate that the entry
1085 /* We'll always have an iocount on ni_vp when this finishes. */
1092 dp = ndp->ni_vp;
1122 vnode_put(ndp->ni_vp);
1123 ndp->ni_vp = NULLVP;
1138 ndp->ni_vp = NULLVP;
1165 * Modifies only ni_vp. Always returns with ni_vp still valid (iocount held).
1239 ndp->ni_vp = dp = tdp;
1279 * Takes ni_vp and ni_dvp non-NULL. Returns with *new_dp set to the location
1306 if ((error = mac_vnode_check_readlink(ctx, ndp->ni_vp)) != 0)
1326 error = VNOP_READLINK(ndp->ni_vp, auio, ctx);
1372 vnode_put(ndp->ni_vp);
1375 ndp->ni_vp = NULLVP;
1470 * We return with ni_vp NULL to indicate that the entry