Lines Matching refs:cur_cmd
40 struct scsi_cmnd *cur_cmd; /* Current queued command */
73 if (dev->cur_cmd)
74 imm_scsi_pointer(dev->cur_cmd)->phase = 1;
165 if (dev->cur_cmd) {
166 dev->cur_cmd->result = error_code << 16;
736 struct scsi_cmnd *cmd = dev->cur_cmd;
785 dev->cur_cmd = NULL;
932 if (dev->cur_cmd) {
938 dev->cur_cmd = cmd;
982 dev->cur_cmd = NULL; /* Forget the problem */
1007 dev->cur_cmd = NULL; /* Forget the problem */