Lines Matching refs:sense_hdr
328 SCSI_SENSE_BUFFERSIZE, &s->sense_hdr); in st_analyze_sense()
372 scode = STp->buffer->cmdstat.sense_hdr.sense_key; in st_chk_result()
415 cmdstatp->sense_hdr.asc == 0 && cmdstatp->sense_hdr.ascq == 0x17) in st_chk_result()
703 (cmdstatp->sense_hdr.sense_key == NO_SENSE || in write_behind_check()
704 cmdstatp->sense_hdr.sense_key == RECOVERED_ERROR)) { in write_behind_check()
800 (cmdstatp->sense_hdr.sense_key == NO_SENSE || in st_flush_write_buffer()
801 cmdstatp->sense_hdr.sense_key == RECOVERED_ERROR) && in st_flush_write_buffer()
987 scode = cmdstatp->sense_hdr.sense_key; in test_ready()
1012 cmdstatp->sense_hdr.asc == 0x3a) /* Check ASC */ in test_ready()
1395 (cmdstatp->sense_hdr.sense_key == NO_SENSE || in st_flush()
1396 cmdstatp->sense_hdr.sense_key == RECOVERED_ERROR) && in st_flush()
1793 scode = cmdstatp->sense_hdr.sense_key; in st_write()
1966 if (cmdstatp->sense_hdr.sense_key == BLANK_CHECK) in read_tape()
1975 if (cmdstatp->sense_hdr.sense_key == MEDIUM_ERROR) { in read_tape()
2056 cmdstatp->sense_hdr.sense_key == BLANK_CHECK) { in read_tape()
3017 if (cmdstatp->sense_hdr.sense_key == NO_SENSE || in st_int_ioctl()
3018 cmdstatp->sense_hdr.sense_key == RECOVERED_ERROR) { in st_int_ioctl()
3074 if (cmdstatp->sense_hdr.sense_key == ILLEGAL_REQUEST && in st_int_ioctl()
3086 if (cmdstatp->sense_hdr.sense_key == BLANK_CHECK) in st_int_ioctl()