Home
last modified time | relevance | path

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

/linux-6.15/drivers/md/dm-vdo/
H A Dmemory-alloc.c87 } memory_stats __cacheline_aligned;
91 size_t total_bytes = memory_stats.kmalloc_bytes + memory_stats.vmalloc_bytes; in update_peak_usage()
102 memory_stats.kmalloc_blocks++; in add_kmalloc_block()
103 memory_stats.kmalloc_bytes += size; in add_kmalloc_block()
113 memory_stats.kmalloc_blocks--; in remove_kmalloc_block()
124 memory_stats.vmalloc_list = block; in add_vmalloc_block()
125 memory_stats.vmalloc_blocks++; in add_vmalloc_block()
143 memory_stats.vmalloc_blocks--; in remove_vmalloc_block()
390 memory_stats.kmalloc_bytes, memory_stats.kmalloc_blocks); in vdo_memory_exit()
393 memory_stats.vmalloc_bytes, memory_stats.vmalloc_blocks); in vdo_memory_exit()
[all …]
/linux-6.15/mm/
H A Dmemcontrol.c1349 static const struct memory_stat memory_stats[] = { variable
1493 for (i = 0; i < ARRAY_SIZE(memory_stats); i++) { in memcg_stat_format()
1497 if (unlikely(memory_stats[i].idx == NR_HUGETLB) && in memcg_stat_format()
1501 size = memcg_page_state_output(memcg, memory_stats[i].idx); in memcg_stat_format()
1502 seq_buf_printf(s, "%s %llu\n", memory_stats[i].name, size); in memcg_stat_format()
1504 if (unlikely(memory_stats[i].idx == NR_SLAB_UNRECLAIMABLE_B)) { in memcg_stat_format()
4340 for (i = 0; i < ARRAY_SIZE(memory_stats); i++) { in memory_numa_stat_show()
4343 if (memory_stats[i].idx >= NR_VM_NODE_STAT_ITEMS) in memory_numa_stat_show()
4346 seq_printf(m, "%s", memory_stats[i].name); in memory_numa_stat_show()
4353 memory_stats[i].idx); in memory_numa_stat_show()