Home
last modified time | relevance | path

Searched refs:OTYP_BLK (Results 1 – 22 of 22) sorted by relevance

/titanic_41/usr/src/uts/common/sys/
H A Dopen.h68 #define OTYP_BLK 0 macro
/titanic_41/usr/src/uts/common/io/
H A Dtclient.c221 if (otyp != OTYP_BLK && otyp != OTYP_CHR) in tcli_open()
241 if (otyp != OTYP_BLK && otyp != OTYP_CHR) in tcli_close()
H A Dramdisk.c224 case OTYP_BLK: in rd_opened()
247 case OTYP_BLK: in rd_closed()
H A Dgen_drv.c845 if (otyp != OTYP_BLK && otyp != OTYP_CHR) in gen_open()
871 if (otyp != OTYP_BLK && otyp != OTYP_CHR) in gen_close()
H A Dfssnap.c533 case OTYP_BLK: in snap_open()
590 case OTYP_BLK: in snap_close()
H A Dlofi.c263 case OTYP_BLK: in mark_opened()
283 case OTYP_BLK: in mark_closed()
H A Dfd.c607 if (fdp->d_regopen[OTYP_BLK]) { in fd_detach()
/titanic_41/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()
H A Ddriver_lyr.c82 #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 Dxdf_shell.c137 #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 Daudio_ddi.c155 if (otyp == OTYP_BLK) { in audio_open()
/titanic_41/usr/src/uts/common/xen/io/
H A Dxenbus_dev.c341 if (otyp == OTYP_BLK) in xenbusdrv_open()
H A Devtchn_dev.c480 if (otyp == OTYP_BLK) in evtchndrv_open()
/titanic_41/usr/src/uts/common/avs/ns/solaris/
H A Dnsc_raw.c381 OTYP_BLK, FREAD|FWRITE, cred, &cdi->lh, li); in _raw_open()
/titanic_41/usr/src/uts/common/fs/zfs/
H A Dvdev_disk.c432 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 Dspecsubr.c869 error = dev_close(dev, flag, OTYP_BLK, cr); in device_close()
H A Dspecvnops.c677 type = (vp->v_type == VBLK ? OTYP_BLK : OTYP_CHR); in spec_open()
/titanic_41/usr/src/uts/i86pc/io/gfx_private/
H A Dgfxp_vgatext.c523 if (softc == NULL || otyp == OTYP_BLK) in gfxp_vgatext_open()
/titanic_41/usr/src/uts/intel/io/vgatext/
H A Dvgatext.c711 if (softc == NULL || otyp == OTYP_BLK) in vgatext_open()
/titanic_41/usr/src/uts/sun4v/io/
H A Dvds.c5595 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 Dsv.c974 OTYP_BLK, FREAD|FWRITE, crp, &svp->sv_lh, li); in sv_enable()
/titanic_41/usr/src/uts/common/io/aac/
H A Daac.c6854 if (otyp != OTYP_BLK && otyp != OTYP_CHR) in aac_open()
6883 if (otyp != OTYP_BLK && otyp != OTYP_CHR) in aac_close()