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

/linux-4.4.14/mm/
H A Dlist_lru.c328 int size = memcg_nr_cache_ids; memcg_init_list_lru_node()
344 __memcg_destroy_list_lru_node(nlru->memcg_lrus, 0, memcg_nr_cache_ids); memcg_destroy_list_lru_node()
464 int old_size = memcg_nr_cache_ids; memcg_update_all_list_lrus()
H A Dslab_common.c152 if (!memcg_nr_cache_ids) init_memcg_params()
156 memcg_nr_cache_ids * sizeof(void *), init_memcg_params()
187 memcg_nr_cache_ids * sizeof(void *)); update_memcg_params()
H A Dmemcontrol.c359 * The current size of the caches array is stored in memcg_nr_cache_ids. It
363 int memcg_nr_cache_ids; variable
365 /* Protects memcg_nr_cache_ids */
2254 if (id < memcg_nr_cache_ids) memcg_alloc_cache_id()
2273 memcg_nr_cache_ids = size; memcg_alloc_cache_id()
/linux-4.4.14/include/linux/
H A Dmemcontrol.h721 extern int memcg_nr_cache_ids;
731 for ((_idx) = 0; (_idx) < memcg_nr_cache_ids; (_idx)++)

Completed in 148 milliseconds