Home
last modified time | relevance | path

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

/drivers/net/wireguard/
Dpeer.c18 static struct kmem_cache *peer_cache; variable
33 peer = kmem_cache_zalloc(peer_cache, GFP_KERNEL); in wg_peer_create()
68 kmem_cache_free(peer_cache, peer); in wg_peer_create()
198 kmem_cache_free(peer_cache, peer); in rcu_release()
233 peer_cache = KMEM_CACHE(wg_peer, 0); in wg_peer_init()
234 return peer_cache ? 0 : -ENOMEM; in wg_peer_init()
239 kmem_cache_destroy(peer_cache); in wg_peer_uninit()