Searched refs:is_root_cache (Results 1 – 6 of 6) sorted by relevance
184 static inline bool is_root_cache(struct kmem_cache *s) in is_root_cache() function186 return s->memcg_params.is_root_cache; in is_root_cache()202 if (!is_root_cache(s)) in cache_name()234 if (is_root_cache(s)) in memcg_root_cache()245 if (is_root_cache(s)) in memcg_charge_slab()258 static inline bool is_root_cache(struct kmem_cache *s) in is_root_cache() function
133 s->memcg_params.is_root_cache = true; in slab_init_memcg_params()144 s->memcg_params.is_root_cache = false; in init_memcg_params()167 if (is_root_cache(s)) in destroy_memcg_params()175 if (!is_root_cache(s)) in update_memcg_params()233 if (!is_root_cache(s)) in slab_unmergeable()573 if (!is_root_cache(s)) in memcg_deactivate_kmem_caches()594 BUG_ON(is_root_cache(s)); in __shutdown_memcg_cache()614 if (is_root_cache(s) || s->memcg_params.memcg != memcg) in memcg_destroy_kmem_caches()638 BUG_ON(!is_root_cache(s)); in shutdown_memcg_caches()1078 if (!is_root_cache(s)) in memcg_accumulate_slabinfo()[all …]
5209 if (slab_state >= FULL && err >= 0 && is_root_cache(s)) { in slab_attr_store()5248 if (is_root_cache(s)) in memcg_propagate_slab_attrs()5330 if (!is_root_cache(s)) in cache_kset()5405 if (is_root_cache(s)) { in sysfs_slab_add()
3743 if ((ret < 0) || !is_root_cache(cachep)) in do_tune_cpucache()3763 if (!is_root_cache(cachep)) { in enable_cpucache()
2367 VM_BUG_ON(!is_root_cache(cachep)); in __memcg_kmem_get_cache()2401 if (!is_root_cache(cachep)) in __memcg_kmem_put_cache()
525 bool is_root_cache; member