Searched refs:nr_wait (Results 1 – 2 of 2) sorted by relevance
1162 unsigned nr_wait, nr_tw, nr_tw_prev; in io_req_local_work_add() local1219 nr_wait = atomic_read(&ctx->cq_wait_nr); in io_req_local_work_add()1221 if (nr_tw < nr_wait) in io_req_local_work_add()1224 if (nr_tw_prev >= nr_wait) in io_req_local_work_add()2574 int nr_wait; in io_cqring_wait() local2578 nr_wait = (int) iowq.cq_tail - in io_cqring_wait()2581 nr_wait = 1; in io_cqring_wait()2584 atomic_set(&ctx->cq_wait_nr, nr_wait); in io_cqring_wait()2601 io_run_local_work(ctx, nr_wait); in io_cqring_wait()
1028 int nr_wait = 0; in ext4_block_write_begin() local1093 wait[nr_wait++] = bh; in ext4_block_write_begin()1099 for (i = 0; i < nr_wait; i++) { in ext4_block_write_begin()1111 for (i = 0; i < nr_wait; i++) { in ext4_block_write_begin()