Searched refs:ring_pages (Results 1 – 2 of 2) sorted by relevance
127 struct page **ring_pages; member313 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()[all …]
3338 static unsigned long ring_pages(unsigned sq_entries, unsigned cq_entries) in ring_pages() function3598 ring_pages(ctx->sq_entries, ctx->cq_entries)); in io_ring_ctx_free()3864 ring_pages(p->sq_entries, p->cq_entries)); in io_uring_create()3874 io_unaccount_mem(user, ring_pages(p->sq_entries, in io_uring_create()