Searched refs:nr_wait (Results 1 – 3 of 3) sorted by relevance
195 int ret, nr_wait; in io_cqring_wait() local222 nr_wait = (int) iowq.cq_tail - READ_ONCE(rings->cq.tail); in io_cqring_wait()260 atomic_set(&ctx->cq_wait_nr, nr_wait); in io_cqring_wait()277 io_run_local_work(ctx, nr_wait, nr_wait); in io_cqring_wait()312 nr_wait = (int) iowq.cq_tail - in io_cqring_wait()315 nr_wait = 1; in io_cqring_wait()
173 unsigned nr_wait, nr_tw, nr_tw_prev; in io_req_local_work_add() local229 nr_wait = atomic_read(&ctx->cq_wait_nr); in io_req_local_work_add()231 if (nr_tw < nr_wait) in io_req_local_work_add()234 if (nr_tw_prev >= nr_wait) in io_req_local_work_add()
1182 int nr_wait = 0; in ext4_block_write_begin() local1248 wait[nr_wait++] = bh; in ext4_block_write_begin()1254 for (i = 0; i < nr_wait; i++) { in ext4_block_write_begin()1266 for (i = 0; i < nr_wait; i++) { in ext4_block_write_begin()