Lines Matching refs:cur_cmd
34 struct scsi_cmnd *cur_cmd; /* Current queued command */
57 if (dev->cur_cmd)
58 dev->cur_cmd->SCp.phase = 1;
182 if (dev->cur_cmd) {
183 dev->cur_cmd->result = error_code << 16;
632 struct scsi_cmnd *cmd = dev->cur_cmd;
682 dev->cur_cmd = NULL;
806 if (dev->cur_cmd) {
812 dev->cur_cmd = cmd;
857 dev->cur_cmd = NULL; /* Forget the problem */
880 dev->cur_cmd = NULL; /* Forget the problem */