Home
last modified time | relevance | path

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

/linux/mm/
H A Dmemcontrol.c1546 static const struct memory_stat memory_stats[] = { variable
1709 for (i = 0; i < ARRAY_SIZE(memory_stats); i++) { in memcg_stat_format()
1713 if (unlikely(memory_stats[i].idx == NR_HUGETLB) && in memcg_stat_format()
1717 size = memcg_page_state_output(memcg, memory_stats[i].idx); in memcg_stat_format()
1718 seq_buf_printf(s, "%s %llu\n", memory_stats[i].name, size); in memcg_stat_format()
1720 if (unlikely(memory_stats[i].idx == NR_SLAB_UNRECLAIMABLE_B)) { in memcg_stat_format()
4824 for (i = 0; i < ARRAY_SIZE(memory_stats); i++) { in memory_numa_stat_show()
4827 if (memory_stats[i].idx >= NR_VM_NODE_STAT_ITEMS) in memory_numa_stat_show()
4830 seq_printf(m, "%s", memory_stats[i].name); in memory_numa_stat_show()
4837 memory_stats[i].idx); in memory_numa_stat_show()