Searched refs:nr_wait (Results 1 – 2 of 2) sorted by relevance
1150 unsigned nr_wait, nr_tw, nr_tw_prev; in io_req_local_work_add() local1207 nr_wait = atomic_read(&ctx->cq_wait_nr); in io_req_local_work_add()1209 if (nr_tw < nr_wait) in io_req_local_work_add()1212 if (nr_tw_prev >= nr_wait) in io_req_local_work_add()2569 int nr_wait; in io_cqring_wait() local2573 nr_wait = (int) iowq.cq_tail - in io_cqring_wait()2576 nr_wait = 1; in io_cqring_wait()2579 atomic_set(&ctx->cq_wait_nr, nr_wait); in io_cqring_wait()2596 io_run_local_work(ctx, nr_wait, nr_wait); in io_cqring_wait()
1035 int nr_wait = 0; in ext4_block_write_begin() local1100 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()