Lines Matching refs:issue_queue
682 SPRINTF("scsi%d: issue_queue\n", HOSTNO);
684 for (ptr = (struct scsi_cmnd *) hostdata->issue_queue; ptr; ptr = NEXT(ptr))
759 hostdata->issue_queue = NULL;
796 * cmd is added to the per instance issue_queue, with minor
877 if (!(hostdata->issue_queue) || (cmd->cmnd[0] == REQUEST_SENSE)) {
878 LIST(cmd, hostdata->issue_queue);
879 NEXT(cmd) = hostdata->issue_queue;
880 hostdata->issue_queue = cmd;
882 for (tmp = (struct scsi_cmnd *)hostdata->issue_queue;
961 * Search through the issue_queue for a command destined
965 for (tmp = (struct scsi_cmnd *) hostdata->issue_queue, prev = NULL;
970 for (tmp = (struct scsi_cmnd *) hostdata->issue_queue,
994 REMOVE(-1, hostdata->issue_queue, tmp, NEXT(tmp));
995 hostdata->issue_queue = NEXT(tmp);
1009 "lun %d removed from issue_queue\n",
1030 LIST(tmp, hostdata->issue_queue);
1031 NEXT(tmp) = hostdata->issue_queue;
1032 hostdata->issue_queue = tmp;
1038 "returned to issue_queue\n", HOSTNO);
1043 } /* for issue_queue */
2083 LIST(cmd,hostdata->issue_queue);
2084 NEXT(cmd) = hostdata->issue_queue;
2085 hostdata->issue_queue = (struct scsi_cmnd *) cmd;
2539 for (prev = (struct scsi_cmnd **) &(hostdata->issue_queue),
2540 tmp = (struct scsi_cmnd *) hostdata->issue_queue;
2691 * into the issue_queue (via scsi_done()), the aborted commands are