Lines Matching refs:vmstats_percpu
744 __this_cpu_add(memcg->vmstats_percpu->state[idx], val); in __mod_memcg_state()
755 x += per_cpu(memcg->vmstats_percpu->state[idx], cpu); in memcg_page_state_local()
794 __this_cpu_add(memcg->vmstats_percpu->state[idx], val); in __mod_memcg_lruvec_state()
886 __this_cpu_add(memcg->vmstats_percpu->events[index], count); in __count_memcg_events()
910 x += per_cpu(memcg->vmstats_percpu->events[index], cpu); in memcg_events_local()
925 __this_cpu_add(memcg->vmstats_percpu->nr_page_events, nr_pages); in mem_cgroup_charge_statistics()
933 val = __this_cpu_read(memcg->vmstats_percpu->nr_page_events); in mem_cgroup_event_ratelimit()
934 next = __this_cpu_read(memcg->vmstats_percpu->targets[target]); in mem_cgroup_event_ratelimit()
947 __this_cpu_write(memcg->vmstats_percpu->targets[target], next); in mem_cgroup_event_ratelimit()
5239 free_percpu(memcg->vmstats_percpu); in __mem_cgroup_free()
5272 memcg->vmstats_percpu = alloc_percpu_gfp(struct memcg_vmstats_percpu, in mem_cgroup_alloc()
5274 if (!memcg->vmstats_percpu) in mem_cgroup_alloc()
5484 statc = per_cpu_ptr(memcg->vmstats_percpu, cpu); in mem_cgroup_css_rstat_flush()
7013 __this_cpu_add(ug->memcg->vmstats_percpu->nr_page_events, ug->nr_memory); in uncharge_batch()