Lines Matching full:place

172  * This is the place to put in driver specific hooks to release
414 * @place: the placement we need to make room for
419 const struct ttm_place *place) in ttm_bo_eviction_valuable() argument
431 return ttm_resource_intersects(bdev, res, place, bo->base.size); in ttm_bo_eviction_valuable()
494 /** @place: The place passed to the resource allocation. */
495 const struct ttm_place *place; member
510 if (bo->pin_count || !bo->bdev->funcs->eviction_valuable(bo, evict_walk->place)) in ttm_bo_evict_cb()
526 lret = ttm_resource_alloc(evict_walk->evictor, evict_walk->place, in ttm_bo_evict_cb()
544 const struct ttm_place *place, in ttm_bo_evict_alloc() argument
556 .place = place, in ttm_bo_evict_alloc()
691 const struct ttm_place *place = &placement->placement[i]; in ttm_bo_alloc_resource() local
695 man = ttm_manager_type(bdev, place->mem_type); in ttm_bo_alloc_resource()
699 if (place->flags & (force_space ? TTM_PL_FLAG_DESIRED : in ttm_bo_alloc_resource()
703 may_evict = (force_space && place->mem_type != TTM_PL_SYSTEM); in ttm_bo_alloc_resource()
704 ret = ttm_resource_alloc(bo, place, res); in ttm_bo_alloc_resource()
711 ret = ttm_bo_evict_alloc(bdev, man, place, bo, ctx, in ttm_bo_alloc_resource()
827 /* try and move to final place now. */ in ttm_bo_validate()
1064 struct ttm_place place = {.mem_type = bo->resource->mem_type}; in ttm_bo_swapout_cb() local
1076 if (bo->pin_count || !bo->bdev->funcs->eviction_valuable(bo, &place)) { in ttm_bo_swapout_cb()
1108 place.mem_type = TTM_PL_SYSTEM; in ttm_bo_swapout_cb()
1109 ret = ttm_resource_alloc(bo, &place, &evict_mem); in ttm_bo_swapout_cb()