Home
last modified time | relevance | path

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

/linux-4.1.27/include/linux/
Dvmstat.h111 extern atomic_long_t vm_stat[NR_VM_ZONE_STAT_ITEMS];
116 atomic_long_add(x, &zone->vm_stat[item]); in zone_page_state_add()
117 atomic_long_add(x, &vm_stat[item]); in zone_page_state_add()
122 long x = atomic_long_read(&vm_stat[item]); in global_page_state()
133 long x = atomic_long_read(&zone->vm_stat[item]); in zone_page_state()
150 long x = atomic_long_read(&zone->vm_stat[item]); in zone_page_state_snapshot()
237 atomic_long_inc(&zone->vm_stat[item]); in __inc_zone_state()
238 atomic_long_inc(&vm_stat[item]); in __inc_zone_state()
243 atomic_long_dec(&zone->vm_stat[item]); in __dec_zone_state()
244 atomic_long_dec(&vm_stat[item]); in __dec_zone_state()
Dmmzone.h529 atomic_long_t vm_stat[NR_VM_ZONE_STAT_ITEMS];
/linux-4.1.27/mm/
Dvmstat.c89 atomic_long_t vm_stat[NR_VM_ZONE_STAT_ITEMS] __cacheline_aligned_in_smp; variable
90 EXPORT_SYMBOL(vm_stat);
441 atomic_long_add(diff[i], &vm_stat[i]); in fold_diff()
479 atomic_long_add(v, &zone->vm_stat[i]); in refresh_cpu_vm_stats()
543 atomic_long_add(v, &zone->vm_stat[i]); in cpu_vm_stats_fold()
563 atomic_long_add(v, &zone->vm_stat[i]); in drain_zonestat()
564 atomic_long_add(v, &vm_stat[i]); in drain_zonestat()
Dpage_alloc.c1780 if (atomic_long_read(&zone->vm_stat[NR_ALLOC_BATCH]) <= 0 && in buffered_rmqueue()
2099 atomic_long_read(&zone->vm_stat[NR_ALLOC_BATCH])); in reset_alloc_batches()
5814 atomic_long_read(&zone->vm_stat[NR_ALLOC_BATCH])); in __setup_per_zone_wmarks()
/linux-4.1.27/kernel/
Dkexec.c1984 VMCOREINFO_OFFSET(zone, vm_stat); in crash_save_vmcoreinfo_init()