Home
last modified time | relevance | path

Searched refs:SENSE_KEY (Results 1 – 10 of 10) sorted by relevance

/illumos-gate/usr/src/cmd/cdrw/
H A Dtransport.c139 if ((SENSE_KEY(rqbuf) == 2) && (ASC(rqbuf) == 4) && in uscsi()
153 if ((SENSE_KEY(rqbuf) == 5) && (ASC(rqbuf) == in uscsi()
168 if ((SENSE_KEY(rqbuf) == 2) && (ASC(rqbuf) == 4) && in uscsi()
191 if ((SENSE_KEY(rqbuf) == 6) && ((ASC(rqbuf) == 0x28) || in uscsi()
198 if ((SENSE_KEY(rqbuf) == 5) && in uscsi()
220 if ((SENSE_KEY(rqbuf) == 0) && (ASC(rqbuf) == 0) && in uscsi()
231 (uchar_t)SENSE_KEY(rqbuf), in uscsi()
H A Dblank.c186 SENSE_KEY(rqbuf), ASC(rqbuf), ASCQ(rqbuf)); in blank()
207 if (SENSE_KEY(rqbuf) == 2) { in blank()
211 } else if (SENSE_KEY(rqbuf) == 5) { in blank()
223 uscsi_status, SENSE_KEY(rqbuf), in blank()
H A Dtransport.h37 #define SENSE_KEY(rqbuf) (rqbuf[2]) /* scsi error category */ macro
H A Dmisc_scsi.c664 if (SENSE_KEY(rqbuf) == 2) { in finalize()
668 } else if (SENSE_KEY(rqbuf) == 5) { in finalize()
679 uscsi_status, SENSE_KEY(rqbuf), in finalize()
1137 uscsi_status, SENSE_KEY(rqbuf), in write_fini()
H A Dcopycd.c337 SENSE_KEY(rqbuf), ASC(rqbuf), ASCQ(rqbuf)); in copy_cd()
413 if ((SENSE_KEY(rqbuf) == 2) && in copy_cd()
H A Dwrite_image.c189 if ((SENSE_KEY(rqbuf) == 2) && in write_image()
H A Dtrackio.c432 te->key = SENSE_KEY(rqbuf) & 0xf; in write_track()
527 te->key = SENSE_KEY(rqbuf) & 0xf; in write_track()
H A Ddevice.c672 ((SENSE_KEY(rqbuf) & 0x0f) == 2) && (ASC(rqbuf) == 0x3A) && in check_device()
/illumos-gate/usr/src/cmd/hal/utils/
H A Dcdutils.c34 #define SENSE_KEY(rqbuf) (rqbuf[2]) /* scsi error category */ macro
85 if ((SENSE_KEY(rqbuf) == 2) && (ASC(rqbuf) == 4) && in uscsi()
98 if ((SENSE_KEY(rqbuf) == 6) && ((ASC(rqbuf) == 0x28) || in uscsi()
110 if ((SENSE_KEY(rqbuf) == 0) && (ASC(rqbuf) == 0) && in uscsi()
120 (uchar_t)SENSE_KEY(rqbuf), in uscsi()
/illumos-gate/usr/src/cmd/rmformat/
H A Drmf_misc.c52 #define SENSE_KEY(rqbuf) (rqbuf[2] & 0xf) /* scsi error category */ macro
1729 if ((SENSE_KEY(rqbuf) == 2) && (ASC(rqbuf) == 4) && in uscsi()
1741 if ((SENSE_KEY(rqbuf) == 6) && ((ASC(rqbuf) == 0x28) || in uscsi()
1752 (uchar_t)SENSE_KEY(rqbuf), in uscsi()