Lines Matching refs:vmstats_percpu

782 	x = val + __this_cpu_read(memcg->vmstats_percpu->stat[idx]);  in __mod_memcg_state()
795 __this_cpu_write(memcg->vmstats_percpu->stat[idx], x); in __mod_memcg_state()
910 x = count + __this_cpu_read(memcg->vmstats_percpu->events[idx]); in __count_memcg_events()
923 __this_cpu_write(memcg->vmstats_percpu->events[idx], x); in __count_memcg_events()
953 __this_cpu_add(memcg->vmstats_percpu->nr_page_events, nr_pages); in mem_cgroup_charge_statistics()
961 val = __this_cpu_read(memcg->vmstats_percpu->nr_page_events); in mem_cgroup_event_ratelimit()
962 next = __this_cpu_read(memcg->vmstats_percpu->targets[target]); in mem_cgroup_event_ratelimit()
975 __this_cpu_write(memcg->vmstats_percpu->targets[target], next); in mem_cgroup_event_ratelimit()
2395 x = this_cpu_xchg(memcg->vmstats_percpu->stat[i], 0); in memcg_hotplug_cpu_dead()
2418 x = this_cpu_xchg(memcg->vmstats_percpu->events[i], 0); in memcg_hotplug_cpu_dead()
3646 stat[i] += per_cpu(memcg->vmstats_percpu->stat[i], cpu); in memcg_flush_percpu_vmstats()
3681 events[i] += per_cpu(memcg->vmstats_percpu->events[i], in memcg_flush_percpu_vmevents()
4577 x += per_cpu_ptr(memcg->vmstats_percpu, cpu)->stat[idx]; in memcg_exact_page_state()
5245 free_percpu(memcg->vmstats_percpu); in __mem_cgroup_free()
5290 memcg->vmstats_percpu = alloc_percpu_gfp(struct memcg_vmstats_percpu, in mem_cgroup_alloc()
5292 if (!memcg->vmstats_percpu) in mem_cgroup_alloc()
6857 __this_cpu_add(ug->memcg->vmstats_percpu->nr_page_events, ug->nr_pages); in uncharge_batch()