Home
last modified time | relevance | path

Searched refs:root_cache (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/mm/
Dslab_common.c136 s->memcg_params.root_cache = NULL; in slab_init_memcg_params()
143 struct mem_cgroup *memcg, struct kmem_cache *root_cache) in init_memcg_params() argument
147 if (root_cache) { in init_memcg_params()
148 s->memcg_params.root_cache = root_cache; in init_memcg_params()
230 &s->memcg_params.root_cache->memcg_params.children); in memcg_link_cache()
247 struct mem_cgroup *memcg, struct kmem_cache *root_cache) in init_memcg_params() argument
367 struct mem_cgroup *memcg, struct kmem_cache *root_cache) in create_cache() argument
387 err = init_memcg_params(s, memcg, root_cache); in create_cache()
598 struct kmem_cache *root_cache) in memcg_create_kmem_cache() argument
616 if (memcg->kmem_state != KMEM_ONLINE || root_cache->memcg_params.dying) in memcg_create_kmem_cache()
[all …]
Dslab.h222 return !s->memcg_params.root_cache; in is_root_cache()
228 return p == s || p == s->memcg_params.root_cache; in slab_equal_or_root()
239 s = s->memcg_params.root_cache; in cache_name()
272 return s->memcg_params.root_cache; in memcg_root_cache()
Dslub.c5521 struct kmem_cache *root_cache; in memcg_propagate_slab_attrs() local
5526 root_cache = s->memcg_params.root_cache; in memcg_propagate_slab_attrs()
5532 if (!root_cache->max_attr_size) in memcg_propagate_slab_attrs()
5555 else if (root_cache->max_attr_size < ARRAY_SIZE(mbuf)) in memcg_propagate_slab_attrs()
5564 len = attr->show(root_cache, buf); in memcg_propagate_slab_attrs()
5608 return s->memcg_params.root_cache->memcg_kset; in cache_kset()
/Linux-v4.19/include/linux/
Dslab.h597 struct kmem_cache *root_cache; member