Lines Matching defs:devvp
228 struct vnode *devvp = NULLVP;
475 devvp = nd1.ni_vp;
479 if (devvp->v_type != VBLK) {
483 if (major(devvp->v_rdev) >= nblkdev) {
495 if ((error = vnode_authorize(devvp, NULL, accessmode, ctx)) != 0)
500 if ( (error = vnode_ref(devvp)) )
508 if ( (error = vfs_mountedon(devvp)) )
511 if (vcount(devvp) > 1 && !(vfs_flags(mp) & MNT_ROOTFS)) {
515 if ( (error = VNOP_FSYNC(devvp, MNT_WAIT, ctx)) ) {
519 if ( (error = buf_invalidateblks(devvp, BUF_WRITE_DATA, 0, 0)) )
525 devvp,
530 if ( (error = VNOP_OPEN(devvp, ronly ? FREAD : FREAD|FWRITE, ctx)) )
533 mp->mnt_devvp = devvp;
534 device_vnode = devvp;
750 if (devpath && devvp)
751 vnode_put(devvp);
768 vnode_rele(devvp);
770 if (devpath && devvp)
771 vnode_put(devvp);
1030 struct vnode *devvp = NULLVP;
1127 devvp = mp->mnt_devvp;
1128 vnode_clearmountedon(devvp);
1129 vnode_getalways(devvp);
1130 vnode_rele(devvp);
1131 VNOP_CLOSE(devvp, mp->mnt_flag & MNT_RDONLY ? FREAD : FREAD|FWRITE,
1133 vnode_put(devvp);