Lines Matching refs:cur_cmd
40 struct scsi_cmnd *cur_cmd; /* Current queued command */
68 if (dev->cur_cmd)
69 imm_scsi_pointer(dev->cur_cmd)->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;
968 dev->cur_cmd = NULL; /* Forget the problem */
993 dev->cur_cmd = NULL; /* Forget the problem */