Searched refs:memcg1_stats (Results 1 – 1 of 1) sorted by relevance
4163 static const unsigned int memcg1_stats[] = { variable4207 BUILD_BUG_ON(ARRAY_SIZE(memcg1_stat_names) != ARRAY_SIZE(memcg1_stats)); in memcg1_stat_format()4211 for (i = 0; i < ARRAY_SIZE(memcg1_stats); i++) { in memcg1_stat_format()4214 if (memcg1_stats[i] == MEMCG_SWAP && !do_memsw_account()) in memcg1_stat_format()4216 nr = memcg_page_state_local(memcg, memcg1_stats[i]); in memcg1_stat_format()4218 nr * memcg_page_state_unit(memcg1_stats[i])); in memcg1_stat_format()4242 for (i = 0; i < ARRAY_SIZE(memcg1_stats); i++) { in memcg1_stat_format()4245 if (memcg1_stats[i] == MEMCG_SWAP && !do_memsw_account()) in memcg1_stat_format()4247 nr = memcg_page_state(memcg, memcg1_stats[i]); in memcg1_stat_format()4249 (u64)nr * memcg_page_state_unit(memcg1_stats[i])); in memcg1_stat_format()