Lines Matching refs:cmdstat
369 cmdstatp = &STp->buffer->cmdstat; in st_chk_result()
373 scode = STp->buffer->cmdstat.sense_hdr.sense_key; in st_chk_result()
480 STp->buffer->cmdstat.midlevel_result = SRpnt->result = req->errors; in st_scsi_execute_end()
481 STp->buffer->cmdstat.residual = req->resid_len; in st_scsi_execute_end()
583 STp->buffer->cmdstat.have_sense = 0; in st_do_scsi()
642 cmdstatp = &STbuffer->cmdstat; in write_behind_check()
662 STbuffer->cmdstat.midlevel_result, retval);) /* end DEB */ in write_behind_check()
696 if ((STp->buffer)->cmdstat.midlevel_result != 0) in cross_eof()
740 struct st_cmdstatus *cmdstatp = &STp->buffer->cmdstat; in st_flush_write_buffer()
917 struct st_cmdstatus *cmdstatp = &STp->buffer->cmdstat; in test_ready()
1065 if (!SRpnt->result && !STp->buffer->cmdstat.have_sense) { in check_tape()
1319 struct st_cmdstatus *cmdstatp = &STp->buffer->cmdstat; in st_flush()
1737 struct st_cmdstatus *cmdstatp = &STp->buffer->cmdstat; in st_write()
1903 struct st_cmdstatus *cmdstatp = &STp->buffer->cmdstat; in read_tape()
2023 STbp->buffer_bytes -= STp->buffer->cmdstat.residual; in read_tape()
2945 struct st_cmdstatus *cmdstatp = &STp->buffer->cmdstat; in st_int_ioctl()