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()
488 - STp->buffer->cmdstat.residual, in st_do_stats()
490 if (STp->buffer->cmdstat.residual > 0) in st_do_stats()
502 - STp->buffer->cmdstat.residual, in st_do_stats()
504 if (STp->buffer->cmdstat.residual > 0) in st_do_stats()
525 STp->buffer->cmdstat.midlevel_result = SRpnt->result = scmd->result; in st_scsi_execute_end()
526 STp->buffer->cmdstat.residual = scmd->resid_len; in st_scsi_execute_end()
643 STp->buffer->cmdstat.have_sense = 0; in st_do_scsi()
702 cmdstatp = &STbuffer->cmdstat; in write_behind_check()
722 STbuffer->cmdstat.midlevel_result, retval);) /* end DEB */ in write_behind_check()
756 if ((STp->buffer)->cmdstat.midlevel_result != 0) in cross_eof()
800 struct st_cmdstatus *cmdstatp = &STp->buffer->cmdstat; in st_flush_write_buffer()
974 struct st_cmdstatus *cmdstatp = &STp->buffer->cmdstat; in test_ready()
1122 if (!SRpnt->result && !STp->buffer->cmdstat.have_sense) { in check_tape()
1376 struct st_cmdstatus *cmdstatp = &STp->buffer->cmdstat; in st_flush()
1793 struct st_cmdstatus *cmdstatp = &STp->buffer->cmdstat; in st_write()
1959 struct st_cmdstatus *cmdstatp = &STp->buffer->cmdstat; in read_tape()
2082 STbp->buffer_bytes -= STp->buffer->cmdstat.residual; in read_tape()
3004 struct st_cmdstatus *cmdstatp = &STp->buffer->cmdstat; in st_int_ioctl()