Home
last modified time | relevance | path

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

/linux-4.4.14/include/net/
Ddst_ops.h8 struct kmem_cachep;
37 struct kmem_cache *kmem_cachep; member
/linux-4.4.14/drivers/net/
Dvrf.c379 vrf_dst_ops6.kmem_cachep = kmem_cache_create("vrf_ip6_dst_cache", in init_dst_ops6_kmem_cachep()
385 if (!vrf_dst_ops6.kmem_cachep) in init_dst_ops6_kmem_cachep()
393 kmem_cache_destroy(vrf_dst_ops6.kmem_cachep); in free_dst_ops6_kmem_cachep()
987 vrf_dst_ops.kmem_cachep = in vrf_init_module()
993 if (!vrf_dst_ops.kmem_cachep) in vrf_init_module()
1012 kmem_cache_destroy(vrf_dst_ops.kmem_cachep); in vrf_init_module()
1020 kmem_cache_destroy(vrf_dst_ops.kmem_cachep); in vrf_cleanup_module()
/linux-4.4.14/net/core/
Ddst.c210 dst = kmem_cache_alloc(ops->kmem_cachep, GFP_ATOMIC); in dst_alloc()
270 kmem_cache_free(dst->ops->kmem_cachep, dst); in dst_destroy()
/linux-4.4.14/net/ipv6/
Droute.c3681 ip6_dst_ops_template.kmem_cachep = in ip6_route_init()
3684 if (!ip6_dst_ops_template.kmem_cachep) in ip6_route_init()
3699 ip6_dst_blackhole_ops.kmem_cachep = ip6_dst_ops_template.kmem_cachep; in ip6_route_init()
3763 kmem_cache_destroy(ip6_dst_ops_template.kmem_cachep); in ip6_route_init()
3777 kmem_cache_destroy(ip6_dst_ops_template.kmem_cachep); in ip6_route_cleanup()
/linux-4.4.14/net/ipv4/
Droute.c2887 ipv4_dst_ops.kmem_cachep = in ip_rt_init()
2891 ipv4_dst_blackhole_ops.kmem_cachep = ipv4_dst_ops.kmem_cachep; in ip_rt_init()
/linux-4.4.14/net/xfrm/
Dxfrm_policy.c2839 if (likely(dst_ops->kmem_cachep == NULL)) in xfrm_policy_register_afinfo()
2840 dst_ops->kmem_cachep = xfrm_dst_cache; in xfrm_policy_register_afinfo()
2884 dst_ops->kmem_cachep = NULL; in xfrm_policy_unregister_afinfo()
/linux-4.4.14/net/decnet/
Ddn_route.c1878 dn_dst_ops.kmem_cachep = in dn_route_init()