Home
last modified time | relevance | path

Searched refs:nr_events (Results 1 – 1 of 1) sorted by relevance

/fs/
Daio.c106 unsigned nr_events = ctx->max_reqs; in aio_setup_ring() local
111 nr_events += 2; /* 1 is required, 2 for good luck */ in aio_setup_ring()
114 size += sizeof(struct io_event) * nr_events; in aio_setup_ring()
120 nr_events = (PAGE_SIZE * nr_pages - sizeof(struct aio_ring)) / sizeof(struct io_event); in aio_setup_ring()
156 info->nr = nr_events; /* trusted copy */ in aio_setup_ring()
159 ring->nr = nr_events; /* user copy */ in aio_setup_ring()
197 unsigned nr_events = ctx->max_reqs; in ctx_rcu_free() local
201 if (nr_events) { in ctx_rcu_free()
203 BUG_ON(aio_nr - nr_events > aio_nr); in ctx_rcu_free()
204 aio_nr -= nr_events; in ctx_rcu_free()
[all …]