Searched refs:is_root_cache (Results 1 – 5 of 5) sorted by relevance
138 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 …]
191 static inline bool is_root_cache(struct kmem_cache *s) in is_root_cache() function193 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
5403 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()
3922 if ((ret < 0) || !is_root_cache(cachep)) in do_tune_cpucache()3946 if (!is_root_cache(cachep)) { in enable_cpucache()
2242 VM_BUG_ON(!is_root_cache(cachep)); in memcg_kmem_get_cache()2283 if (!is_root_cache(cachep)) in memcg_kmem_put_cache()