Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/net/
Ddst_ops.h9 struct kmem_cachep;
41 struct kmem_cache *kmem_cachep; member
/kernel/linux/linux-5.10/net/core/
Ddst.c93 dst = kmem_cache_alloc(ops->kmem_cachep, GFP_ATOMIC); in dst_alloc()
129 kmem_cache_free(dst->ops->kmem_cachep, dst); in dst_destroy()
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/
Droute.c1028 nip_dst_ops_template.kmem_cachep = in nip_route_init()
1031 if (!nip_dst_ops_template.kmem_cachep) in nip_route_init()
1060 kmem_cache_destroy(nip_dst_ops_template.kmem_cachep); in nip_route_init()
1069 kmem_cache_destroy(nip_dst_ops_template.kmem_cachep); in nip_route_cleanup()
/kernel/linux/linux-5.10/net/ipv6/
Droute.c6529 ip6_dst_ops_template.kmem_cachep = in ip6_route_init()
6532 if (!ip6_dst_ops_template.kmem_cachep) in ip6_route_init()
6547 ip6_dst_blackhole_ops.kmem_cachep = ip6_dst_ops_template.kmem_cachep; in ip6_route_init()
6619 kmem_cache_destroy(ip6_dst_ops_template.kmem_cachep); in ip6_route_init()
6638 kmem_cache_destroy(ip6_dst_ops_template.kmem_cachep); in ip6_route_cleanup()
/kernel/linux/linux-5.10/net/ipv4/
Droute.c3638 ipv4_dst_ops.kmem_cachep = in ip_rt_init()
3642 ipv4_dst_blackhole_ops.kmem_cachep = ipv4_dst_ops.kmem_cachep; in ip_rt_init()
/kernel/linux/linux-5.10/net/xfrm/
Dxfrm_policy.c3972 if (likely(dst_ops->kmem_cachep == NULL)) in xfrm_policy_register_afinfo()
3973 dst_ops->kmem_cachep = xfrm_dst_cache; in xfrm_policy_register_afinfo()
4010 dst_ops->kmem_cachep = NULL; in xfrm_policy_unregister_afinfo()
/kernel/linux/linux-5.10/net/decnet/
Ddn_route.c1857 dn_dst_ops.kmem_cachep = in dn_route_init()