Searched refs:VCHR (Results 1 – 18 of 18) sorted by relevance
368 case VCHR: in spec_open()378 if (securelevel >= 2 && isdisk(dev, VCHR)) { in spec_open()544 case VCHR: in spec_read()684 case VCHR: in spec_write()842 case VCHR: in spec_ioctl()874 case VCHR: in spec_select()943 if (vp->v_type == VCHR) { in spec_fsync_internal()2253 if (vp && (vp->v_type == VBLK || vp->v_type == VCHR)) { in throttle_info_end_io()2805 case VCHR: in spec_close()2945 case VCHR: in spec_blktooff()[all …]
165 } else if ((ref->vp->v_type == VBLK) || (ref->vp->v_type == VCHR)) { in kern_ioctl_file_extents()367 } else if ((ref->vp->v_type == VBLK) || (ref->vp->v_type == VCHR)) { in kern_open_file_for_direct_io()447 } else if ((ref->vp->v_type == VBLK) || (ref->vp->v_type == VCHR)) { in kern_open_file_for_direct_io()596 if ((ref->vp->v_type == VBLK) || (ref->vp->v_type == VCHR)) { in kern_open_file_for_direct_io()
568 if (vp->v_type != VREG && vp->v_type != VCHR) { in mmap()590 if (vp->v_type == VCHR || vp->v_type == VSTR) { in mmap()
236 case VCHR: in isdisk()
259 case VCHR: in isdisk()
1106 if ((read_offset < 0) && (vnode_vtype(vp) != VCHR)) { in vn_read_common()1315 if ((write_offset < 0) && (vnode_vtype(vp) != VCHR)) { in vn_write()1541 case VCHR: in vn_stat_noauth()1722 case VCHR: in vn_ioctl()1749 } else if (vp->v_type == VCHR) { in vn_ioctl()
172 VNON, VFIFO, VCHR, VNON, VDIR, VNON, VBLK, VNON, enumerator2940 if (vp->v_type != VBLK && vp->v_type != VCHR) { in vflush()3333 if ((vp->v_type == VBLK || vp->v_type == VCHR) && vp->v_specinfo != 0) { in vgone()3479 if (in_type == VCHR) { in vnode_cmp_paired_dev()3511 return vnode_cmp_paired_dev(vp, blk_vp, VCHR, VBLK); in vnode_cmp_chrtoblk()7067 if (vp->v_type == VCHR || vp->v_type == VBLK) { in vnode_create_internal()7117 if (VCHR == vp->v_type) { in vnode_create_internal()8009 case VCHR: in vn_create()9762 case VCHR: in vnode_authorize_checkimmutable()9851 case VCHR: in vnode_authorize_opaque()[all …]
1100 if ((vp->v_type != VBLK) && (vp->v_type != VCHR)) { in buf_setdevice()1438 if (vp == NULL || vp->v_type == VCHR || vp->v_type == VBLK) { in buf_strategy()2100 if (vp->v_type == VBLK || vp->v_type == VCHR) { in bgetvp_locked()4531 if (vp && (vp->v_type == VBLK || vp->v_type == VCHR)) { in alloc_io_buf()
1070 case VCHR: in vnode_getname_printable()1079 "%c(%u, %u)", VCHR == vp->v_type ? 'c':'b', in vnode_getname_printable()
2097 return ((vp->v_type == VCHR) || (vp->v_type == VBLK)) ? 1 : 0; in vnode_isspec()2104 return (vp->v_type == VCHR)? 1 : 0; in vnode_ischr()2119 if (!((vt == VCHR) || (vt == VBLK))) { in vnode_isaliased()
2272 if (vp && (vp->v_type == VCHR || vp->v_type == VBLK)) { in attr_pack_file()2953 case VCHR: in vfs_attr_pack_internal()
5369 VATTR_SET(vap, va_type, VCHR); in mknodat_internal()6583 if (offset < 0 && vp->v_type != VCHR) { in lseek()12845 if (vp->v_type == VCHR || vp->v_type == VBLK) { in fsctl_internal()
181 if (ap->a_vp->v_type != VCHR) { in dead_read()
1242 vtype = (dnp->dn_type == DEV_BDEV) ? VBLK : VCHR; in devfs_dntovn()1258 if (vtype == VBLK || vtype == VCHR) { in devfs_dntovn()
493 } else if (vp->v_type == VCHR) { in devfs_getattr()1285 if (!(vap->va_type == VBLK) && !(vap->va_type == VCHR)) { in devfs_mknod()
174 case VCHR: in vtonfs_type()209 return VCHR; in nfstov_type()245 case VCHR: in vtonfsv2_mode()250 return MAKEIMODE(VCHR, m); in vtonfsv2_mode()
2093 case VCHR: in nfsrv_create()2188 } else if (vap->va_type == VCHR || vap->va_type == VBLK || in nfsrv_create()2190 if (vap->va_type == VCHR && rdev == 0xffffffff) { in nfsrv_create()2417 if (!error && (vtyp != VCHR) && (vtyp != VBLK) && (vtyp != VSOCK) && (vtyp != VFIFO)) { in nfsrv_mknod()2424 if ((vtyp == VCHR) || (vtyp == VBLK)) { in nfsrv_mknod()
94 VREG, VDIR, VBLK, VCHR, VLNK, enumerator