Home
last modified time | relevance | path

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

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