Home
last modified time | relevance | path

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

/openbmc/linux/mm/
H A Dmemcontrol.c4058 static const unsigned int memcg1_stats[] = { variable
4102 BUILD_BUG_ON(ARRAY_SIZE(memcg1_stat_names) != ARRAY_SIZE(memcg1_stats)); in memcg1_stat_format()
4106 for (i = 0; i < ARRAY_SIZE(memcg1_stats); i++) { in memcg1_stat_format()
4109 if (memcg1_stats[i] == MEMCG_SWAP && !do_memsw_account()) in memcg1_stat_format()
4111 nr = memcg_page_state_local(memcg, memcg1_stats[i]); in memcg1_stat_format()
4113 nr * memcg_page_state_unit(memcg1_stats[i])); in memcg1_stat_format()
4137 for (i = 0; i < ARRAY_SIZE(memcg1_stats); i++) { in memcg1_stat_format()
4140 if (memcg1_stats[i] == MEMCG_SWAP && !do_memsw_account()) in memcg1_stat_format()
4142 nr = memcg_page_state(memcg, memcg1_stats[i]); in memcg1_stat_format()
4144 (u64)nr * memcg_page_state_unit(memcg1_stats[i])); in memcg1_stat_format()