Searched refs:OTYP_LYR (Results 1 - 23 of 23) sorted by relevance

/illumos-gate/usr/src/uts/common/sys/
H A Dopen.h48 * OTYP_LYR: open/close calls from a driver to another driver,
57 * Calls of the fifth type (OTYP_LYR) must obey the protocol rule
72 #define OTYP_LYR 4 macro
/illumos-gate/usr/src/uts/common/io/lvm/raid/
H A Draid_ioctl.c476 (void) raid_internal_close(mnum, OTYP_LYR, 0, 0);
637 (void) raid_internal_close(mnum, OTYP_LYR, 0, 0);
666 OTYP_LYR, MD_OFLG_ISINIT)) {
767 (void) raid_internal_close(mnum, OTYP_LYR, 0, 0);
812 if (raid_internal_open(mnum, (FREAD | FWRITE), OTYP_LYR, 0)) {
1580 if (raid_internal_open(mnum, (FREAD | FWRITE), OTYP_LYR, 0))
1583 (void) raid_internal_close(mnum, OTYP_LYR, 0, 0);
1955 if (raid_internal_open(mnum, (FREAD | FWRITE), OTYP_LYR, 0)) {
1968 (void) raid_internal_close(mnum, OTYP_LYR, 0, 0);
3141 OTYP_LYR, MD_OFLG_ISINI
[all...]
H A Draid_resync.c1012 (void) raid_internal_close(mnum, OTYP_LYR, 0, 0);
1064 if (raid_internal_open(mnum, FREAD | FWRITE, OTYP_LYR, 0)) {
/illumos-gate/usr/src/uts/common/io/blkdev/
H A Dblkdev.c948 for (int i = 0; i < OTYP_LYR; i++) {
956 if (otyp == OTYP_LYR) {
1002 if (otyp == OTYP_LYR) {
1012 for (int i = 0; last && (i < OTYP_LYR); i++) {
/illumos-gate/usr/src/uts/i86pc/i86hvm/io/
H A Dxdf_shell.c139 (otyp == OTYP_LYR))
609 if (otyp == OTYP_LYR) {
/illumos-gate/usr/src/uts/common/io/
H A Dramdisk.c227 case OTYP_LYR:
250 case OTYP_LYR:
H A Dlofi.c302 for (i = 0; last && (i < OTYP_LYR); i++) {
713 for (int i = 0; i < OTYP_LYR; i++) {
743 if (otyp == OTYP_LYR) {
784 if (otyp == OTYP_LYR) {
H A Dfd.c681 if (otyp == OTYP_LYR) {
746 if (otyp == OTYP_LYR)
980 if (otyp == OTYP_LYR) {
/illumos-gate/usr/src/uts/common/io/lvm/mirror/
H A Dmirror_resync.c2782 (void) md_unit_incopen(MD_SID(un), FREAD|FWRITE, OTYP_LYR); local
2783 (void) mirror_internal_close(MD_SID(un), OTYP_LYR, 0, (IOLOCK *)NULL); local
2806 OTYP_LYR, 0, (IOLOCK *)NULL) == 0) {
2808 (void) mirror_internal_close(MD_SID(un), OTYP_LYR, 0, local
2840 (void) mirror_internal_close(MD_SID(un), OTYP_LYR, 0, (IOLOCK *)NULL); local
2873 if (mirror_internal_open(mnum, (FREAD|FWRITE), OTYP_LYR, 0, lockp)) {
2899 (void) mirror_internal_close(mnum, OTYP_LYR, 0, lockp);
2932 (void) mirror_internal_close(mnum, OTYP_LYR, 0, lockp);
/illumos-gate/usr/src/uts/common/io/lvm/md/
H A Dmd_subr.c1116 if (otyp == OTYP_LYR)
1941 flag, OTYP_LYR, cred_p, md_oflags);
1952 err = md_unit_incopen(mnum, flag, OTYP_LYR);
1963 err = dev_lopen(&ddi_dev, flag, OTYP_LYR, cred_p);
1994 (ddi_dev, flag, OTYP_LYR, cred_p, md_cflags);
2000 (void) md_unit_decopen(mnum, OTYP_LYR);
2006 (void) dev_lclose(ddi_dev, flag, OTYP_LYR, cred_p);
H A Dmd.c1425 if ((otyp != OTYP_CHR) && (otyp != OTYP_LYR)) {
1588 if (otyp == OTYP_LYR)
H A Dmd_mddb.c217 if (dev_lopen(&ddi_dev, FREAD|FWRITE, OTYP_LYR, kcred) == 0)
227 (void) dev_lclose(md_dev64_to_dev(dev), FREAD|FWRITE, OTYP_LYR, kcred); local
/illumos-gate/usr/src/uts/common/io/scsi/targets/
H A Dses.c682 if (otyp == OTYP_LYR)
706 if (otyp == OTYP_LYR)
H A Dsd.c10095 * otyp - open type (OTYP_BLK, OTYP_CHR, OTYP_LYR)
10161 if (otyp == OTYP_LYR) {
10323 if (otyp == OTYP_LYR) {
10396 if (otyp == OTYP_LYR) {
10412 * otyp - close type (OTYP_BLK, OTYP_CHR, OTYP_LYR)
10462 if (otyp == OTYP_LYR) {
10606 if (otyp == OTYP_LYR) {
/illumos-gate/usr/src/uts/common/io/lvm/softpart/
H A Dsp.c1542 if (otyp != OTYP_LYR)
1547 if (otyp != OTYP_LYR)
/illumos-gate/usr/src/uts/intel/io/dktp/disk/
H A Dcmdk.c1093 if (otyp == OTYP_LYR) {
1200 if (otyp == OTYP_LYR)
/illumos-gate/usr/src/uts/common/avs/ns/sv/
H A Dsv.c1289 * of closes (OTYP_LYR open/close calls must be
1293 if (ret == 0 && otyp == OTYP_LYR) {
1336 if (otyp == OTYP_LYR) {
/illumos-gate/usr/src/uts/common/io/lvm/trans/
H A Dmdtrans.c1045 if (otyp == OTYP_LYR)
/illumos-gate/usr/src/uts/sun/io/
H A Dfd.c1558 if (otyp == OTYP_LYR) {
1620 if (otyp == OTYP_LYR) {
1666 if (otyp == OTYP_LYR) {
/illumos-gate/usr/src/uts/common/xen/io/
H A Dxdf.c3018 if (otyp == OTYP_LYR) {
3076 if (otyp == OTYP_LYR)
/illumos-gate/usr/src/uts/sun/io/dada/targets/
H A Ddad.c1374 if (otyp == OTYP_LYR) {
1535 if (otyp == OTYP_LYR) {
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzvol.c914 if (zv->zv_open_count[otyp] == 0 || otyp == OTYP_LYR) {
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvdc.c1258 if (otyp == OTYP_LYR) {
1278 if (otyp == OTYP_LYR) {

Completed in 276 milliseconds