Home
last modified time | relevance | path

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

/openbmc/linux/mm/
H A Dmemcontrol.c1492 static const struct memory_stat memory_stats[] = { variable
1581 for (i = 0; i < ARRAY_SIZE(memory_stats); i++) { in memcg_stat_format()
1584 size = memcg_page_state_output(memcg, memory_stats[i].idx); in memcg_stat_format()
1585 seq_buf_printf(s, "%s %llu\n", memory_stats[i].name, size); in memcg_stat_format()
1587 if (unlikely(memory_stats[i].idx == NR_SLAB_UNRECLAIMABLE_B)) { in memcg_stat_format()
6684 for (i = 0; i < ARRAY_SIZE(memory_stats); i++) { in memory_numa_stat_show()
6687 if (memory_stats[i].idx >= NR_VM_NODE_STAT_ITEMS) in memory_numa_stat_show()
6690 seq_printf(m, "%s", memory_stats[i].name); in memory_numa_stat_show()
6697 memory_stats[i].idx); in memory_numa_stat_show()