Lines Matching full:place
173 * This is the place to put in driver specific hooks to release
415 * @place: the placement we need to make room for
420 const struct ttm_place *place) in ttm_bo_eviction_valuable() argument
432 return ttm_resource_intersects(bdev, res, place, bo->base.size); in ttm_bo_eviction_valuable()
495 /** @place: The place passed to the resource allocation. */
496 const struct ttm_place *place; member
522 if (bo->pin_count || !bo->bdev->funcs->eviction_valuable(bo, evict_walk->place)) in ttm_bo_evict_cb()
538 lret = ttm_resource_alloc(evict_walk->evictor, evict_walk->place, in ttm_bo_evict_cb()
556 const struct ttm_place *place, in ttm_bo_evict_alloc() argument
569 .place = place, in ttm_bo_evict_alloc()
721 const struct ttm_place *place = &placement->placement[i]; in ttm_bo_alloc_resource() local
726 man = ttm_manager_type(bdev, place->mem_type); in ttm_bo_alloc_resource()
730 if (place->flags & (force_space ? TTM_PL_FLAG_DESIRED : in ttm_bo_alloc_resource()
734 may_evict = (force_space && place->mem_type != TTM_PL_SYSTEM); in ttm_bo_alloc_resource()
735 ret = ttm_resource_alloc(bo, place, res, force_space ? &limit_pool : NULL); in ttm_bo_alloc_resource()
746 ret = ttm_bo_evict_alloc(bdev, man, place, bo, ctx, in ttm_bo_alloc_resource()
863 /* try and move to final place now. */ in ttm_bo_validate()
1102 struct ttm_place place = {.mem_type = bo->resource->mem_type}; in ttm_bo_swapout_cb() local
1114 if (bo->pin_count || !bo->bdev->funcs->eviction_valuable(bo, &place)) { in ttm_bo_swapout_cb()
1146 place.mem_type = TTM_PL_SYSTEM; in ttm_bo_swapout_cb()
1147 ret = ttm_resource_alloc(bo, &place, &evict_mem, NULL); in ttm_bo_swapout_cb()