/titanic_50/usr/src/uts/common/os/ |
H A D | driver.c | 314 vp = makespecvp(*devp, (otype == OTYP_BLK) ? VBLK : VCHR); in dev_lopen() 349 vp = makespecvp(dev, (otype == OTYP_BLK) ? VBLK : VCHR); in dev_lclose() 493 if ((nblocks = e_ddi_getprop(dev, VBLK, "nblocks", in bdev_size() 498 if ((blksize = e_ddi_getprop(dev, VBLK, "blksize", in bdev_size() 500 blksize = e_ddi_getprop(DDI_DEV_T_ANY, VBLK, "device-blksize", in bdev_size() 518 if ((nblocks = e_ddi_getprop_int64(dev, VBLK, "Nblocks", in bdev_Size() 523 if ((blksize = e_ddi_getprop(dev, VBLK, "blksize", in bdev_Size() 525 blksize = e_ddi_getprop(DDI_DEV_T_ANY, VBLK, "device-blksize", in bdev_Size()
|
H A D | devpolicy.c | 372 de->dpe_spec = ds->dps_isblock ? VBLK : VCHR; in parse_policy() 629 itmp[ind].dps_isblock = de->dpe_spec == VBLK; in devpolicy_get() 664 if (spec != VBLK && spec != VCHR) { in devpolicy_getbyname()
|
H A D | share.c | 445 return (vp->v_type != VCHR && vp->v_type != VBLK && in isreadonly()
|
/titanic_50/usr/src/uts/common/cpr/ |
H A D | cpr_misc.c | 299 if (vp->v_type != VBLK) in cpr_verify_statefile_path() 461 if (C_VP->v_type != VBLK) in cpr_alloc_statefile() 489 if (C_VP->v_type != VREG && C_VP->v_type != VBLK) { in cpr_alloc_statefile() 498 if (C_VP->v_type != VBLK) { in cpr_alloc_statefile() 629 if (vp->v_type == VBLK) { in cpr_statefile_ok() 677 if (vp->v_type == VBLK) { in cpr_statefile_ok()
|
H A D | cpr_dump.c | 966 if (vp->v_type == VBLK) { in cpr_write() 989 if (vp->v_type == VBLK) { in cpr_write()
|
/titanic_50/usr/src/uts/common/fs/specfs/ |
H A D | specvnops.c | 578 ASSERT((vp->v_type == VCHR) || (vp->v_type == VBLK)); in spec_open() 579 if ((vp->v_type != VCHR) && (vp->v_type != VBLK)) in spec_open() 677 type = (vp->v_type == VBLK ? OTYP_BLK : OTYP_CHR); in spec_open() 720 ((cvp->v_type == VBLK) && in spec_open() 903 ASSERT(type == VCHR || type == VBLK); in spec_close() 990 ASSERT(vp->v_type == VCHR || vp->v_type == VBLK); in spec_read() 1096 ASSERT(vp->v_type == VCHR || vp->v_type == VBLK); in spec_write() 1497 if ((sp->s_flag & (SACC|SUPD|SCHG)) == 0 && vp->v_type != VBLK) { in spec_fsync() 1506 if (vp->v_type == VBLK && cvp != vp && vn_has_cached_data(cvp) && in spec_fsync() 1515 if ((vp->v_type == VBLK || vp->v_type == VCHR) && in spec_fsync() [all …]
|
H A D | specvfsops.c | 138 if (vp->v_type == VBLK && vn_has_cached_data(vp)) { in spec_sync()
|
H A D | specsubr.c | 189 if (type == VBLK || type == VCHR) { in specvp() 516 if ((vp->v_type != VBLK) && (vp->v_type != VCHR) || in common_specvp() 859 case VBLK: in device_close()
|
/titanic_50/usr/src/uts/common/syscall/ |
H A D | mknod.c | 84 if (vattr.va_type == VCHR || vattr.va_type == VBLK) { in mknodat()
|
H A D | umount.c | 179 } else if (fsrootvp->v_type == VBLK) in umount2()
|
H A D | stat.c | 222 ((vp->v_type == VBLK) || (vp->v_type == VCHR))) { in cstat() 338 ((vp->v_type == VBLK) || (vp->v_type == VCHR))) { in cstat32()
|
/titanic_50/usr/src/uts/common/fs/devfs/ |
H A D | devfs_subr.c | 401 vp->v_type = dmd->ddm_spec_type == S_IFCHR ? VCHR : VBLK; in dv_mknod() 693 ASSERT(vp->v_type == VDIR || vp->v_type == VCHR || vp->v_type == VBLK); in dv_shadow_node() 797 case VBLK: in dv_shadow_node() 1233 if (vp->v_type == VCHR || vp->v_type == VBLK) { in dv_find() 1444 ASSERT((vp->v_type == VCHR) || (vp->v_type == VBLK)); in dv_cleandir() 1521 ASSERT(vp->v_type == VCHR || vp->v_type == VBLK); in dv_reset_perm_dir() 1685 vp->v_type == VCHR || vp->v_type == VBLK); in devfs_remdrv_rmdir() 1828 vp->v_type == VCHR || vp->v_type == VBLK); in devfs_remdrv_cleanup()
|
H A D | devfs_vnops.c | 174 if (!(vp->v_type == VDIR || vp->v_type == VCHR || vp->v_type == VBLK)) { in devfs_getattr() 362 if (!(vp->v_type == VDIR || vp->v_type == VCHR || vp->v_type == VBLK)) { in devfs_setattr() 620 ASSERT(vp->v_type == VDIR || vp->v_type == VCHR || vp->v_type == VBLK); in devfs_getsecattr() 654 ASSERT(vp->v_type == VDIR || vp->v_type == VCHR || vp->v_type == VBLK); in devfs_setsecattr() 668 ASSERT(vp->v_type == VCHR || vp->v_type == VBLK); in devfs_setsecattr()
|
/titanic_50/usr/src/uts/common/sys/ |
H A D | lofi.h | 183 ((vtype == VREG) || (vtype == VBLK) || (vtype == VCHR))
|
/titanic_50/usr/src/uts/common/io/ |
H A D | dump.c | 176 if (vp->v_type == VBLK) in dump_ioctl()
|
/titanic_50/usr/src/uts/common/fs/dev/ |
H A D | sdev_zvolops.c | 295 ((SDEVTOV(dv)->v_type == VBLK || SDEVTOV(dv)->v_type == VCHR) && in devzvol_validate() 587 expected_type = VBLK; in devzvol_mk_ngz_node() 610 vattr.va_type = VBLK; in devzvol_mk_ngz_node()
|
H A D | sdev_subr.c | 114 VBLK, /* va_type */ 1361 } else if ((vp->v_type == VCHR) || (vp->v_type == VBLK)) { in sdev_vattr_merge() 1380 else if (type == VBLK) in sdev_getdefault_attr() 1395 case VBLK: in sdev_to_vp() 1639 case VBLK: in sdev_shadow_node()
|
/titanic_50/usr/src/uts/common/avs/ns/ |
H A D | contract.h | 161 #define VBLK 0 macro
|
/titanic_50/usr/src/stand/lib/fs/nfs/ |
H A D | nfs2ops.c | 179 VNON, VREG, VDIR, VBLK, VCHR, VLNK, VSOCK
|
H A D | nfs3ops.c | 191 { VBAD, VREG, VDIR, VBLK, VCHR, VLNK, VSOCK, VFIFO }; in nfs3getattr()
|
/titanic_50/usr/src/uts/common/vm/ |
H A D | vpm.c | 859 if (vp->v_type == VBLK) in vpm_map_pages() 1094 if (vp->v_type == VBLK) in vpm_sync_pages()
|
/titanic_50/usr/src/uts/common/fs/zev/ |
H A D | zev_checksums.c | 819 if (vp->v_type == VBLK || vp->v_type == VCHR) { in zev_create_checksum() 824 vp->v_type == VBLK ? 'b' : 'c', in zev_create_checksum()
|
/titanic_50/usr/src/uts/common/fs/zfs/ |
H A D | zfs_sa.c | 278 if (zp->z_vnode->v_type == VBLK || zp->z_vnode->v_type == VCHR) in zfs_sa_upgrade()
|
/titanic_50/usr/src/uts/common/fs/ufs/ |
H A D | ufs_vfsops.c | 352 if (svp->v_type != VBLK) { in ufs_mount() 371 svp = makespecvp(dev, VBLK); in ufs_mount() 533 devvp = makespecvp(rootdev, VBLK); in ufs_mountroot()
|
/titanic_50/usr/src/uts/common/fs/namefs/ |
H A D | namevfs.c | 503 case VBLK: resource_nodetype = "device"; break; in nm_mount()
|