Searched refs:n_ring_pages (Results 1 – 4 of 4) sorted by relevance
/linux/io_uring/ |
H A D | register.c | 370 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 D | memmap.c | 341 npages = min(ctx->n_ring_pages, (sz + PAGE_SIZE - 1) >> PAGE_SHIFT); in io_uring_mmap()
|
H A D | io_uring.c | 2637 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 D | io_uring_types.h | 433 unsigned short n_ring_pages; member
|