Lines Matching full:place

173  * This is the place to put in driver specific hooks to release
511 /* try and move to final place now. */ in ttm_bo_evict()
519 const struct ttm_place *place) in ttm_bo_eviction_valuable() argument
531 return ttm_resource_intersects(bdev, res, place, bo->base.size); in ttm_bo_eviction_valuable()
547 const struct ttm_place *place, in ttm_bo_evict_swapout_allowable() argument
566 if (ret && place && (bo->resource->mem_type != place->mem_type || in ttm_bo_evict_swapout_allowable()
567 !bo->bdev->funcs->eviction_valuable(bo, place))) { in ttm_bo_evict_swapout_allowable()
615 const struct ttm_place *place, in ttm_mem_evict_first() argument
629 if (!ttm_bo_evict_swapout_allowable(res->bo, ctx, place, in ttm_mem_evict_first()
751 const struct ttm_place *place, in ttm_bo_mem_force_space() argument
760 man = ttm_manager_type(bdev, place->mem_type); in ttm_bo_mem_force_space()
763 ret = ttm_resource_alloc(bo, place, mem); in ttm_bo_mem_force_space()
768 ret = ttm_mem_evict_first(bdev, man, place, ctx, in ttm_bo_mem_force_space()
799 const struct ttm_place *place = &placement->placement[i]; in ttm_bo_mem_space() local
802 man = ttm_manager_type(bdev, place->mem_type); in ttm_bo_mem_space()
807 ret = ttm_resource_alloc(bo, place, mem); in ttm_bo_mem_space()
825 const struct ttm_place *place = &placement->busy_placement[i]; in ttm_bo_mem_space() local
828 man = ttm_manager_type(bdev, place->mem_type); in ttm_bo_mem_space()
833 ret = ttm_bo_mem_force_space(bo, place, mem, ctx); in ttm_bo_mem_space()
880 /* try and move to final place now. */ in ttm_bo_move_buffer()
1118 struct ttm_place place; in ttm_bo_swapout() local
1128 memset(&place, 0, sizeof(place)); in ttm_bo_swapout()
1129 place.mem_type = bo->resource->mem_type; in ttm_bo_swapout()
1130 if (!ttm_bo_evict_swapout_allowable(bo, ctx, &place, &locked, NULL)) in ttm_bo_swapout()
1160 place.mem_type = TTM_PL_SYSTEM; in ttm_bo_swapout()
1161 ret = ttm_resource_alloc(bo, &place, &evict_mem); in ttm_bo_swapout()