Home
last modified time | relevance | path

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

/linux/fs/
H A Daio.c633 #define AIO_EVENTS_PER_PAGE (PAGE_SIZE / sizeof(struct io_event)) macro
635 #define AIO_EVENTS_OFFSET (AIO_EVENTS_PER_PAGE - AIO_EVENTS_FIRST_PAGE)
1195 ev_page = folio_address(ctx->ring_folios[pos / AIO_EVENTS_PER_PAGE]); in aio_complete()
1196 event = ev_page + pos % AIO_EVENTS_PER_PAGE; in aio_complete()
1200 flush_dcache_folio(ctx->ring_folios[pos / AIO_EVENTS_PER_PAGE]); in aio_complete()
1317 folio = ctx->ring_folios[pos / AIO_EVENTS_PER_PAGE]; in aio_read_events_ring()
1318 pos %= AIO_EVENTS_PER_PAGE; in aio_read_events_ring()
1321 avail = min_t(long, avail, AIO_EVENTS_PER_PAGE - pos); in aio_read_events_ring()