Searched refs:pzstats (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/mm/ |
D | vmstat.c | 176 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() 818 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() 905 struct per_cpu_zonestat *pzstats; in cpu_vm_stats_fold() local 907 pzstats = per_cpu_ptr(zone->per_cpu_zonestats, cpu); in cpu_vm_stats_fold() 910 if (pzstats->vm_stat_diff[i]) { in cpu_vm_stats_fold() 913 v = pzstats->vm_stat_diff[i]; in cpu_vm_stats_fold() 914 pzstats->vm_stat_diff[i] = 0; in cpu_vm_stats_fold() [all …]
|
D | page_alloc.c | 5391 static void per_cpu_pages_init(struct per_cpu_pages *pcp, struct per_cpu_zonestat *pzstats); 5646 static void per_cpu_pages_init(struct per_cpu_pages *pcp, struct per_cpu_zonestat *pzstats) in per_cpu_pages_init() argument 5651 memset(pzstats, 0, sizeof(*pzstats)); in per_cpu_pages_init() 5728 struct per_cpu_zonestat *pzstats; in setup_zone_pageset() local 5731 pzstats = per_cpu_ptr(zone->per_cpu_zonestats, cpu); in setup_zone_pageset() 5732 per_cpu_pages_init(pcp, pzstats); in setup_zone_pageset() 5800 struct per_cpu_zonestat *pzstats = &per_cpu(boot_zonestats, cpu); in setup_per_cpu_pageset() local 5801 memset(pzstats->vm_numa_event, 0, in setup_per_cpu_pageset() 5802 sizeof(pzstats->vm_numa_event)); in setup_per_cpu_pageset() 6797 struct per_cpu_zonestat *pzstats; in zone_pcp_reset() local [all …]
|
/linux-6.12.1/include/linux/ |
D | vmstat.h | 249 struct per_cpu_zonestat __percpu *pzstats = zone->per_cpu_zonestats; in __count_numa_event() local 251 raw_cpu_inc(pzstats->vm_numa_event[item]); in __count_numa_event() 257 struct per_cpu_zonestat __percpu *pzstats = zone->per_cpu_zonestats; in __count_numa_events() local 259 raw_cpu_add(pzstats->vm_numa_event[item], delta); in __count_numa_events() 419 struct per_cpu_zonestat *pzstats) { } in drain_zonestat() argument
|