Searched refs:arr (Results 1 – 2 of 2) sorted by relevance
149 struct memcg_cache_array *arr; in init_memcg_params() local169 arr = kvzalloc(sizeof(struct memcg_cache_array) + in init_memcg_params()172 if (!arr) in init_memcg_params()175 RCU_INIT_POINTER(s->memcg_params.memcg_caches, arr); in init_memcg_params()645 struct memcg_cache_array *arr; in memcg_create_kmem_cache() local663 arr = rcu_dereference_protected(root_cache->memcg_params.memcg_caches, in memcg_create_kmem_cache()671 if (arr->entries[idx]) in memcg_create_kmem_cache()701 arr->entries[idx] = s; in memcg_create_kmem_cache()796 struct memcg_cache_array *arr; in memcg_deactivate_kmem_caches() local807 arr = rcu_dereference_protected(s->memcg_params.memcg_caches, in memcg_deactivate_kmem_caches()[all …]
2869 struct memcg_cache_array *arr; in memcg_kmem_get_cache() local2891 arr = rcu_dereference(cachep->memcg_params.memcg_caches); in memcg_kmem_get_cache()2898 memcg_cachep = READ_ONCE(arr->entries[kmemcg_id]); in memcg_kmem_get_cache()