Lines Matching refs:xvp
213 struct vnode *vp, *xvp, *mvp, *devvp; in ffs_snapshot() local
549 MNT_VNODE_FOREACH_ALL(xvp, mp, mvp) { in ffs_snapshot()
550 if ((xvp->v_usecount == 0 && in ffs_snapshot()
551 (xvp->v_iflag & (VI_OWEINACT | VI_DOINGINACT)) == 0) || in ffs_snapshot()
552 xvp->v_type == VNON || in ffs_snapshot()
553 IS_SNAPSHOT(VTOI(xvp))) { in ffs_snapshot()
554 VI_UNLOCK(xvp); in ffs_snapshot()
561 if (xvp == nd.ni_dvp) { in ffs_snapshot()
562 VI_UNLOCK(xvp); in ffs_snapshot()
565 vholdl(xvp); in ffs_snapshot()
566 if (vn_lock(xvp, LK_EXCLUSIVE | LK_INTERLOCK) != 0) { in ffs_snapshot()
568 vdrop(xvp); in ffs_snapshot()
571 VI_LOCK(xvp); in ffs_snapshot()
572 if (xvp->v_usecount == 0 && in ffs_snapshot()
573 (xvp->v_iflag & (VI_OWEINACT | VI_DOINGINACT)) == 0) { in ffs_snapshot()
574 VI_UNLOCK(xvp); in ffs_snapshot()
575 VOP_UNLOCK(xvp); in ffs_snapshot()
576 vdrop(xvp); in ffs_snapshot()
579 VI_UNLOCK(xvp); in ffs_snapshot()
582 vn_printf(xvp, "ffs_snapshot: busy vnode "); in ffs_snapshot()
584 if (VOP_GETATTR(xvp, &vat, td->td_ucred) == 0 && in ffs_snapshot()
586 VOP_UNLOCK(xvp); in ffs_snapshot()
587 vdrop(xvp); in ffs_snapshot()
590 xp = VTOI(xvp); in ffs_snapshot()
592 VOP_UNLOCK(xvp); in ffs_snapshot()
593 vdrop(xvp); in ffs_snapshot()
606 xvp->v_type, NULL, SINGLETON_KEY); in ffs_snapshot()
623 VOP_UNLOCK(xvp); in ffs_snapshot()
624 vdrop(xvp); in ffs_snapshot()
634 error = softdep_journal_lookup(mp, &xvp); in ffs_snapshot()
637 xp = VTOI(xvp); in ffs_snapshot()
644 vput(xvp); in ffs_snapshot()