Searched refs:to_wait (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.10/tools/io_uring/ |
D | io_uring-bench.c | 290 int to_wait, to_submit, this_reap, to_prep; in submitter_fn() local 301 to_wait = 0; in submitter_fn() 303 to_wait = min(s->inflight + to_submit, BATCH_COMPLETE); in submitter_fn() 312 if (to_wait) in submitter_fn() 316 ret = io_uring_enter(s->ring_fd, to_submit, to_wait, in submitter_fn() 335 } while (sq_thread_poll && this_reap < to_wait); in submitter_fn()
|
/Linux-v5.10/drivers/iio/ |
D | industrialio-buffer.c | 54 size_t to_wait, int to_flush) in iio_buffer_ready() argument 65 to_wait = min_t(size_t, to_wait, 1); in iio_buffer_ready() 71 if (avail >= to_wait) { in iio_buffer_ready() 73 if (!to_wait && avail < to_flush) in iio_buffer_ready() 81 to_wait - avail); in iio_buffer_ready() 85 if (avail + flushed >= to_wait) in iio_buffer_ready() 111 size_t to_wait; in iio_buffer_read_outer() local 130 to_wait = 0; in iio_buffer_read_outer() 132 to_wait = min_t(size_t, n / datum_size, rb->watermark); in iio_buffer_read_outer() 141 if (!iio_buffer_ready(indio_dev, rb, to_wait, n / datum_size)) { in iio_buffer_read_outer()
|
/Linux-v5.10/fs/ |
D | io_uring.c | 6829 unsigned to_wait; member 6842 return io_cqring_events(ctx, noflush) >= iowq->to_wait || in io_should_wake() 6889 .to_wait = min_events, in io_cqring_wait()
|