Searched refs:is_root_cache (Results 1 - 6 of 6) sorted by relevance

/linux-4.1.27/mm/
H A Dslab.h178 static inline bool is_root_cache(struct kmem_cache *s) is_root_cache() function
180 return s->memcg_params.is_root_cache; is_root_cache()
196 if (!is_root_cache(s)) cache_name()
228 if (is_root_cache(s)) memcg_root_cache()
238 if (is_root_cache(s)) memcg_charge_slab()
247 if (is_root_cache(s)) memcg_uncharge_slab()
261 static inline bool is_root_cache(struct kmem_cache *s) is_root_cache() function
H A Dslab_common.c111 s->memcg_params.is_root_cache = true; slab_init_memcg_params()
122 s->memcg_params.is_root_cache = false; init_memcg_params()
145 if (is_root_cache(s)) destroy_memcg_params()
153 if (!is_root_cache(s)) update_memcg_params()
211 if (!is_root_cache(s)) slab_unmergeable()
443 if (!is_root_cache(s)) do_kmem_cache_shutdown()
561 if (!is_root_cache(s)) memcg_deactivate_kmem_caches()
590 if (is_root_cache(s) || s->memcg_params.memcg != memcg) memcg_destroy_kmem_caches()
621 BUG_ON(!is_root_cache(s)); kmem_cache_destroy()
969 if (!is_root_cache(s)) memcg_accumulate_slabinfo()
1011 if (is_root_cache(s)) slab_show()
1024 if (!is_root_cache(s) && s->memcg_params.memcg == memcg) memcg_slab_show()
H A Dslub.c4994 if (slab_state >= FULL && err >= 0 && is_root_cache(s)) { slab_attr_store()
5033 if (is_root_cache(s)) memcg_propagate_slab_attrs()
5115 if (!is_root_cache(s)) cache_kset()
5190 if (is_root_cache(s)) { sysfs_slab_add()
H A Dmemcontrol.c2636 VM_BUG_ON(!is_root_cache(cachep)); __memcg_kmem_get_cache()
2670 if (!is_root_cache(cachep)) __memcg_kmem_put_cache()
2746 if (!is_root_cache(cachep)) __mem_cgroup_from_kmem()
H A Dslab.c3739 if ((ret < 0) || !is_root_cache(cachep)) do_tune_cpucache()
3759 if (!is_root_cache(cachep)) { enable_cpucache()
/linux-4.1.27/include/linux/
H A Dslab.h506 bool is_root_cache; member in struct:memcg_cache_params

Completed in 384 milliseconds