Home
last modified time | relevance | path

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

/fs/
Daio.c121 unsigned nr_events; member
465 static int aio_setup_ring(struct kioctx *ctx, unsigned int nr_events) in aio_setup_ring() argument
475 nr_events += 2; /* 1 is required, 2 for good luck */ in aio_setup_ring()
478 size += sizeof(struct io_event) * nr_events; in aio_setup_ring()
491 nr_events = (PAGE_SIZE * nr_pages - sizeof(struct aio_ring)) in aio_setup_ring()
546 ctx->nr_events = nr_events; /* trusted copy */ in aio_setup_ring()
549 ring->nr = nr_events; /* user copy */ in aio_setup_ring()
713 static struct kioctx *ioctx_alloc(unsigned nr_events) in ioctx_alloc() argument
723 unsigned int max_reqs = nr_events; in ioctx_alloc()
734 nr_events = max(nr_events, num_possible_cpus() * 4); in ioctx_alloc()
[all …]