Lines Matching defs:pass
566 int pass, count, result;
571 /* Perform up to 3 passes. The first pass uses a conservative
576 pass = 1;
580 "scsi scan: INQUIRY pass %d length %d\n",
581 pass, try_inquiry_len));
583 /* Each pass gets up to three chances to ignore Unit Attention */
648 /* When the first pass succeeds we gain information about
650 if (pass == 1) {
658 /* If more data is available perform the second pass */
661 pass = 2;
666 } else if (pass == 2) {
672 /* If this pass failed, the third pass goes back and transfers
673 * the same amount as we successfully got in the first pass. */
675 pass = 3;