Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/
H A Daio.c562 #define AIO_EVENTS_PER_PAGE (PAGE_SIZE / sizeof(struct io_event)) macro
564 #define AIO_EVENTS_OFFSET (AIO_EVENTS_PER_PAGE - AIO_EVENTS_FIRST_PAGE)
1125 ev_page = kmap_atomic(ctx->ring_pages[pos / AIO_EVENTS_PER_PAGE]); in aio_complete()
1126 event = ev_page + pos % AIO_EVENTS_PER_PAGE; in aio_complete()
1131 flush_dcache_page(ctx->ring_pages[pos / AIO_EVENTS_PER_PAGE]); in aio_complete()
1236 page = ctx->ring_pages[pos / AIO_EVENTS_PER_PAGE]; in aio_read_events_ring()
1237 pos %= AIO_EVENTS_PER_PAGE; in aio_read_events_ring()
1240 avail = min_t(long, avail, AIO_EVENTS_PER_PAGE - pos); in aio_read_events_ring()
/kernel/linux/linux-6.6/fs/
H A Daio.c587 #define AIO_EVENTS_PER_PAGE (PAGE_SIZE / sizeof(struct io_event)) macro
589 #define AIO_EVENTS_OFFSET (AIO_EVENTS_PER_PAGE - AIO_EVENTS_FIRST_PAGE)
1140 ev_page = page_address(ctx->ring_pages[pos / AIO_EVENTS_PER_PAGE]); in aio_complete()
1141 event = ev_page + pos % AIO_EVENTS_PER_PAGE; in aio_complete()
1145 flush_dcache_page(ctx->ring_pages[pos / AIO_EVENTS_PER_PAGE]); in aio_complete()
1248 page = ctx->ring_pages[pos / AIO_EVENTS_PER_PAGE]; in aio_read_events_ring()
1249 pos %= AIO_EVENTS_PER_PAGE; in aio_read_events_ring()
1252 avail = min_t(long, avail, AIO_EVENTS_PER_PAGE - pos); in aio_read_events_ring()

Completed in 14 milliseconds