Searched refs:msg_cache (Results 1 – 4 of 4) sorted by relevance
21 static struct kmem_cache *msg_cache; variable42 msg_cache = dlm_lowcomms_msg_cache_create(); in dlm_memory_init()43 if (!msg_cache) in dlm_memory_init()62 kmem_cache_destroy(msg_cache); in dlm_memory_init()79 kmem_cache_destroy(msg_cache); in dlm_memory_exit()161 return kmem_cache_alloc(msg_cache, GFP_ATOMIC); in dlm_allocate_msg()166 kmem_cache_free(msg_cache, msg); in dlm_free_msg()
80 if (io_alloc_cache_put(&ctx->msg_cache, req)) in io_msg_tw_complete()111 req = io_alloc_cache_get(&ctx->msg_cache); in io_msg_get_kiocb()
320 ret |= io_alloc_cache_init(&ctx->msg_cache, IO_ALLOC_CACHE_MAX, in io_ring_ctx_alloc()361 io_alloc_cache_free(&ctx->msg_cache, io_msg_cache_free); in io_ring_ctx_alloc()2747 io_alloc_cache_free(&ctx->msg_cache, io_msg_cache_free); in io_ring_ctx_free()
402 struct io_alloc_cache msg_cache; member