Lines Matching refs:cur_cmd
34 struct scsi_cmnd *cur_cmd; /* Current queued command */
58 if (dev->cur_cmd)
59 dev->cur_cmd->SCp.phase = 1;
166 if (dev->cur_cmd) {
167 dev->cur_cmd->result = error_code << 16;
616 struct scsi_cmnd *cmd = dev->cur_cmd;
666 dev->cur_cmd = NULL;
794 if (dev->cur_cmd) {
800 dev->cur_cmd = cmd;
847 dev->cur_cmd = NULL; /* Forget the problem */
868 dev->cur_cmd = NULL; /* Forget the problem */