Home
last modified time | relevance | path

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

/openbmc/linux/include/net/
H A Ddst_ops.h9 struct kmem_cachep;
41 struct kmem_cache *kmem_cachep; member
/openbmc/linux/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()
/openbmc/linux/net/ipv6/
H A Droute.c6707 ip6_dst_ops_template.kmem_cachep = in ip6_route_init()
6710 if (!ip6_dst_ops_template.kmem_cachep) in ip6_route_init()
6725 ip6_dst_blackhole_ops.kmem_cachep = ip6_dst_ops_template.kmem_cachep; in ip6_route_init()
6798 kmem_cache_destroy(ip6_dst_ops_template.kmem_cachep); in ip6_route_init()
6817 kmem_cache_destroy(ip6_dst_ops_template.kmem_cachep); in ip6_route_cleanup()
/openbmc/linux/net/ipv4/
H A Droute.c3765 ipv4_dst_ops.kmem_cachep = in ip_rt_init()
3769 ipv4_dst_blackhole_ops.kmem_cachep = ipv4_dst_ops.kmem_cachep; in ip_rt_init()
/openbmc/linux/net/xfrm/
H A Dxfrm_policy.c4042 if (likely(dst_ops->kmem_cachep == NULL)) in xfrm_policy_register_afinfo()
4043 dst_ops->kmem_cachep = xfrm_dst_cache; in xfrm_policy_register_afinfo()
4080 dst_ops->kmem_cachep = NULL; in xfrm_policy_unregister_afinfo()