Lines Matching refs:ring_pages

126 	struct page		**ring_pages;  member
313 page_count(ctx->ring_pages[i])); in aio_free_ring()
314 page = ctx->ring_pages[i]; in aio_free_ring()
317 ctx->ring_pages[i] = NULL; in aio_free_ring()
321 if (ctx->ring_pages && ctx->ring_pages != ctx->internal_pages) { in aio_free_ring()
322 kfree(ctx->ring_pages); in aio_free_ring()
323 ctx->ring_pages = NULL; in aio_free_ring()
414 if (ctx->ring_pages[idx] != old) in aio_migratepage()
438 BUG_ON(ctx->ring_pages[idx] != old); in aio_migratepage()
439 ctx->ring_pages[idx] = new; in aio_migratepage()
489 ctx->ring_pages = ctx->internal_pages; in aio_setup_ring()
491 ctx->ring_pages = kcalloc(nr_pages, sizeof(struct page *), in aio_setup_ring()
493 if (!ctx->ring_pages) { in aio_setup_ring()
510 ctx->ring_pages[i] = page; in aio_setup_ring()
543 ring = kmap_atomic(ctx->ring_pages[0]); in aio_setup_ring()
552 flush_dcache_page(ctx->ring_pages[0]); in aio_setup_ring()
654 ring = kmap_atomic(ctx->ring_pages[0]); in ioctx_add_table()
1001 ring = kmap_atomic(ctx->ring_pages[0]); in user_refill_reqs_available()
1109 ev_page = kmap_atomic(ctx->ring_pages[pos / AIO_EVENTS_PER_PAGE]); in aio_complete()
1115 flush_dcache_page(ctx->ring_pages[pos / AIO_EVENTS_PER_PAGE]); in aio_complete()
1128 ring = kmap_atomic(ctx->ring_pages[0]); in aio_complete()
1132 flush_dcache_page(ctx->ring_pages[0]); in aio_complete()
1191 ring = kmap_atomic(ctx->ring_pages[0]); in aio_read_events_ring()
1220 page = ctx->ring_pages[pos / AIO_EVENTS_PER_PAGE]; in aio_read_events_ring()
1241 ring = kmap_atomic(ctx->ring_pages[0]); in aio_read_events_ring()
1244 flush_dcache_page(ctx->ring_pages[0]); in aio_read_events_ring()