Searched refs:SENSE_KEY (Results 1 – 10 of 10) sorted by relevance
/illumos-gate/usr/src/cmd/cdrw/ |
H A D | transport.c | 139 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 D | blank.c | 186 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 D | transport.h | 37 #define SENSE_KEY(rqbuf) (rqbuf[2]) /* scsi error category */ macro
|
H A D | misc_scsi.c | 664 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 D | copycd.c | 337 SENSE_KEY(rqbuf), ASC(rqbuf), ASCQ(rqbuf)); in copy_cd() 413 if ((SENSE_KEY(rqbuf) == 2) && in copy_cd()
|
H A D | write_image.c | 189 if ((SENSE_KEY(rqbuf) == 2) && in write_image()
|
H A D | trackio.c | 432 te->key = SENSE_KEY(rqbuf) & 0xf; in write_track() 527 te->key = SENSE_KEY(rqbuf) & 0xf; in write_track()
|
H A D | device.c | 672 ((SENSE_KEY(rqbuf) & 0x0f) == 2) && (ASC(rqbuf) == 0x3A) && in check_device()
|
/illumos-gate/usr/src/cmd/hal/utils/ |
H A D | cdutils.c | 34 #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 D | rmf_misc.c | 52 #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()
|