Lines Matching refs:cmdstat
357 cmdstatp = &STp->buffer->cmdstat; in st_chk_result()
361 scode = STp->buffer->cmdstat.sense_hdr.sense_key; in st_chk_result()
466 STp->buffer->cmdstat.midlevel_result = SRpnt->result = req->errors; in st_scsi_execute_end()
467 STp->buffer->cmdstat.residual = req->resid_len; in st_scsi_execute_end()
569 STp->buffer->cmdstat.have_sense = 0; in st_do_scsi()
628 cmdstatp = &STbuffer->cmdstat; in write_behind_check()
647 tape_name(STp), STbuffer->cmdstat.midlevel_result, retval);) /* end DEB */ in write_behind_check()
681 if ((STp->buffer)->cmdstat.midlevel_result != 0) in cross_eof()
725 struct st_cmdstatus *cmdstatp = &STp->buffer->cmdstat; in st_flush_write_buffer()
907 struct st_cmdstatus *cmdstatp = &STp->buffer->cmdstat; in test_ready()
1056 if (!SRpnt->result && !STp->buffer->cmdstat.have_sense) { in check_tape()
1314 struct st_cmdstatus *cmdstatp = &STp->buffer->cmdstat; in st_flush()
1731 struct st_cmdstatus *cmdstatp = &STp->buffer->cmdstat; in st_write()
1898 struct st_cmdstatus *cmdstatp = &STp->buffer->cmdstat; in read_tape()
2012 STbp->buffer_bytes -= STp->buffer->cmdstat.residual; in read_tape()
2916 struct st_cmdstatus *cmdstatp = &STp->buffer->cmdstat; in st_int_ioctl()