Searched refs:charge_pool (Results 1 – 1 of 1) sorted by relevance
493 struct dmem_cgroup_pool_state *charge_pool; member531 if (!alloc_state->charge_pool) { in ttm_bo_alloc_at_place()532 ret = ttm_resource_try_charge(bo, place, &alloc_state->charge_pool, in ttm_bo_alloc_at_place()582 may_evict |= dmem_cgroup_below_min(NULL, alloc_state->charge_pool); in ttm_bo_alloc_at_place()585 may_evict |= dmem_cgroup_below_low(NULL, alloc_state->charge_pool); in ttm_bo_alloc_at_place()588 ret = ttm_resource_alloc(bo, place, res, alloc_state->charge_pool); in ttm_bo_alloc_at_place()599 alloc_state->charge_pool = NULL; in ttm_bo_alloc_at_place()644 bo->resource->css == evict_walk->alloc_state->charge_pool) in ttm_bo_evict_cb()663 evict_walk->alloc_state->charge_pool); in ttm_bo_evict_cb()994 dmem_cgroup_uncharge(alloc_state.charge_pool, bo->base.size); in ttm_bo_alloc_resource()[all …]