Lines Matching refs:limit_pool
219 dmem_cgroup_calculate_protection(struct dmem_cgroup_pool_state *limit_pool, in dmem_cgroup_calculate_protection() argument
227 climit = &limit_pool->cnt; in dmem_cgroup_calculate_protection()
231 css_for_each_descendant_pre(css, &limit_pool->cs->css) { in dmem_cgroup_calculate_protection()
236 if (pool->region == limit_pool->region) { in dmem_cgroup_calculate_protection()
267 bool dmem_cgroup_state_evict_valuable(struct dmem_cgroup_pool_state *limit_pool, in dmem_cgroup_state_evict_valuable() argument
276 if (limit_pool == test_pool) in dmem_cgroup_state_evict_valuable()
279 if (limit_pool) { in dmem_cgroup_state_evict_valuable()
280 if (!parent_dmemcs(limit_pool->cs)) in dmem_cgroup_state_evict_valuable()
283 for (pool = test_pool; pool && limit_pool != pool; pool = pool_parent(pool)) in dmem_cgroup_state_evict_valuable()
293 for (limit_pool = test_pool; pool_parent(limit_pool); limit_pool = pool_parent(limit_pool)) in dmem_cgroup_state_evict_valuable()
299 dmem_cgroup_calculate_protection(limit_pool, test_pool); in dmem_cgroup_state_evict_valuable()