Searched refs:evict_walk (Results 1 – 1 of 1) sorted by relevance
518 struct ttm_bo_evict_walk *evict_walk = in ttm_bo_evict_cb() local519 container_of(walk, typeof(*evict_walk), walk); in ttm_bo_evict_cb()522 if (!dmem_cgroup_state_evict_valuable(evict_walk->limit_pool, bo->resource->css, in ttm_bo_evict_cb()523 evict_walk->try_low, &evict_walk->hit_low)) in ttm_bo_evict_cb()526 if (bo->pin_count || !bo->bdev->funcs->eviction_valuable(bo, evict_walk->place)) in ttm_bo_evict_cb()540 evict_walk->evicted++; in ttm_bo_evict_cb()541 if (evict_walk->res) in ttm_bo_evict_cb()542 lret = ttm_resource_alloc(evict_walk->evictor, evict_walk->place, in ttm_bo_evict_cb()543 evict_walk->res, NULL); in ttm_bo_evict_cb()567 struct ttm_bo_evict_walk evict_walk = { in ttm_bo_evict_alloc() local[all …]