Lines Matching refs:memcg
226 struct mem_cgroup *memcg = page_memcg(page); in workingset_eviction() local
227 int memcgid = mem_cgroup_id(memcg); in workingset_eviction()
236 lruvec = mem_cgroup_lruvec(pgdat, memcg); in workingset_eviction()
254 struct mem_cgroup *memcg; in workingset_refault() local
280 memcg = mem_cgroup_from_id(memcgid); in workingset_refault()
281 if (!mem_cgroup_disabled() && !memcg) in workingset_refault()
283 lruvec = mem_cgroup_lruvec(pgdat, memcg); in workingset_refault()
334 struct mem_cgroup *memcg; in workingset_activation() local
345 memcg = page_memcg_rcu(page); in workingset_activation()
346 if (!mem_cgroup_disabled() && !memcg) in workingset_activation()
348 lruvec = mem_cgroup_lruvec(page_pgdat(page), memcg); in workingset_activation()
425 if (sc->memcg) { in count_shadow_nodes()
429 lruvec = mem_cgroup_lruvec(NODE_DATA(sc->nid), sc->memcg); in count_shadow_nodes()