Lines Matching refs:cur_cmd
39 struct scsi_cmnd *cur_cmd; /* Current queued command */
66 if (dev->cur_cmd)
67 dev->cur_cmd->SCp.phase = 1;
176 if (dev->cur_cmd) {
177 dev->cur_cmd->result = error_code << 16;
728 struct scsi_cmnd *cmd = dev->cur_cmd;
777 dev->cur_cmd = NULL;
924 if (dev->cur_cmd) {
930 dev->cur_cmd = cmd;
973 dev->cur_cmd = NULL; /* Forget the problem */
1000 dev->cur_cmd = NULL; /* Forget the problem */