Lines Matching refs:device_vnode
229 struct vnode *device_vnode = NULLVP;
534 device_vnode = devvp;
541 device_vnode = mp->mnt_devvp;
542 if (device_vnode && suser(vfs_context_ucred(ctx), NULL)) {
543 if ((error = vnode_authorize(device_vnode, NULL,
548 device_vnode = NULLVP;
595 if (device_vnode != NULL) {
596 VNOP_IOCTL(device_vnode, DKIOCGETBSDUNIT, (caddr_t)&mp->mnt_devbsdunit, 0, NULL);
603 error = VFS_MOUNT(mp, device_vnode, fsmountargs, ctx);
710 if (device_vnode) {
711 device_vnode->v_specflags |= SI_MOUNTEDON;
719 vfs_init_io_attributes(device_vnode, mp);
732 if (device_vnode ) {
733 VNOP_CLOSE(device_vnode, ronly ? FREAD : FREAD|FWRITE, ctx);
734 vnode_rele(device_vnode);
757 if (device_vnode != NULLVP) {
758 VNOP_CLOSE(device_vnode, mp->mnt_flag & MNT_RDONLY ? FREAD : FREAD|FWRITE,