Home
last modified time | relevance | path

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

/linux/io_uring/
H A Dio_uring.c1208 unsigned nr_wait, nr_tw, nr_tw_prev; in io_req_local_work_add() local
1265 nr_wait = atomic_read(&ctx->cq_wait_nr); in io_req_local_work_add()
1267 if (nr_tw < nr_wait) in io_req_local_work_add()
1270 if (nr_tw_prev >= nr_wait) in io_req_local_work_add()
2691 int nr_wait; in io_cqring_wait() local
2695 nr_wait = (int) iowq.cq_tail - in io_cqring_wait()
2698 nr_wait = 1; in io_cqring_wait()
2701 atomic_set(&ctx->cq_wait_nr, nr_wait); in io_cqring_wait()
2718 io_run_local_work(ctx, nr_wait, nr_wait); in io_cqring_wait()
/linux/fs/ext4/
H A Dinode.c1174 int nr_wait = 0; in ext4_block_write_begin() local
1240 wait[nr_wait++] = bh; in ext4_block_write_begin()
1246 for (i = 0; i < nr_wait; i++) { in ext4_block_write_begin()
1258 for (i = 0; i < nr_wait; i++) { in ext4_block_write_begin()