Home
last modified time | relevance | path

Searched refs:vmstats_percpu (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/mm/ !
Dmemcontrol.c775 __this_cpu_add(memcg->vmstats_percpu->state[idx], val); in __mod_memcg_state()
822 __this_cpu_add(memcg->vmstats_percpu->state[idx], val); in __mod_memcg_lruvec_state()
914 __this_cpu_add(memcg->vmstats_percpu->events[index], count); in __count_memcg_events()
949 __this_cpu_add(memcg->vmstats_percpu->nr_page_events, nr_pages); in mem_cgroup_charge_statistics()
957 val = __this_cpu_read(memcg->vmstats_percpu->nr_page_events); in mem_cgroup_event_ratelimit()
958 next = __this_cpu_read(memcg->vmstats_percpu->targets[target]); in mem_cgroup_event_ratelimit()
971 __this_cpu_write(memcg->vmstats_percpu->targets[target], next); in mem_cgroup_event_ratelimit()
5275 free_percpu(memcg->vmstats_percpu); in __mem_cgroup_free()
5308 memcg->vmstats_percpu = alloc_percpu_gfp(struct memcg_vmstats_percpu, in mem_cgroup_alloc()
5310 if (!memcg->vmstats_percpu) in mem_cgroup_alloc()
[all …]
/linux-6.6.21/include/linux/ !
Dmemcontrol.h315 struct memcg_vmstats_percpu __percpu *vmstats_percpu; member