Searched refs:kmem_cachep (Results 1 – 7 of 7) sorted by relevance
8 struct kmem_cachep;37 struct kmem_cache *kmem_cachep; member
379 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()
210 dst = kmem_cache_alloc(ops->kmem_cachep, GFP_ATOMIC); in dst_alloc()270 kmem_cache_free(dst->ops->kmem_cachep, dst); in dst_destroy()
3681 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()
2887 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()
2839 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()
1878 dn_dst_ops.kmem_cachep = in dn_route_init()