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

/linux-4.1.27/mm/
H A Dslab_common.c117 struct mem_cgroup *memcg, struct kmem_cache *root_cache) init_memcg_params()
124 s->memcg_params.root_cache = root_cache; init_memcg_params()
193 struct mem_cgroup *memcg, struct kmem_cache *root_cache) init_memcg_params()
300 struct mem_cgroup *memcg, struct kmem_cache *root_cache) do_kmem_cache_create()
316 err = init_memcg_params(s, memcg, root_cache); do_kmem_cache_create()
471 * @root_cache: The parent of the new cache.
474 * requests going from @memcg to @root_cache. The new cache inherits properties
478 struct kmem_cache *root_cache) memcg_create_kmem_cache()
500 arr = rcu_dereference_protected(root_cache->memcg_params.memcg_caches, memcg_create_kmem_cache()
512 cache_name = kasprintf(GFP_KERNEL, "%s(%d:%s)", root_cache->name, memcg_create_kmem_cache()
517 s = do_kmem_cache_create(cache_name, root_cache->object_size, memcg_create_kmem_cache()
518 root_cache->size, root_cache->align, memcg_create_kmem_cache()
519 root_cache->flags, root_cache->ctor, memcg_create_kmem_cache()
520 memcg, root_cache); memcg_create_kmem_cache()
531 list_add(&s->memcg_params.list, &root_cache->memcg_params.list); memcg_create_kmem_cache()
116 init_memcg_params(struct kmem_cache *s, struct mem_cgroup *memcg, struct kmem_cache *root_cache) init_memcg_params() argument
192 init_memcg_params(struct kmem_cache *s, struct mem_cgroup *memcg, struct kmem_cache *root_cache) init_memcg_params() argument
298 do_kmem_cache_create(const char *name, size_t object_size, size_t size, size_t align, unsigned long flags, void (*ctor)(void *), struct mem_cgroup *memcg, struct kmem_cache *root_cache) do_kmem_cache_create() argument
477 memcg_create_kmem_cache(struct mem_cgroup *memcg, struct kmem_cache *root_cache) memcg_create_kmem_cache() argument
H A Dslab.h186 return p == s || p == s->memcg_params.root_cache; slab_equal_or_root()
197 s = s->memcg_params.root_cache; cache_name()
230 return s->memcg_params.root_cache; memcg_root_cache()
H A Dslub.c5031 struct kmem_cache *root_cache; memcg_propagate_slab_attrs() local
5036 root_cache = s->memcg_params.root_cache; memcg_propagate_slab_attrs()
5042 if (!root_cache->max_attr_size) memcg_propagate_slab_attrs()
5064 else if (root_cache->max_attr_size < ARRAY_SIZE(mbuf)) memcg_propagate_slab_attrs()
5073 attr->show(root_cache, buf); memcg_propagate_slab_attrs()
5116 return s->memcg_params.root_cache->memcg_kset; cache_kset()
/linux-4.1.27/include/linux/
H A Dslab.h500 * @root_cache: pointer to the global, root cache, this cache was derived from
512 struct kmem_cache *root_cache; member in struct:memcg_cache_params::__anon12444::__anon12445

Completed in 748 milliseconds