Searched refs:nr_wait (Results 1 – 2 of 2) sorted by relevance
1141 unsigned nr_wait, nr_tw, nr_tw_prev; in io_req_local_work_add() local1198 nr_wait = atomic_read(&ctx->cq_wait_nr); in io_req_local_work_add()1200 if (nr_tw < nr_wait) in io_req_local_work_add()1203 if (nr_tw_prev >= nr_wait) in io_req_local_work_add()2590 int nr_wait; in io_cqring_wait() local2594 nr_wait = (int) iowq.cq_tail - in io_cqring_wait()2597 nr_wait = 1; in io_cqring_wait()2600 atomic_set(&ctx->cq_wait_nr, nr_wait); in io_cqring_wait()2617 io_run_local_work(ctx, nr_wait, nr_wait); in io_cqring_wait()
1039 int nr_wait = 0; in ext4_block_write_begin() local1104 wait[nr_wait++] = bh; in ext4_block_write_begin()1110 for (i = 0; i < nr_wait; i++) { in ext4_block_write_begin()1122 for (i = 0; i < nr_wait; i++) { in ext4_block_write_begin()