Searched refs:root_memcg (Results 1 – 3 of 3) sorted by relevance
60 void drain_all_stock(struct mem_cgroup *root_memcg);
297 static int mem_cgroup_soft_reclaim(struct mem_cgroup *root_memcg, in mem_cgroup_soft_reclaim() argument311 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()
1719 struct mem_cgroup *root_memcg);1836 void drain_all_stock(struct mem_cgroup *root_memcg) in drain_all_stock() argument1859 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() argument2841 if (memcg && mem_cgroup_is_descendant(memcg, root_memcg)) in obj_stock_flush_required()