Searched refs:is_root_cache (Results 1 – 6 of 6) sorted by relevance
178 static inline bool is_root_cache(struct kmem_cache *s) in is_root_cache() function180 return s->memcg_params.is_root_cache; in is_root_cache()196 if (!is_root_cache(s)) in cache_name()228 if (is_root_cache(s)) in memcg_root_cache()238 if (is_root_cache(s)) in memcg_charge_slab()247 if (is_root_cache(s)) in memcg_uncharge_slab()261 static inline bool is_root_cache(struct kmem_cache *s) in is_root_cache() function
111 s->memcg_params.is_root_cache = true; in slab_init_memcg_params()122 s->memcg_params.is_root_cache = false; in init_memcg_params()145 if (is_root_cache(s)) in destroy_memcg_params()153 if (!is_root_cache(s)) in update_memcg_params()211 if (!is_root_cache(s)) in slab_unmergeable()443 if (!is_root_cache(s)) in do_kmem_cache_shutdown()561 if (!is_root_cache(s)) in memcg_deactivate_kmem_caches()590 if (is_root_cache(s) || s->memcg_params.memcg != memcg) in memcg_destroy_kmem_caches()621 BUG_ON(!is_root_cache(s)); in kmem_cache_destroy()969 if (!is_root_cache(s)) in memcg_accumulate_slabinfo()[all …]
4994 if (slab_state >= FULL && err >= 0 && is_root_cache(s)) { in slab_attr_store()5033 if (is_root_cache(s)) in memcg_propagate_slab_attrs()5115 if (!is_root_cache(s)) in cache_kset()5190 if (is_root_cache(s)) { in sysfs_slab_add()
2636 VM_BUG_ON(!is_root_cache(cachep)); in __memcg_kmem_get_cache()2670 if (!is_root_cache(cachep)) in __memcg_kmem_put_cache()2746 if (!is_root_cache(cachep)) in __mem_cgroup_from_kmem()
3739 if ((ret < 0) || !is_root_cache(cachep)) in do_tune_cpucache()3759 if (!is_root_cache(cachep)) { in enable_cpucache()
506 bool is_root_cache; member