Home
last modified time | relevance | path

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

/linux-6.6.21/include/net/
Ddst_ops.h9 struct kmem_cachep;
41 struct kmem_cache *kmem_cachep; member
/linux-6.6.21/net/core/
Ddst.c89 dst = kmem_cache_alloc(ops->kmem_cachep, GFP_ATOMIC); in dst_alloc()
124 kmem_cache_free(dst->ops->kmem_cachep, dst); in dst_destroy()
/linux-6.6.21/net/ipv6/
Droute.c6687 ip6_dst_ops_template.kmem_cachep = in ip6_route_init()
6690 if (!ip6_dst_ops_template.kmem_cachep) in ip6_route_init()
6705 ip6_dst_blackhole_ops.kmem_cachep = ip6_dst_ops_template.kmem_cachep; in ip6_route_init()
6778 kmem_cache_destroy(ip6_dst_ops_template.kmem_cachep); in ip6_route_init()
6797 kmem_cache_destroy(ip6_dst_ops_template.kmem_cachep); in ip6_route_cleanup()
/linux-6.6.21/net/ipv4/
Droute.c3744 ipv4_dst_ops.kmem_cachep = in ip_rt_init()
3748 ipv4_dst_blackhole_ops.kmem_cachep = ipv4_dst_ops.kmem_cachep; in ip_rt_init()
/linux-6.6.21/net/xfrm/
Dxfrm_policy.c4021 if (likely(dst_ops->kmem_cachep == NULL)) in xfrm_policy_register_afinfo()
4022 dst_ops->kmem_cachep = xfrm_dst_cache; in xfrm_policy_register_afinfo()
4059 dst_ops->kmem_cachep = NULL; in xfrm_policy_unregister_afinfo()