Home
last modified time | relevance | path

Searched refs:node_cache (Results 1 – 2 of 2) 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()
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/ipc/
H A Dmqueue.c141 struct posix_msg_tree_node *node_cache; member
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()
1126 if (!info->node_cache) in do_mq_timedsend()
1131 if (!info->node_cache && new_leaf) { in do_mq_timedsend()
[all …]