Lines Matching defs:do_wait
519 /* Do the scsi command. Waits until command performed if do_wait is true.
524 int bytes, int direction, int timeout, int retries, int do_wait)
531 if (!do_wait && ((STp->buffer)->last_SRpnt)) {
549 if (!do_wait)
578 } else if (do_wait) {
903 static int test_ready(struct scsi_tape *STp, int do_wait)
911 max_wait = do_wait ? ST_BLOCK_SECONDS : 0;
979 int i, retval, new_session = 0, do_wait;
1002 do_wait = ((filp->f_flags & O_NONBLOCK) == 0);
1003 retval = test_ready(STp, do_wait);
1132 if (do_wait &&