Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/sys/
H A Dopen.h66 #define OTYP_BLK 0 macro
/illumos-gate/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 Dfd.c612 if (fdp->d_regopen[OTYP_BLK]) { in fd_detach()
/illumos-gate/usr/src/uts/common/os/
H A Ddriver.c316 vp = makespecvp(*devp, (otype == OTYP_BLK) ? VBLK : VCHR); in dev_lopen()
351 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))
1858 if (otyp == OTYP_BLK) { in ldi_get_size()
/illumos-gate/usr/src/uts/i86pc/io/gfx_private/
H A Dgfxp_fb.c313 if (softc == NULL || otyp == OTYP_BLK) in gfxp_fb_open()
/illumos-gate/usr/src/uts/common/xen/io/
H A Dxenbus_dev.c341 if (otyp == OTYP_BLK) in xenbusdrv_open()
H A Devtchn_dev.c482 if (otyp == OTYP_BLK) in evtchndrv_open()
/illumos-gate/usr/src/uts/common/io/audio/impl/
H A Daudio_ddi.c155 if (otyp == OTYP_BLK) { in audio_open()
/illumos-gate/usr/src/uts/common/fs/specfs/
H A Dspecsubr.c875 error = dev_close(dev, flag, OTYP_BLK, cr); in device_close()
H A Dspecvnops.c680 type = (vp->v_type == VBLK ? OTYP_BLK : OTYP_CHR); in spec_open()
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev_disk.c480 error = ldi_open_by_dev(&dev, OTYP_BLK, spa_mode(spa), in vdev_disk_open()
/illumos-gate/usr/src/uts/common/io/overlay/
H A Doverlay_target.c1518 if (otype & OTYP_BLK) in overlay_target_open()
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvds.c5600 status = ldi_open_by_dev(&vd->dev[slice], OTYP_BLK, in vd_setup_full_disk()
5605 status = ldi_open_by_dev(&vd->dev[slice], OTYP_BLK, in vd_setup_full_disk()
5924 status = ldi_open_by_dev(&dev, OTYP_BLK, FREAD, kcred, &lhandle, in vd_setup_backend_vnode()
/illumos-gate/usr/src/uts/common/io/aac/
H A Daac.c6860 if (otyp != OTYP_BLK && otyp != OTYP_CHR) in aac_open()
6889 if (otyp != OTYP_BLK && otyp != OTYP_CHR) in aac_close()