Lines Matching refs:cur_cmd
40 struct scsi_cmnd *cur_cmd; /* Current queued command */
68 if (dev->cur_cmd)
69 dev->cur_cmd->SCp.phase = 1;
160 if (dev->cur_cmd) {
161 dev->cur_cmd->result = error_code << 16;
722 struct scsi_cmnd *cmd = dev->cur_cmd;
771 dev->cur_cmd = NULL;
918 if (dev->cur_cmd) {
924 dev->cur_cmd = cmd;
969 dev->cur_cmd = NULL; /* Forget the problem */
994 dev->cur_cmd = NULL; /* Forget the problem */