Home
last modified time | relevance | path

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

/Linux-v6.6/mm/
Dvmstat.c176 struct per_cpu_zonestat *pzstats; in fold_vm_zone_numa_events() local
178 pzstats = per_cpu_ptr(zone->per_cpu_zonestats, cpu); in fold_vm_zone_numa_events()
180 zone_numa_events[item] += xchg(&pzstats->vm_numa_event[item], 0); in fold_vm_zone_numa_events()
816 struct per_cpu_zonestat __percpu *pzstats = zone->per_cpu_zonestats; in refresh_cpu_vm_stats() local
824 v = this_cpu_xchg(pzstats->vm_stat_diff[i], 0); in refresh_cpu_vm_stats()
901 struct per_cpu_zonestat *pzstats; in cpu_vm_stats_fold() local
903 pzstats = per_cpu_ptr(zone->per_cpu_zonestats, cpu); in cpu_vm_stats_fold()
906 if (pzstats->vm_stat_diff[i]) { in cpu_vm_stats_fold()
909 v = pzstats->vm_stat_diff[i]; in cpu_vm_stats_fold()
910 pzstats->vm_stat_diff[i] = 0; in cpu_vm_stats_fold()
[all …]
Dpage_alloc.c5077 static void per_cpu_pages_init(struct per_cpu_pages *pcp, struct per_cpu_zonestat *pzstats);
5329 static void per_cpu_pages_init(struct per_cpu_pages *pcp, struct per_cpu_zonestat *pzstats) in per_cpu_pages_init() argument
5334 memset(pzstats, 0, sizeof(*pzstats)); in per_cpu_pages_init()
5395 struct per_cpu_zonestat *pzstats; in setup_zone_pageset() local
5398 pzstats = per_cpu_ptr(zone->per_cpu_zonestats, cpu); in setup_zone_pageset()
5399 per_cpu_pages_init(pcp, pzstats); in setup_zone_pageset()
5437 struct per_cpu_zonestat *pzstats = &per_cpu(boot_zonestats, cpu); in setup_per_cpu_pageset() local
5438 memset(pzstats->vm_numa_event, 0, in setup_per_cpu_pageset()
5439 sizeof(pzstats->vm_numa_event)); in setup_per_cpu_pageset()
6372 struct per_cpu_zonestat *pzstats; in zone_pcp_reset() local
[all …]
/Linux-v6.6/include/linux/
Dvmstat.h245 struct per_cpu_zonestat __percpu *pzstats = zone->per_cpu_zonestats; in __count_numa_event() local
247 raw_cpu_inc(pzstats->vm_numa_event[item]); in __count_numa_event()
253 struct per_cpu_zonestat __percpu *pzstats = zone->per_cpu_zonestats; in __count_numa_events() local
255 raw_cpu_add(pzstats->vm_numa_event[item], delta); in __count_numa_events()
415 struct per_cpu_zonestat *pzstats) { } in drain_zonestat() argument