/titanic_41/usr/src/uts/common/sys/ |
H A D | open.h | 68 #define OTYP_BLK 0 macro
|
/titanic_41/usr/src/uts/common/io/ |
H A D | tclient.c | 221 if (otyp != OTYP_BLK && otyp != OTYP_CHR) in tcli_open() 241 if (otyp != OTYP_BLK && otyp != OTYP_CHR) in tcli_close()
|
H A D | ramdisk.c | 224 case OTYP_BLK: in rd_opened() 247 case OTYP_BLK: in rd_closed()
|
H A D | gen_drv.c | 845 if (otyp != OTYP_BLK && otyp != OTYP_CHR) in gen_open() 871 if (otyp != OTYP_BLK && otyp != OTYP_CHR) in gen_close()
|
H A D | fssnap.c | 533 case OTYP_BLK: in snap_open() 590 case OTYP_BLK: in snap_close()
|
H A D | lofi.c | 263 case OTYP_BLK: in mark_opened() 283 case OTYP_BLK: in mark_closed()
|
H A D | fd.c | 607 if (fdp->d_regopen[OTYP_BLK]) { in fd_detach()
|
/titanic_41/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()
|
H A D | driver_lyr.c | 82 #define VTYP_TO_OTYP(i) (((i) == VCHR) ? OTYP_CHR : OTYP_BLK) 85 #define OTYP_VALID(i) (((i) == OTYP_CHR) || ((i) == OTYP_BLK)) 1841 if (otyp == OTYP_BLK) { in ldi_get_size()
|
/titanic_41/usr/src/uts/i86pc/i86hvm/io/ |
H A D | xdf_shell.c | 137 #define OTYP_VALID(otyp) ((otyp == OTYP_BLK) || \ 537 err = ldi_open_by_dev(&tgt_devt, OTYP_BLK, flag, credp, in xdfs_open() 554 err = ldi_open_by_dev(&tgt_devt, OTYP_BLK, flag, credp, in xdfs_open()
|
/titanic_41/usr/src/uts/common/io/audio/impl/ |
H A D | audio_ddi.c | 155 if (otyp == OTYP_BLK) { in audio_open()
|
/titanic_41/usr/src/uts/common/xen/io/ |
H A D | xenbus_dev.c | 341 if (otyp == OTYP_BLK) in xenbusdrv_open()
|
H A D | evtchn_dev.c | 480 if (otyp == OTYP_BLK) in evtchndrv_open()
|
/titanic_41/usr/src/uts/common/avs/ns/solaris/ |
H A D | nsc_raw.c | 381 OTYP_BLK, FREAD|FWRITE, cred, &cdi->lh, li); in _raw_open()
|
/titanic_41/usr/src/uts/common/fs/zfs/ |
H A D | vdev_disk.c | 432 error = ldi_open_by_dev(&dev, OTYP_BLK, spa_mode(spa), in vdev_disk_open()
|
/titanic_41/usr/src/uts/common/fs/specfs/ |
H A D | specsubr.c | 869 error = dev_close(dev, flag, OTYP_BLK, cr); in device_close()
|
H A D | specvnops.c | 677 type = (vp->v_type == VBLK ? OTYP_BLK : OTYP_CHR); in spec_open()
|
/titanic_41/usr/src/uts/i86pc/io/gfx_private/ |
H A D | gfxp_vgatext.c | 523 if (softc == NULL || otyp == OTYP_BLK) in gfxp_vgatext_open()
|
/titanic_41/usr/src/uts/intel/io/vgatext/ |
H A D | vgatext.c | 711 if (softc == NULL || otyp == OTYP_BLK) in vgatext_open()
|
/titanic_41/usr/src/uts/sun4v/io/ |
H A D | vds.c | 5595 status = ldi_open_by_dev(&vd->dev[slice], OTYP_BLK, in vd_setup_full_disk() 5600 status = ldi_open_by_dev(&vd->dev[slice], OTYP_BLK, in vd_setup_full_disk() 5919 status = ldi_open_by_dev(&dev, OTYP_BLK, FREAD, kcred, &lhandle, in vd_setup_backend_vnode()
|
/titanic_41/usr/src/uts/common/avs/ns/sv/ |
H A D | sv.c | 974 OTYP_BLK, FREAD|FWRITE, crp, &svp->sv_lh, li); in sv_enable()
|
/titanic_41/usr/src/uts/common/io/aac/ |
H A D | aac.c | 6854 if (otyp != OTYP_BLK && otyp != OTYP_CHR) in aac_open() 6883 if (otyp != OTYP_BLK && otyp != OTYP_CHR) in aac_close()
|