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.c1148 unsigned nr_wait, nr_tw, nr_tw_prev; in io_req_local_work_add() local
1205 nr_wait = atomic_read(&ctx->cq_wait_nr); in io_req_local_work_add()
1207 if (nr_tw < nr_wait) in io_req_local_work_add()
1210 if (nr_tw_prev >= nr_wait) in io_req_local_work_add()
2567 int nr_wait; in io_cqring_wait() local
2571 nr_wait = (int) iowq.cq_tail - in io_cqring_wait()
2574 nr_wait = 1; in io_cqring_wait()
2577 atomic_set(&ctx->cq_wait_nr, nr_wait); in io_cqring_wait()
2594 io_run_local_work(ctx, nr_wait, nr_wait); in io_cqring_wait()
/linux/fs/ext4/
H A Dinode.c1035 int nr_wait = 0; in ext4_block_write_begin() local
1100 wait[nr_wait++] = bh; in ext4_block_write_begin()
1106 for (i = 0; i < nr_wait; i++) { in ext4_block_write_begin()
1118 for (i = 0; i < nr_wait; i++) { in ext4_block_write_begin()