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()
421 scode == RECOVERED_ERROR in st_chk_result()
968 int attentions, waits, max_wait, scode; in test_ready() local
989 scode = cmdstatp->sense_hdr.sense_key; in test_ready()
991 if (scode == UNIT_ATTENTION) { /* New media? */ in test_ready()
1003 if (scode == NOT_READY) { in test_ready()
1625 int undone, retry_eot = 0, scode; in st_write() local
1795 scode = cmdstatp->sense_hdr.sense_key; in st_write()
1799 scode == VOLUME_OVERFLOW) in st_write()
1827 (scode == NO_SENSE || scode == RECOVERED_ERROR)) { in st_write()