Lines Matching defs:do_wait
594 /* Do the scsi command. Waits until command performed if do_wait is true.
599 int bytes, int direction, int timeout, int retries, int do_wait)
606 if (!do_wait && ((STp->buffer)->last_SRpnt)) {
624 if (!do_wait)
653 } else if (do_wait) {
971 static int test_ready(struct scsi_tape *STp, int do_wait)
979 max_wait = do_wait ? ST_BLOCK_SECONDS : 0;
1047 int i, retval, new_session = 0, do_wait;
1069 do_wait = ((filp->f_flags & O_NONBLOCK) == 0);
1070 retval = test_ready(STp, do_wait);
1206 if (do_wait &&