Home
last modified time | relevance | path

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

/linux/kernel/cgroup/
H A Ddmem.c219 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()
255 * @limit_pool: The pool for which we hit limits
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 ! in dmem_cgroup_state_evict_valuable()
[all...]
/linux/include/linux/
H A Dcgroup_dmem.h24 bool dmem_cgroup_state_evict_valuable(struct dmem_cgroup_pool_state *limit_pool,
55 bool dmem_cgroup_state_evict_valuable(struct dmem_cgroup_pool_state *limit_pool, in dmem_cgroup_state_evict_valuable() argument
/linux/drivers/gpu/drm/ttm/
H A Dttm_bo.c507 /** @limit_pool: Which pool limit we should test against */
508 struct dmem_cgroup_pool_state *limit_pool; member
521 if (!dmem_cgroup_state_evict_valuable(evict_walk->limit_pool, bo->resource->css, in ttm_bo_evict_cb()
564 struct dmem_cgroup_pool_state *limit_pool) in ttm_bo_evict_alloc() argument
577 .limit_pool = limit_pool, in ttm_bo_evict_alloc()
727 struct dmem_cgroup_pool_state *limit_pool = NULL; in ttm_bo_alloc_resource() local
740 ret = ttm_resource_alloc(bo, place, res, force_space ? &limit_pool : NULL); in ttm_bo_alloc_resource()
743 dmem_cgroup_pool_state_put(limit_pool); in ttm_bo_alloc_resource()
747 dmem_cgroup_pool_state_put(limit_pool); in ttm_bo_alloc_resource()
[all...]