Searched refs:is_root_cache (Results 1 – 5 of 5) sorted by relevance
220 static inline bool is_root_cache(struct kmem_cache *s) in is_root_cache() function238 if (!is_root_cache(s)) in cache_name()270 if (is_root_cache(s)) in memcg_root_cache()281 if (is_root_cache(s)) in memcg_charge_slab()308 static inline bool is_root_cache(struct kmem_cache *s) in is_root_cache() function
172 if (is_root_cache(s)) in destroy_memcg_params()226 if (is_root_cache(s)) { in memcg_link_cache()238 if (is_root_cache(s)) { in memcg_unlink_cache()298 if (!is_root_cache(s)) in slab_unmergeable()716 if (WARN_ON_ONCE(is_root_cache(s)) || in slab_deactivate_memcg_cache_rcu_sched()787 BUG_ON(!is_root_cache(s)); in shutdown_memcg_caches()1298 if (!is_root_cache(s)) in memcg_accumulate_slabinfo()1365 if (!is_root_cache(s) || (s->flags & SLAB_RECLAIM_ACCOUNT)) in dump_unreclaimable_slab()
5484 if (slab_state >= FULL && err >= 0 && is_root_cache(s)) { in slab_attr_store()5523 if (is_root_cache(s)) in memcg_propagate_slab_attrs()5607 if (!is_root_cache(s)) in cache_kset()5716 if (is_root_cache(s) && memcg_sysfs_enabled) { in sysfs_slab_add()
3912 if ((ret < 0) || !is_root_cache(cachep)) in do_tune_cpucache()3936 if (!is_root_cache(cachep)) { in enable_cpucache()
2529 VM_BUG_ON(!is_root_cache(cachep)); in memcg_kmem_get_cache()2570 if (!is_root_cache(cachep)) in memcg_kmem_put_cache()