Lines Matching refs:devvp
91 static int iso_mountfs(struct vnode *devvp, struct mount *mp);
130 struct vnode *devvp; in cd9660_mount() local
165 devvp = ndp.ni_vp; in cd9660_mount()
167 if (!vn_isdisk(devvp, &error)) { in cd9660_mount()
168 vput(devvp); in cd9660_mount()
177 error = VOP_ACCESS(devvp, accmode, td->td_ucred, td); in cd9660_mount()
181 vput(devvp); in cd9660_mount()
186 error = iso_mountfs(devvp, mp); in cd9660_mount()
188 vrele(devvp); in cd9660_mount()
190 if (devvp != imp->im_devvp) in cd9660_mount()
192 vput(devvp); in cd9660_mount()
204 iso_mountfs(devvp, mp) in iso_mountfs() argument
205 struct vnode *devvp; in iso_mountfs()
227 dev = devvp->v_rdev;
231 error = g_vfs_open(devvp, &cp, "cd9660", 0);
234 VOP_UNLOCK(devvp, 0);
237 if (devvp->v_rdev->si_iosize_max != 0)
238 mp->mnt_iosize_max = devvp->v_rdev->si_iosize_max;
242 bo = &devvp->v_bufobj;
261 if ((error = bread(devvp, iso_blknum * btodb(ISO_DEFAULT_BLOCK_SIZE),
386 isomp->im_devvp = devvp;