Home
last modified time | relevance | path

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

/linux-6.3-rc2/include/net/
A Ddst_ops.h9 struct kmem_cachep;
41 struct kmem_cache *kmem_cachep; member
/linux-6.3-rc2/net/core/
A Ddst.c88 dst = kmem_cache_alloc(ops->kmem_cachep, GFP_ATOMIC); in dst_alloc()
123 kmem_cache_free(dst->ops->kmem_cachep, dst); in dst_destroy()
/linux-6.3-rc2/net/ipv6/
A Droute.c6673 ip6_dst_ops_template.kmem_cachep = in ip6_route_init()
6676 if (!ip6_dst_ops_template.kmem_cachep) in ip6_route_init()
6691 ip6_dst_blackhole_ops.kmem_cachep = ip6_dst_ops_template.kmem_cachep; in ip6_route_init()
6764 kmem_cache_destroy(ip6_dst_ops_template.kmem_cachep); in ip6_route_init()
6783 kmem_cache_destroy(ip6_dst_ops_template.kmem_cachep); in ip6_route_cleanup()
/linux-6.3-rc2/net/ipv4/
A Droute.c3739 ipv4_dst_ops.kmem_cachep = in ip_rt_init()
3743 ipv4_dst_blackhole_ops.kmem_cachep = ipv4_dst_ops.kmem_cachep; in ip_rt_init()
/linux-6.3-rc2/net/xfrm/
A Dxfrm_policy.c4010 if (likely(dst_ops->kmem_cachep == NULL)) in xfrm_policy_register_afinfo()
4011 dst_ops->kmem_cachep = xfrm_dst_cache; in xfrm_policy_register_afinfo()
4048 dst_ops->kmem_cachep = NULL; in xfrm_policy_unregister_afinfo()

Completed in 33 milliseconds