Lines Matching full:place

172  * This is the place to put in driver specific hooks to release
483 * @place: the placement we need to make room for
488 const struct ttm_place *place) in ttm_bo_eviction_valuable() argument
500 return ttm_resource_intersects(bdev, res, place, bo->base.size); in ttm_bo_eviction_valuable()
516 const struct ttm_place *place, in ttm_bo_evict_swapout_allowable() argument
542 if (ret && place && (bo->resource->mem_type != place->mem_type || in ttm_bo_evict_swapout_allowable()
543 !bo->bdev->funcs->eviction_valuable(bo, place))) { in ttm_bo_evict_swapout_allowable()
591 const struct ttm_place *place, in ttm_mem_evict_first() argument
605 if (!ttm_bo_evict_swapout_allowable(res->bo, ctx, place, in ttm_mem_evict_first()
727 const struct ttm_place *place, in ttm_bo_mem_force_space() argument
736 man = ttm_manager_type(bdev, place->mem_type); in ttm_bo_mem_force_space()
739 ret = ttm_resource_alloc(bo, place, mem); in ttm_bo_mem_force_space()
744 ret = ttm_mem_evict_first(bdev, man, place, ctx, in ttm_bo_mem_force_space()
785 const struct ttm_place *place = &placement->placement[i]; in ttm_bo_mem_space() local
788 man = ttm_manager_type(bdev, place->mem_type); in ttm_bo_mem_space()
793 ret = ttm_resource_alloc(bo, place, mem); in ttm_bo_mem_space()
811 const struct ttm_place *place = &placement->busy_placement[i]; in ttm_bo_mem_space() local
814 man = ttm_manager_type(bdev, place->mem_type); in ttm_bo_mem_space()
819 ret = ttm_bo_mem_force_space(bo, place, mem, ctx); in ttm_bo_mem_space()
866 /* try and move to final place now. */ in ttm_bo_move_buffer()
1128 struct ttm_place place; in ttm_bo_swapout() local
1138 memset(&place, 0, sizeof(place)); in ttm_bo_swapout()
1139 place.mem_type = bo->resource->mem_type; in ttm_bo_swapout()
1140 if (!ttm_bo_evict_swapout_allowable(bo, ctx, &place, &locked, NULL)) in ttm_bo_swapout()
1169 place.mem_type = TTM_PL_SYSTEM; in ttm_bo_swapout()
1170 ret = ttm_resource_alloc(bo, &place, &evict_mem); in ttm_bo_swapout()