Searched refs:AIO_EVENTS_PER_PAGE (Results 1 – 1 of 1) sorted by relevance
580 #define AIO_EVENTS_PER_PAGE (PAGE_SIZE / sizeof(struct io_event)) macro582 #define AIO_EVENTS_OFFSET (AIO_EVENTS_PER_PAGE - AIO_EVENTS_FIRST_PAGE)1142 ev_page = folio_address(ctx->ring_folios[pos / AIO_EVENTS_PER_PAGE]); in aio_complete()1143 event = ev_page + pos % AIO_EVENTS_PER_PAGE; in aio_complete()1147 flush_dcache_folio(ctx->ring_folios[pos / AIO_EVENTS_PER_PAGE]); in aio_complete()1264 folio = ctx->ring_folios[pos / AIO_EVENTS_PER_PAGE]; in aio_read_events_ring()1265 pos %= AIO_EVENTS_PER_PAGE; in aio_read_events_ring()1268 avail = min_t(long, avail, AIO_EVENTS_PER_PAGE - pos); in aio_read_events_ring()