Lines Matching refs:v_parent
234 * sufficient to stabilize both the vp->v_parent chain
270 while ((vp != NULLVP) && (vp->v_parent != vp)) {
286 if (vp->v_parent != NULL)
316 if (((vp->v_parent != NULLVP) && !fixhardlink) ||
323 * does not have a valid v_parent, then error out
326 if ((vp->v_parent == NULLVP) && (rootvnode != vp)) {
332 vp = vp->v_parent;
336 * has a v_parent, then we started with the resource fork
340 if (vp && !vnode_isdir(vp) && vp->v_parent) {
341 vp = vp->v_parent;
427 if (!fixhardlink && (vp->v_parent != dvp))
439 * has a v_parent, then we started with the resource fork
443 if (vp && !vnode_isdir(vp) && vp->v_parent)
444 vp = vp->v_parent;
526 * v_parent is stable behind the name_cache lock
532 if ( (pvp = vp->v_parent) != NULLVP ) {
597 if (isstream && dvp && (dvp != vp) && (dvp != vp->v_parent) && (dvp->v_type == VREG)) {
623 if (vp->v_parent)
624 vp->v_parent->v_nc_generation++;
644 if (dvp != vp && dvp != vp->v_parent) {
645 old_parentvp = vp->v_parent;
646 vp->v_parent = dvp;
667 /* Back-out the ref we took if we lost a race for vp->v_parent. */
709 * out the v_parent field... we'll drop the reference
739 old_parentvp = vp->v_parent;
740 vp->v_parent = NULLVP;
773 * VNOP_GETATTR2 to determine the parent, instead of using v_parent.
1138 dp->v_parent == NULLVP)
1150 vp = dp->v_parent;
1888 (vp->v_parent == NULLVP))
1893 if (vp->v_parent)
1894 vp->v_parent->v_nc_generation++;