Home
last modified time | relevance | path

Searched refs:VBLK (Results 1 – 25 of 69) sorted by relevance

123

/titanic_50/usr/src/uts/common/os/
H A Ddriver.c314 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 Ddevpolicy.c372 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 Dshare.c445 return (vp->v_type != VCHR && vp->v_type != VBLK && in isreadonly()
/titanic_50/usr/src/uts/common/cpr/
H A Dcpr_misc.c299 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 Dcpr_dump.c966 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 Dspecvnops.c578 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 Dspecvfsops.c138 if (vp->v_type == VBLK && vn_has_cached_data(vp)) { in spec_sync()
H A Dspecsubr.c189 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 Dmknod.c84 if (vattr.va_type == VCHR || vattr.va_type == VBLK) { in mknodat()
H A Dumount.c179 } else if (fsrootvp->v_type == VBLK) in umount2()
H A Dstat.c222 ((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 Ddevfs_subr.c401 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 Ddevfs_vnops.c174 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 Dlofi.h183 ((vtype == VREG) || (vtype == VBLK) || (vtype == VCHR))
/titanic_50/usr/src/uts/common/io/
H A Ddump.c176 if (vp->v_type == VBLK) in dump_ioctl()
/titanic_50/usr/src/uts/common/fs/dev/
H A Dsdev_zvolops.c295 ((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 Dsdev_subr.c114 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 Dcontract.h161 #define VBLK 0 macro
/titanic_50/usr/src/stand/lib/fs/nfs/
H A Dnfs2ops.c179 VNON, VREG, VDIR, VBLK, VCHR, VLNK, VSOCK
H A Dnfs3ops.c191 { VBAD, VREG, VDIR, VBLK, VCHR, VLNK, VSOCK, VFIFO }; in nfs3getattr()
/titanic_50/usr/src/uts/common/vm/
H A Dvpm.c859 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 Dzev_checksums.c819 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 Dzfs_sa.c278 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 Dufs_vfsops.c352 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 Dnamevfs.c503 case VBLK: resource_nodetype = "device"; break; in nm_mount()

123