Searched refs:node_cache (Results 1 – 4 of 4) sorted by relevance
| /linux-6.15/drivers/net/wireguard/ |
| H A D | allowedips.c | 11 static struct kmem_cache *node_cache; variable 53 kmem_cache_free(node_cache, container_of(rcu, struct allowedips_node, rcu)); in node_free_rcu() 65 kmem_cache_free(node_cache, node); in root_free_rcu() 190 node = kmem_cache_zalloc(node_cache, GFP_KERNEL); in add() 205 newnode = kmem_cache_zalloc(node_cache, GFP_KERNEL); in add() 234 node = kmem_cache_zalloc(node_cache, GFP_KERNEL); in add() 237 kmem_cache_free(node_cache, newnode); in add() 379 node_cache = KMEM_CACHE(allowedips_node, 0); in wg_allowedips_slab_init() 380 return node_cache ? 0 : -ENOMEM; in wg_allowedips_slab_init() 386 kmem_cache_destroy(node_cache); in wg_allowedips_slab_uninit()
|
| /linux-6.15/ipc/ |
| H A D | mqueue.c | 210 if (info->node_cache) { in msg_insert() 211 leaf = info->node_cache; in msg_insert() 212 info->node_cache = NULL; in msg_insert() 242 if (info->node_cache) in msg_tree_erase() 245 info->node_cache = leaf; in msg_tree_erase() 325 info->node_cache = NULL; in mqueue_get_inode() 529 kfree(info->node_cache); in mqueue_evict_inode() 1115 if (!info->node_cache) in do_mq_timedsend() 1123 info->node_cache = new_leaf; in do_mq_timedsend() 1208 if (!info->node_cache) in do_mq_timedreceive() [all …]
|
| /linux-6.15/io_uring/ |
| H A D | rsrc.c | 148 node = io_cache_alloc(&ctx->node_cache, GFP_KERNEL); in io_rsrc_node_alloc() 165 ret = io_alloc_cache_init(&ctx->node_cache, IO_ALLOC_CACHE_MAX, in io_rsrc_cache_init() 174 io_alloc_cache_free(&ctx->node_cache, kfree); in io_rsrc_cache_free() 520 io_cache_free(&ctx->node_cache, node); in io_free_rsrc_node() 846 io_cache_free(&ctx->node_cache, node); in io_sqe_buffer_register()
|
| /linux-6.15/include/linux/ |
| H A D | io_uring_types.h | 305 struct io_alloc_cache node_cache; member
|