Searched refs:kmem_cachep (Results 1 – 7 of 7) sorted by relevance
9 struct kmem_cachep;41 struct kmem_cache *kmem_cachep; member
93 dst = kmem_cache_alloc(ops->kmem_cachep, GFP_ATOMIC); in dst_alloc()129 kmem_cache_free(dst->ops->kmem_cachep, dst); in dst_destroy()
1028 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()
6529 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()
3638 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()
3972 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()
1857 dn_dst_ops.kmem_cachep = in dn_route_init()