Lines Matching full:place

172  * This is the place to put in driver specific hooks to release
489 * @place: the placement we need to make room for
494 const struct ttm_place *place) in ttm_bo_eviction_valuable() argument
506 return ttm_resource_intersects(bdev, res, place, bo->base.size); in ttm_bo_eviction_valuable()
522 const struct ttm_place *place, in ttm_bo_evict_swapout_allowable() argument
548 if (ret && place && (bo->resource->mem_type != place->mem_type || in ttm_bo_evict_swapout_allowable()
549 !bo->bdev->funcs->eviction_valuable(bo, place))) { in ttm_bo_evict_swapout_allowable()
597 const struct ttm_place *place, in ttm_mem_evict_first() argument
611 if (!ttm_bo_evict_swapout_allowable(res->bo, ctx, place, in ttm_mem_evict_first()
733 const struct ttm_place *place, in ttm_bo_mem_force_space() argument
742 man = ttm_manager_type(bdev, place->mem_type); in ttm_bo_mem_force_space()
745 ret = ttm_resource_alloc(bo, place, mem); in ttm_bo_mem_force_space()
750 ret = ttm_mem_evict_first(bdev, man, place, ctx, in ttm_bo_mem_force_space()
791 const struct ttm_place *place = &placement->placement[i]; in ttm_bo_mem_space() local
794 man = ttm_manager_type(bdev, place->mem_type); in ttm_bo_mem_space()
799 ret = ttm_resource_alloc(bo, place, mem); in ttm_bo_mem_space()
817 const struct ttm_place *place = &placement->busy_placement[i]; in ttm_bo_mem_space() local
820 man = ttm_manager_type(bdev, place->mem_type); in ttm_bo_mem_space()
825 ret = ttm_bo_mem_force_space(bo, place, mem, ctx); in ttm_bo_mem_space()
872 /* try and move to final place now. */ in ttm_bo_move_buffer()
1134 struct ttm_place place; in ttm_bo_swapout() local
1144 memset(&place, 0, sizeof(place)); in ttm_bo_swapout()
1145 place.mem_type = bo->resource->mem_type; in ttm_bo_swapout()
1146 if (!ttm_bo_evict_swapout_allowable(bo, ctx, &place, &locked, NULL)) in ttm_bo_swapout()
1175 place.mem_type = TTM_PL_SYSTEM; in ttm_bo_swapout()
1176 ret = ttm_resource_alloc(bo, &place, &evict_mem); in ttm_bo_swapout()