Home
last modified time | relevance | path

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

/linux/io_uring/
H A Dregister.c370 unsigned short n_ring_pages; member
382 io_pages_unmap(r->rings, &r->ring_pages, &r->n_ring_pages, in io_register_free_rings()
387 io_pages_free(&r->ring_pages, r->n_ring_pages); in io_register_free_rings()
445 n.rings = io_pages_map(&n.ring_pages, &n.n_ring_pages, size); in io_register_resize_rings()
447 n.rings = __io_uaddr_map(&n.ring_pages, &n.n_ring_pages, in io_register_resize_rings()
559 swap_old(ctx, o, n, n_ring_pages); in io_register_resize_rings()
H A Dmemmap.c341 npages = min(ctx->n_ring_pages, (sz + PAGE_SIZE - 1) >> PAGE_SHIFT); in io_uring_mmap()
H A Dio_uring.c2637 return __io_uaddr_map(&ctx->ring_pages, &ctx->n_ring_pages, uaddr, in io_rings_map()
2651 io_pages_unmap(ctx->rings, &ctx->ring_pages, &ctx->n_ring_pages, in io_rings_free()
2656 io_pages_free(&ctx->ring_pages, ctx->n_ring_pages); in io_rings_free()
2657 ctx->n_ring_pages = 0; in io_rings_free()
3494 rings = io_pages_map(&ctx->ring_pages, &ctx->n_ring_pages, size); in io_allocate_scq_urings()
/linux/include/linux/
H A Dio_uring_types.h433 unsigned short n_ring_pages; member