Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/
Dvmstat.h136 extern atomic_long_t vm_numa_event[NR_VM_NUMA_EVENT_ITEMS];
142 atomic_long_add(x, &zone->vm_numa_event[item]); in zone_numa_event_add()
143 atomic_long_add(x, &vm_numa_event[item]); in zone_numa_event_add()
149 return atomic_long_read(&zone->vm_numa_event[item]); in zone_numa_event_state()
155 return atomic_long_read(&vm_numa_event[item]); in global_numa_event_state()
241 raw_cpu_inc(pzstats->vm_numa_event[item]); in __count_numa_event()
249 raw_cpu_add(pzstats->vm_numa_event[item], delta); in __count_numa_events()
Dmmzone.h599 unsigned long vm_numa_event[NR_VM_NUMA_EVENT_ITEMS]; member
872 atomic_long_t vm_numa_event[NR_VM_NUMA_EVENT_ITEMS]; member
/linux-6.1.9/mm/
Dvmstat.c43 atomic_long_set(&zone->vm_numa_event[item], 0); in zero_zone_numa_counters()
45 per_cpu_ptr(zone->per_cpu_zonestats, cpu)->vm_numa_event[item] in zero_zone_numa_counters()
66 atomic_long_set(&vm_numa_event[item], 0); in zero_global_numa_counters()
164 atomic_long_t vm_numa_event[NR_VM_NUMA_EVENT_ITEMS] __cacheline_aligned_in_smp; variable
180 zone_numa_events[item] += xchg(&pzstats->vm_numa_event[item], 0); in fold_vm_zone_numa_events()
917 if (pzstats->vm_numa_event[i]) { in cpu_vm_stats_fold()
920 v = pzstats->vm_numa_event[i]; in cpu_vm_stats_fold()
921 pzstats->vm_numa_event[i] = 0; in cpu_vm_stats_fold()
966 if (pzstats->vm_numa_event[i]) { in drain_zonestat()
967 v = pzstats->vm_numa_event[i]; in drain_zonestat()
[all …]
Dpage_alloc.c7293 memset(pzstats->vm_numa_event, 0, in setup_per_cpu_pageset()
7294 sizeof(pzstats->vm_numa_event)); in setup_per_cpu_pageset()