Home
last modified time | relevance | path

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

/linux-6.15/include/net/
H A Ddst_ops.h9 struct kmem_cachep;
41 struct kmem_cache *kmem_cachep; member
/linux-6.15/net/core/
H A Ddst.c89 dst = kmem_cache_alloc(ops->kmem_cachep, GFP_ATOMIC); in dst_alloc()
121 kmem_cache_free(dst->ops->kmem_cachep, dst); in dst_destroy()
/linux-6.15/net/ipv6/
H A Droute.c6776 ip6_dst_ops_template.kmem_cachep = in ip6_route_init()
6779 if (!ip6_dst_ops_template.kmem_cachep) in ip6_route_init()
6794 ip6_dst_blackhole_ops.kmem_cachep = ip6_dst_ops_template.kmem_cachep; in ip6_route_init()
6854 kmem_cache_destroy(ip6_dst_ops_template.kmem_cachep); in ip6_route_init()
6873 kmem_cache_destroy(ip6_dst_ops_template.kmem_cachep); in ip6_route_cleanup()
/linux-6.15/net/ipv4/
H A Droute.c3736 ipv4_dst_ops.kmem_cachep = KMEM_CACHE(rtable, in ip_rt_init()
3739 ipv4_dst_blackhole_ops.kmem_cachep = ipv4_dst_ops.kmem_cachep; in ip_rt_init()
/linux-6.15/net/xfrm/
H A Dxfrm_policy.c4116 if (likely(dst_ops->kmem_cachep == NULL)) in xfrm_policy_register_afinfo()
4117 dst_ops->kmem_cachep = xfrm_dst_cache; in xfrm_policy_register_afinfo()
4154 dst_ops->kmem_cachep = NULL; in xfrm_policy_unregister_afinfo()