Lines Matching refs:cmdstat
368 cmdstatp = &STp->buffer->cmdstat; in st_chk_result()
372 scode = STp->buffer->cmdstat.sense_hdr.sense_key; in st_chk_result()
485 - STp->buffer->cmdstat.residual, in st_do_stats()
487 if (STp->buffer->cmdstat.residual > 0) in st_do_stats()
499 - STp->buffer->cmdstat.residual, in st_do_stats()
501 if (STp->buffer->cmdstat.residual > 0) in st_do_stats()
520 STp->buffer->cmdstat.midlevel_result = SRpnt->result = req->errors; in st_scsi_execute_end()
521 STp->buffer->cmdstat.residual = req->resid_len; in st_scsi_execute_end()
637 STp->buffer->cmdstat.have_sense = 0; in st_do_scsi()
696 cmdstatp = &STbuffer->cmdstat; in write_behind_check()
716 STbuffer->cmdstat.midlevel_result, retval);) /* end DEB */ in write_behind_check()
750 if ((STp->buffer)->cmdstat.midlevel_result != 0) in cross_eof()
794 struct st_cmdstatus *cmdstatp = &STp->buffer->cmdstat; in st_flush_write_buffer()
971 struct st_cmdstatus *cmdstatp = &STp->buffer->cmdstat; in test_ready()
1119 if (!SRpnt->result && !STp->buffer->cmdstat.have_sense) { in check_tape()
1373 struct st_cmdstatus *cmdstatp = &STp->buffer->cmdstat; in st_flush()
1791 struct st_cmdstatus *cmdstatp = &STp->buffer->cmdstat; in st_write()
1957 struct st_cmdstatus *cmdstatp = &STp->buffer->cmdstat; in read_tape()
2077 STbp->buffer_bytes -= STp->buffer->cmdstat.residual; in read_tape()
2999 struct st_cmdstatus *cmdstatp = &STp->buffer->cmdstat; in st_int_ioctl()