Home
last modified time | relevance | path

Searched refs:nr_wait (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/io_uring/
H A Dio_uring.c1299 unsigned nr_wait, nr_tw, nr_tw_prev; in io_req_local_work_add()
1319 /* Large enough to fail the nr_wait comparison below */ in io_req_local_work_add()
1335 nr_wait = atomic_read(&ctx->cq_wait_nr); in io_req_local_work_add()
1337 if (!nr_wait) in io_req_local_work_add()
1340 if (nr_wait > nr_tw || nr_tw_prev >= nr_wait) in io_req_local_work_add()
2624 int nr_wait = (int) iowq.cq_tail - READ_ONCE(ctx->rings->cq.tail); in io_cqring_wait()
2628 atomic_set(&ctx->cq_wait_nr, nr_wait); in io_cqring_wait()
2645 io_run_local_work(ctx, nr_wait); in io_cqring_wait()
1300 unsigned nr_wait, nr_tw, nr_tw_prev; io_req_local_work_add() local
2625 int nr_wait = (int) iowq.cq_tail - READ_ONCE(ctx->rings->cq.tail); io_cqring_wait() local
/openbmc/linux/fs/ext4/
H A Dinode.c1055 int nr_wait = 0; in ext4_block_write_begin() local
1109 wait[nr_wait++] = bh; in ext4_block_write_begin()
1115 for (i = 0; i < nr_wait; i++) { in ext4_block_write_begin()
1123 for (i = 0; i < nr_wait; i++) { in ext4_block_write_begin()