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()
496 /** @place: The place passed to the resource allocation. */
497 const struct ttm_place *place; member
523 if (bo->pin_count || !bo->bdev->funcs->eviction_valuable(bo, evict_walk->place)) in ttm_bo_evict_cb()
539 lret = ttm_resource_alloc(evict_walk->evictor, evict_walk->place, in ttm_bo_evict_cb()
557 const struct ttm_place *place, in ttm_bo_evict_alloc() argument
570 .place = place, in ttm_bo_evict_alloc()
722 const struct ttm_place *place = &placement->placement[i]; in ttm_bo_alloc_resource() local
727 man = ttm_manager_type(bdev, place->mem_type); in ttm_bo_alloc_resource()
731 if (place->flags & (force_space ? TTM_PL_FLAG_DESIRED : in ttm_bo_alloc_resource()
735 may_evict = (force_space && place->mem_type != TTM_PL_SYSTEM); in ttm_bo_alloc_resource()
736 ret = ttm_resource_alloc(bo, place, res, force_space ? &limit_pool : NULL); in ttm_bo_alloc_resource()
747 ret = ttm_bo_evict_alloc(bdev, man, place, bo, ctx, in ttm_bo_alloc_resource()
864 /* try and move to final place now. */ in ttm_bo_validate()
1104 struct ttm_place place = {.mem_type = bo->resource->mem_type}; in ttm_bo_swapout_cb() local
1116 if (bo->pin_count || !bo->bdev->funcs->eviction_valuable(bo, &place)) { in ttm_bo_swapout_cb()
1148 place.mem_type = TTM_PL_SYSTEM; in ttm_bo_swapout_cb()
1149 ret = ttm_resource_alloc(bo, &place, &evict_mem, NULL); in ttm_bo_swapout_cb()