Lines Matching defs:do_wait
595 /* Do the scsi command. Waits until command performed if do_wait is true.
600 int bytes, int direction, int timeout, int retries, int do_wait)
607 if (!do_wait && ((STp->buffer)->last_SRpnt)) {
625 if (!do_wait)
654 } else if (do_wait) {
972 static int test_ready(struct scsi_tape *STp, int do_wait)
980 max_wait = do_wait ? ST_BLOCK_SECONDS : 0;
1048 int i, retval, new_session = 0, do_wait;
1070 do_wait = ((filp->f_flags & O_NONBLOCK) == 0);
1071 retval = test_ready(STp, do_wait);
1207 if (do_wait &&