Home
last modified time | relevance | path

Searched refs:node_cache (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/net/wireguard/
H A Dallowedips.c11 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()
419 node_cache = KMEM_CACHE(allowedips_node, 0); in wg_allowedips_slab_init()
420 return node_cache ? 0 : -ENOMEM; in wg_allowedips_slab_init()
426 kmem_cache_destroy(node_cache); in wg_allowedips_slab_uninit()
/linux/ipc/
H A Dmqueue.c140 struct posix_msg_tree_node *node_cache; member
209 if (info->node_cache) { in msg_insert()
210 leaf = info->node_cache; in msg_insert()
211 info->node_cache = NULL; in msg_insert()
241 if (info->node_cache) in msg_tree_erase()
244 info->node_cache = leaf; in msg_tree_erase()
324 info->node_cache = NULL; in mqueue_get_inode()
529 kfree(info->node_cache); in mqueue_evict_inode()
1090 if (!info->node_cache) in do_mq_timedsend()
1095 if (!info->node_cache && new_leaf) { in do_mq_timedsend()
[all …]
/linux/io_uring/
H A Drsrc.c144 node = io_cache_alloc(&ctx->node_cache, GFP_KERNEL); in io_rsrc_node_alloc()
161 ret = io_alloc_cache_init(&ctx->node_cache, IO_ALLOC_CACHE_MAX, in io_rsrc_cache_init()
170 io_alloc_cache_free(&ctx->node_cache, kfree); in io_rsrc_cache_free()
513 io_cache_free(&ctx->node_cache, node); in io_free_rsrc_node()
851 io_cache_free(&ctx->node_cache, node); in io_sqe_buffer_register()
/linux/include/linux/
H A Dio_uring_types.h340 struct io_alloc_cache node_cache; member