Lines Matching full:place

218  * This is the place to put in driver specific hooks to release
564 /* try and move to final place now. */ in ttm_bo_evict()
572 const struct ttm_place *place) in ttm_bo_eviction_valuable() argument
581 if (place->fpfn >= (bo->resource->start + bo->resource->num_pages) || in ttm_bo_eviction_valuable()
582 (place->lpfn && place->lpfn <= bo->resource->start)) in ttm_bo_eviction_valuable()
601 const struct ttm_place *place, in ttm_bo_evict_swapout_allowable() argument
620 if (ret && place && !bo->bdev->funcs->eviction_valuable(bo, place)) { in ttm_bo_evict_swapout_allowable()
668 const struct ttm_place *place, in ttm_mem_evict_first() argument
682 if (!ttm_bo_evict_swapout_allowable(bo, ctx, place, in ttm_mem_evict_first()
776 const struct ttm_place *place, in ttm_bo_mem_force_space() argument
785 man = ttm_manager_type(bdev, place->mem_type); in ttm_bo_mem_force_space()
788 ret = ttm_resource_alloc(bo, place, mem); in ttm_bo_mem_force_space()
793 ret = ttm_mem_evict_first(bdev, man, place, ctx, in ttm_bo_mem_force_space()
824 const struct ttm_place *place = &placement->placement[i]; in ttm_bo_mem_space() local
827 man = ttm_manager_type(bdev, place->mem_type); in ttm_bo_mem_space()
832 ret = ttm_resource_alloc(bo, place, mem); in ttm_bo_mem_space()
850 const struct ttm_place *place = &placement->busy_placement[i]; in ttm_bo_mem_space() local
853 man = ttm_manager_type(bdev, place->mem_type); in ttm_bo_mem_space()
858 ret = ttm_bo_mem_force_space(bo, place, mem, ctx); in ttm_bo_mem_space()
908 /* try and move to final place now. */ in ttm_bo_move_buffer()
1138 struct ttm_place place; in ttm_bo_swapout() local
1148 memset(&place, 0, sizeof(place)); in ttm_bo_swapout()
1149 place.mem_type = TTM_PL_SYSTEM; in ttm_bo_swapout()
1150 if (!ttm_bo_evict_swapout_allowable(bo, ctx, &place, &locked, NULL)) in ttm_bo_swapout()
1181 ret = ttm_resource_alloc(bo, &place, &evict_mem); in ttm_bo_swapout()