Home
last modified time | relevance | path

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

/fs/
Daio.c219 #define AIO_EVENTS_PER_PAGE (PAGE_SIZE / sizeof(struct io_event)) macro
221 #define AIO_EVENTS_OFFSET (AIO_EVENTS_PER_PAGE - AIO_EVENTS_FIRST_PAGE)
637 ev_page = kmap_atomic(ctx->ring_pages[pos / AIO_EVENTS_PER_PAGE]); in aio_complete()
638 event = ev_page + pos % AIO_EVENTS_PER_PAGE; in aio_complete()
646 flush_dcache_page(ctx->ring_pages[pos / AIO_EVENTS_PER_PAGE]); in aio_complete()
730 avail = min_t(long, avail, AIO_EVENTS_PER_PAGE - in aio_read_events_ring()
731 ((head + AIO_EVENTS_OFFSET) % AIO_EVENTS_PER_PAGE)); in aio_read_events_ring()
734 page = ctx->ring_pages[pos / AIO_EVENTS_PER_PAGE]; in aio_read_events_ring()
735 pos %= AIO_EVENTS_PER_PAGE; in aio_read_events_ring()