Lines Matching refs:devvp
168 struct vnode *devvp; in ntfs_mount() local
208 NSM_FOLLOW_NOEMULROOT, &devvp); in ntfs_mount()
212 if (devvp->v_type != VBLK) { in ntfs_mount()
216 if (bdevsw_lookup(devvp->v_rdev) == NULL) { in ntfs_mount()
228 if (devvp != ntmp->um_devvp) { in ntfs_mount()
241 vrele(devvp); in ntfs_mount()
267 vn_lock(devvp, LK_EXCLUSIVE | LK_RETRY); in ntfs_mount()
268 err = VOP_OPEN(devvp, flags, FSCRED); in ntfs_mount()
269 VOP_UNLOCK(devvp); in ntfs_mount()
272 err = ntfs_mountfs(devvp, mp, args, l); in ntfs_mount()
274 vn_lock(devvp, LK_EXCLUSIVE | LK_RETRY); in ntfs_mount()
275 (void)VOP_CLOSE(devvp, flags, NOCRED); in ntfs_mount()
276 VOP_UNLOCK(devvp); in ntfs_mount()
291 vrele(devvp); in ntfs_mount()
318 ntfs_mountfs(struct vnode *devvp, struct mount *mp, struct ntfs_args *argsp, struct lwp *l) in ntfs_mountfs() argument
322 dev_t dev = devvp->v_rdev; in ntfs_mountfs()
332 vn_lock(devvp, LK_EXCLUSIVE | LK_RETRY); in ntfs_mountfs()
333 error = vinvalbuf(devvp, V_SAVE, l->l_cred, l, 0, 0); in ntfs_mountfs()
334 VOP_UNLOCK(devvp); in ntfs_mountfs()
340 error = bread(devvp, BBLOCK, BBSIZE, 0, &bp); in ntfs_mountfs()
366 ntmp->ntm_devvp = devvp; in ntfs_mountfs()
468 spec_node_setmountedfs(devvp, mp); in ntfs_mountfs()
484 spec_node_setmountedfs(devvp, NULL); in ntfs_mountfs()