Lines Matching refs:issue_queue
697 SPRINTF("scsi%d: issue_queue\n", HOSTNO);
699 for (ptr = (Scsi_Cmnd *)hostdata->issue_queue; ptr; ptr = NEXT(ptr)) {
772 hostdata->issue_queue = NULL;
808 * cmd is added to the per instance issue_queue, with minor
890 if (!(hostdata->issue_queue) || (cmd->cmnd[0] == REQUEST_SENSE)) {
891 LIST(cmd, hostdata->issue_queue);
892 SET_NEXT(cmd, hostdata->issue_queue);
893 hostdata->issue_queue = cmd;
895 for (tmp = (Scsi_Cmnd *)hostdata->issue_queue;
973 * Search through the issue_queue for a command destined
977 for (tmp = (Scsi_Cmnd *) hostdata->issue_queue, prev = NULL;
985 for (tmp = (Scsi_Cmnd *) hostdata->issue_queue,
1009 REMOVE(-1, hostdata->issue_queue, tmp, NEXT(tmp));
1010 hostdata->issue_queue = NEXT(tmp);
1025 "lun %d removed from issue_queue\n",
1049 LIST(tmp, hostdata->issue_queue);
1050 SET_NEXT(tmp, hostdata->issue_queue);
1051 hostdata->issue_queue = tmp;
1058 "returned to issue_queue\n", HOSTNO);
1063 } /* for issue_queue */
2067 LIST(cmd,hostdata->issue_queue);
2068 SET_NEXT(cmd, hostdata->issue_queue);
2069 hostdata->issue_queue = (Scsi_Cmnd *) cmd;
2513 for (prev = (Scsi_Cmnd **)&(hostdata->issue_queue),
2514 tmp = (Scsi_Cmnd *)hostdata->issue_queue;
2679 * into the issue_queue (via scsi_done()), the aborted commands are