Searched refs:req_cachep (Results 1 – 1 of 1) sorted by relevance
/Linux-v5.10/fs/ |
D | io_uring.c | 969 static struct kmem_cache *req_cachep; variable 1139 ctx->fallback_req = kmem_cache_alloc(req_cachep, GFP_KERNEL); in io_ring_ctx_alloc() 1185 kmem_cache_free(req_cachep, ctx->fallback_req); in io_ring_ctx_alloc() 1824 ret = kmem_cache_alloc_bulk(req_cachep, gfp, sz, state->reqs); in io_alloc_req() 1831 state->reqs[0] = kmem_cache_alloc(req_cachep, gfp); in io_alloc_req() 1879 kmem_cache_free(req_cachep, req); in __io_free_req() 2121 kmem_cache_free_bulk(req_cachep, rb->to_free, rb->reqs); in __io_req_free_batch_flush() 6385 kmem_cache_free_bulk(req_cachep, state->free_reqs, state->reqs); in io_submit_state_end() 8316 kmem_cache_free(req_cachep, ctx->fallback_req); in io_ring_ctx_free() 9805 req_cachep = KMEM_CACHE(io_kiocb, SLAB_HWCACHE_ALIGN | SLAB_PANIC); in io_uring_init()
|