• Home
  • Raw
  • Download

Lines Matching refs:v

383 	s8 v, t;  in __inc_zone_state()  local
385 v = __this_cpu_inc_return(*p); in __inc_zone_state()
387 if (unlikely(v > t)) { in __inc_zone_state()
390 zone_page_state_add(v + overstep, zone, item); in __inc_zone_state()
399 s8 v, t; in __inc_node_state() local
401 v = __this_cpu_inc_return(*p); in __inc_node_state()
403 if (unlikely(v > t)) { in __inc_node_state()
406 node_page_state_add(v + overstep, pgdat, item); in __inc_node_state()
427 s8 v, t; in __dec_zone_state() local
429 v = __this_cpu_dec_return(*p); in __dec_zone_state()
431 if (unlikely(v < - t)) { in __dec_zone_state()
434 zone_page_state_add(v - overstep, zone, item); in __dec_zone_state()
443 s8 v, t; in __dec_node_state() local
445 v = __this_cpu_dec_return(*p); in __dec_node_state()
447 if (unlikely(v < - t)) { in __dec_node_state()
450 node_page_state_add(v - overstep, pgdat, item); in __dec_node_state()
761 int v; in refresh_cpu_vm_stats() local
763 v = this_cpu_xchg(p->vm_stat_diff[i], 0); in refresh_cpu_vm_stats()
764 if (v) { in refresh_cpu_vm_stats()
766 atomic_long_add(v, &zone->vm_stat[i]); in refresh_cpu_vm_stats()
767 global_zone_diff[i] += v; in refresh_cpu_vm_stats()
776 int v; in refresh_cpu_vm_stats() local
778 v = this_cpu_xchg(p->vm_numa_stat_diff[i], 0); in refresh_cpu_vm_stats()
779 if (v) { in refresh_cpu_vm_stats()
781 atomic_long_add(v, &zone->vm_numa_stat[i]); in refresh_cpu_vm_stats()
782 global_numa_diff[i] += v; in refresh_cpu_vm_stats()
823 int v; in refresh_cpu_vm_stats() local
825 v = this_cpu_xchg(p->vm_node_stat_diff[i], 0); in refresh_cpu_vm_stats()
826 if (v) { in refresh_cpu_vm_stats()
827 atomic_long_add(v, &pgdat->vm_stat[i]); in refresh_cpu_vm_stats()
828 global_node_diff[i] += v; in refresh_cpu_vm_stats()
865 int v; in cpu_vm_stats_fold() local
867 v = p->vm_stat_diff[i]; in cpu_vm_stats_fold()
869 atomic_long_add(v, &zone->vm_stat[i]); in cpu_vm_stats_fold()
870 global_zone_diff[i] += v; in cpu_vm_stats_fold()
876 int v; in cpu_vm_stats_fold() local
878 v = p->vm_numa_stat_diff[i]; in cpu_vm_stats_fold()
880 atomic_long_add(v, &zone->vm_numa_stat[i]); in cpu_vm_stats_fold()
881 global_numa_diff[i] += v; in cpu_vm_stats_fold()
893 int v; in cpu_vm_stats_fold() local
895 v = p->vm_node_stat_diff[i]; in cpu_vm_stats_fold()
897 atomic_long_add(v, &pgdat->vm_stat[i]); in cpu_vm_stats_fold()
898 global_node_diff[i] += v; in cpu_vm_stats_fold()
919 int v = pset->vm_stat_diff[i]; in drain_zonestat() local
921 atomic_long_add(v, &zone->vm_stat[i]); in drain_zonestat()
922 atomic_long_add(v, &vm_zone_stat[i]); in drain_zonestat()
928 int v = pset->vm_numa_stat_diff[i]; in drain_zonestat() local
931 atomic_long_add(v, &zone->vm_numa_stat[i]); in drain_zonestat()
932 atomic_long_add(v, &vm_numa_stat[i]); in drain_zonestat()
944 u16 v; in __inc_numa_state() local
946 v = __this_cpu_inc_return(*p); in __inc_numa_state()
948 if (unlikely(v > NUMA_STATS_THRESHOLD)) { in __inc_numa_state()
949 zone_numa_state_add(v, zone, item); in __inc_numa_state()
1672 unsigned long *v; in vmstat_start() local
1688 v = kmalloc(stat_items_size, GFP_KERNEL); in vmstat_start()
1689 m->private = v; in vmstat_start()
1690 if (!v) in vmstat_start()
1693 v[i] = global_zone_page_state(i); in vmstat_start()
1694 v += NR_VM_ZONE_STAT_ITEMS; in vmstat_start()
1698 v[i] = global_numa_state(i); in vmstat_start()
1699 v += NR_VM_NUMA_STAT_ITEMS; in vmstat_start()
1703 v[i] = global_node_page_state(i); in vmstat_start()
1704 v += NR_VM_NODE_STAT_ITEMS; in vmstat_start()
1706 global_dirty_limits(v + NR_DIRTY_BG_THRESHOLD, in vmstat_start()
1707 v + NR_DIRTY_THRESHOLD); in vmstat_start()
1708 v += NR_VM_WRITEBACK_STAT_ITEMS; in vmstat_start()
1711 all_vm_events(v); in vmstat_start()
1712 v[PGPGIN] /= 2; /* sectors -> kbytes */ in vmstat_start()
1713 v[PGPGOUT] /= 2; in vmstat_start()