Home
last modified time | relevance | path

Searched refs:root_memcg (Results 1 – 3 of 3) sorted by relevance

/linux/mm/
H A Dmemcontrol-v1.h60 void drain_all_stock(struct mem_cgroup *root_memcg);
H A Dmemcontrol-v1.c297 static int mem_cgroup_soft_reclaim(struct mem_cgroup *root_memcg, in mem_cgroup_soft_reclaim() argument
311 excess = soft_limit_excess(root_memcg); in mem_cgroup_soft_reclaim()
314 victim = mem_cgroup_iter(root_memcg, victim, &reclaim); in mem_cgroup_soft_reclaim()
340 if (!soft_limit_excess(root_memcg)) in mem_cgroup_soft_reclaim()
343 mem_cgroup_iter_break(root_memcg, victim); in mem_cgroup_soft_reclaim()
H A Dmemcontrol.c1719 struct mem_cgroup *root_memcg);
1836 void drain_all_stock(struct mem_cgroup *root_memcg) in drain_all_stock() argument
1859 mem_cgroup_is_descendant(memcg, root_memcg)) in drain_all_stock()
1861 else if (obj_stock_flush_required(stock, root_memcg)) in drain_all_stock()
2834 struct mem_cgroup *root_memcg) in obj_stock_flush_required() argument
2841 if (memcg && mem_cgroup_is_descendant(memcg, root_memcg)) in obj_stock_flush_required()