Lines Matching defs:vp
53 ufs_gjournal_modref(struct vnode *vp, int count)
66 ip = VTOI(vp);
106 ufs_gjournal_orphan(struct vnode *vp)
110 if (vp->v_mount->mnt_gjprovider == NULL)
112 if (vp->v_usecount < 2 || (vp->v_vflag & VV_DELETED))
114 ip = VTOI(vp);
115 if ((vp->v_type == VDIR && ip->i_nlink > 2) ||
116 (vp->v_type != VDIR && ip->i_nlink > 1)) {
119 vp->v_vflag |= VV_DELETED;
121 ufs_gjournal_modref(vp, 1);
125 ufs_gjournal_close(struct vnode *vp)
129 if (vp->v_mount->mnt_gjprovider == NULL)
131 if (!(vp->v_vflag & VV_DELETED))
133 ip = VTOI(vp);
136 ufs_gjournal_modref(vp, -1);