Lines Matching refs:scode
360 u8 scode; in st_chk_result() local
372 scode = STp->buffer->cmdstat.sense_hdr.sense_key; in st_chk_result()
374 scode = 0; in st_chk_result()
392 scode != NO_SENSE && in st_chk_result()
393 scode != RECOVERED_ERROR && in st_chk_result()
395 scode != BLANK_CHECK && in st_chk_result()
396 scode != VOLUME_OVERFLOW && in st_chk_result()
417 if (cmdstatp->have_sense && scode == UNIT_ATTENTION && cmdstatp->sense_hdr.asc == 0x29) in st_chk_result()
423 scode == RECOVERED_ERROR in st_chk_result()
970 int attentions, waits, max_wait, scode; in test_ready() local
991 scode = cmdstatp->sense_hdr.sense_key; in test_ready()
993 if (scode == UNIT_ATTENTION) { /* New media? */ in test_ready()
1005 if (scode == NOT_READY) { in test_ready()
1627 int undone, retry_eot = 0, scode; in st_write() local
1797 scode = cmdstatp->sense_hdr.sense_key; in st_write()
1801 scode == VOLUME_OVERFLOW) in st_write()
1829 (scode == NO_SENSE || scode == RECOVERED_ERROR)) { in st_write()