• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/

Lines Matching refs:input_Q

284 	 * Add the cmd to the end of 'input_Q'. Note that REQUEST_SENSE
289 if (!(hostdata->input_Q) || (cmd->cmnd[0] == REQUEST_SENSE)) {
290 cmd->host_scribble = (uchar *) hostdata->input_Q;
291 hostdata->input_Q = cmd;
293 for (tmp = (Scsi_Cmnd *) hostdata->input_Q; tmp->host_scribble; tmp = (Scsi_Cmnd *) tmp->host_scribble);
297 /* We know that there's at least one command in 'input_Q' now.
312 * the input_Q, using the first command we find that's intended
339 * Search through the input_Q for a command destined
343 cmd = (Scsi_Cmnd *) hostdata->input_Q;
366 hostdata->input_Q = (Scsi_Cmnd *) cmd->host_scribble;
394 * + Commands should NOT disconnect if input_Q is empty.
395 * + Disconnect should be allowed if there are commands in input_Q
413 if (!(hostdata->input_Q)) /* input_Q empty? */
415 for (prev = (Scsi_Cmnd *) hostdata->input_Q; prev; prev = (Scsi_Cmnd *) prev->host_scribble) {
417 for (prev = (Scsi_Cmnd *) hostdata->input_Q; prev; prev = (Scsi_Cmnd *) prev->host_scribble)
576 * to search the input_Q again...
1363 /* If yes, put losing command back on top of input_Q. */
1370 cmd->host_scribble = (uchar *) hostdata->input_Q;
1371 hostdata->input_Q = cmd;
1380 cmd->host_scribble = (uchar *) hostdata->input_Q;
1381 hostdata->input_Q = cmd;
1535 hostdata->input_Q = NULL;
1569 tmp = (Scsi_Cmnd *) hostdata->input_Q;
1577 printk(KERN_WARNING "scsi%d: Abort - removing command %ld from input_Q. ", instance->host_no, cmd->serial_number);
1909 hostdata->input_Q = NULL;
2147 cmd = (Scsi_Cmnd *) hd->input_Q;