Lines Matching refs:dvp
337 * (dvp) is the parent directory where the upper layer object
359 struct vnode *dvp, /* may be null */
372 is_dotdot = (dvp != NULL && cnp != NULL && (cnp->cn_flags & ISDOTDOT));
428 if (uppervp != dvp) {
430 VOP_UNLOCK(dvp);
433 vn_lock(dvp, LK_EXCLUSIVE | LK_RETRY);
458 vref(dvp);
459 un->un_dirvp = dvp;
465 if (uppervp != dvp)
489 if (dvp && cnp && (lowervp != NULLVP)) {
493 vref(dvp);
494 un->un_dirvp = dvp;
761 * (dvp) is the directory in which to create the new node.
767 union_do_lookup(struct vnode *dvp, struct componentname *cnp, kauth_cred_t cred,
779 error = VOP_LOOKUP(dvp, &vp, cnp);
783 VOP_ABORTOP(dvp, cnp);
799 * (dvp) is the directory in which to create the shadow directory.
809 union_mkshadow(struct union_mount *um, struct vnode *dvp,
823 vn_lock(dvp, LK_EXCLUSIVE | LK_RETRY);
825 error = union_do_lookup(dvp, &cn,
828 VOP_UNLOCK(dvp);
846 error = VOP_MKDIR(dvp, vpp, &cn, &va);
847 VOP_UNLOCK(dvp);
857 * (dvp) is the directory in which to create the whiteout.
863 union_mkwhiteout(struct union_mount *um, struct vnode *dvp,
869 error = union_do_lookup(dvp, &cn,
875 error = VOP_WHITEOUT(dvp, &cn, CREATE);