Home
last modified time | relevance | path

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

/mm/
Dslab.h292 static inline bool is_root_cache(struct kmem_cache *s) in is_root_cache() function
310 if (!is_root_cache(s)) in cache_name()
317 if (is_root_cache(s)) in memcg_root_cache()
337 if (s && !is_root_cache(s)) in memcg_from_slab_page()
420 static inline bool is_root_cache(struct kmem_cache *s) in is_root_cache() function
483 if (is_root_cache(s)) { in charge_slab_page()
495 if (is_root_cache(s)) { in uncharge_slab_page()
Dslab_common.c181 if (is_root_cache(s)) { in destroy_memcg_params()
240 if (is_root_cache(s)) { in memcg_link_cache()
254 if (is_root_cache(s)) { in memcg_unlink_cache()
314 if (!is_root_cache(s)) in slab_unmergeable()
771 if (WARN_ON_ONCE(is_root_cache(s))) in kmemcg_cache_deactivate()
841 BUG_ON(!is_root_cache(s)); in shutdown_memcg_caches()
1006 if (!IS_ENABLED(CONFIG_MEMCG_KMEM) || !is_root_cache(s)) { in kmem_cache_shrink_all()
1437 if (!is_root_cache(s)) in memcg_accumulate_slabinfo()
1504 if (!is_root_cache(s) || (s->flags & SLAB_RECLAIM_ACCOUNT)) in dump_unreclaimable_slab()
Dslub.c5534 if (slab_state >= FULL && err >= 0 && is_root_cache(s)) { in slab_attr_store()
5573 if (is_root_cache(s)) in memcg_propagate_slab_attrs()
5657 if (!is_root_cache(s)) in cache_kset()
5768 if (is_root_cache(s) && memcg_sysfs_enabled) { in sysfs_slab_add()
Dslab.c3855 if ((ret < 0) || !is_root_cache(cachep)) in do_tune_cpucache()
3879 if (!is_root_cache(cachep)) { in enable_cpucache()
Dmemcontrol.c2872 VM_BUG_ON(!is_root_cache(cachep)); in memcg_kmem_get_cache()
2934 if (!is_root_cache(cachep)) in memcg_kmem_put_cache()