Home
last modified time | relevance | path

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

/Linux-v4.19/include/linux/
Dmemcontrol.h129 struct lruvec_stat __percpu *lruvec_stat_cpu; member
669 x = val + __this_cpu_read(pn->lruvec_stat_cpu->count[idx]); in __mod_lruvec_state()
674 __this_cpu_write(pn->lruvec_stat_cpu->count[idx], x); in __mod_lruvec_state()
/Linux-v4.19/mm/
Dmemcontrol.c2089 x = this_cpu_xchg(pn->lruvec_stat_cpu->count[i], 0); in memcg_hotplug_cpu_dead()
4379 pn->lruvec_stat_cpu = alloc_percpu(struct lruvec_stat); in alloc_mem_cgroup_per_node_info()
4380 if (!pn->lruvec_stat_cpu) { in alloc_mem_cgroup_per_node_info()
4401 free_percpu(pn->lruvec_stat_cpu); in free_mem_cgroup_per_node_info()