Home
last modified time | relevance | path

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

/mm/
Dslab_common.c138 s->memcg_params.is_root_cache = true; in slab_init_memcg_params()
149 s->memcg_params.is_root_cache = false; in init_memcg_params()
172 if (is_root_cache(s)) in destroy_memcg_params()
180 if (!is_root_cache(s)) in update_memcg_params()
238 if (!is_root_cache(s)) in slab_unmergeable()
591 c = is_root_cache(s) ? cache_from_memcg_idx(s, idx) : NULL; in memcg_deactivate_kmem_caches()
607 if (!is_root_cache(s)) in memcg_deactivate_kmem_caches()
628 BUG_ON(is_root_cache(s)); in __shutdown_memcg_cache()
648 if (is_root_cache(s) || s->memcg_params.memcg != memcg) in memcg_destroy_kmem_caches()
672 BUG_ON(!is_root_cache(s)); in shutdown_memcg_caches()
[all …]
Dslab.h191 static inline bool is_root_cache(struct kmem_cache *s) in is_root_cache() function
193 return s->memcg_params.is_root_cache; in is_root_cache()
209 if (!is_root_cache(s)) in cache_name()
241 if (is_root_cache(s)) in memcg_root_cache()
254 if (is_root_cache(s)) in memcg_charge_slab()
288 static inline bool is_root_cache(struct kmem_cache *s) in is_root_cache() function
Dslub.c5403 if (slab_state >= FULL && err >= 0 && is_root_cache(s)) { in slab_attr_store()
5442 if (is_root_cache(s)) in memcg_propagate_slab_attrs()
5526 if (!is_root_cache(s)) in cache_kset()
5603 if (is_root_cache(s)) { in sysfs_slab_add()
Dslab.c3922 if ((ret < 0) || !is_root_cache(cachep)) in do_tune_cpucache()
3946 if (!is_root_cache(cachep)) { in enable_cpucache()
Dmemcontrol.c2242 VM_BUG_ON(!is_root_cache(cachep)); in memcg_kmem_get_cache()
2283 if (!is_root_cache(cachep)) in memcg_kmem_put_cache()