Searched refs:req_cachep (Results 1 - 3 of 3) sorted by relevance
/kernel/linux/linux-6.6/io_uring/ |
H A D | io_uring.h | 354 extern struct kmem_cache *req_cachep;
|
H A D | io_uring.c | 150 struct kmem_cache *req_cachep; variable 1095 ret = kmem_cache_alloc_bulk(req_cachep, gfp, ARRAY_SIZE(reqs), reqs); 1102 reqs[0] = kmem_cache_alloc(req_cachep, gfp); 2878 kmem_cache_free(req_cachep, req); in io_req_caches_free() 4661 req_cachep = kmem_cache_create_usercopy("io_kiocb", in io_uring_init()
|
/kernel/linux/linux-5.10/io_uring/ |
H A D | io_uring.c | 1112 static struct kmem_cache *req_cachep; variable 1994 ret = kmem_cache_alloc_bulk(req_cachep, gfp, IO_REQ_ALLOC_BATCH, 2002 state->reqs[0] = kmem_cache_alloc(req_cachep, gfp); 9340 kmem_cache_free(req_cachep, req); in io_req_cache_free() 9351 kmem_cache_free_bulk(req_cachep, state->free_reqs, state->reqs); in io_req_caches_free() 11154 req_cachep = KMEM_CACHE(io_kiocb, SLAB_HWCACHE_ALIGN | SLAB_PANIC | in io_uring_init()
|
Completed in 26 milliseconds