Lines Matching refs:place

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
535 if (ret && place && (bo->resource->mem_type != place->mem_type || in ttm_bo_evict_swapout_allowable()
536 !bo->bdev->funcs->eviction_valuable(bo, place))) { in ttm_bo_evict_swapout_allowable()
584 const struct ttm_place *place, in ttm_mem_evict_first() argument
598 if (!ttm_bo_evict_swapout_allowable(res->bo, ctx, place, in ttm_mem_evict_first()
720 const struct ttm_place *place, in ttm_bo_mem_force_space() argument
729 man = ttm_manager_type(bdev, place->mem_type); in ttm_bo_mem_force_space()
732 ret = ttm_resource_alloc(bo, place, mem); in ttm_bo_mem_force_space()
737 ret = ttm_mem_evict_first(bdev, man, place, ctx, in ttm_bo_mem_force_space()
778 const struct ttm_place *place = &placement->placement[i]; in ttm_bo_mem_space() local
781 man = ttm_manager_type(bdev, place->mem_type); in ttm_bo_mem_space()
786 ret = ttm_resource_alloc(bo, place, mem); in ttm_bo_mem_space()
804 const struct ttm_place *place = &placement->busy_placement[i]; in ttm_bo_mem_space() local
807 man = ttm_manager_type(bdev, place->mem_type); in ttm_bo_mem_space()
812 ret = ttm_bo_mem_force_space(bo, place, mem, ctx); in ttm_bo_mem_space()
1124 struct ttm_place place; in ttm_bo_swapout() local
1134 memset(&place, 0, sizeof(place)); in ttm_bo_swapout()
1135 place.mem_type = bo->resource->mem_type; in ttm_bo_swapout()
1136 if (!ttm_bo_evict_swapout_allowable(bo, ctx, &place, &locked, NULL)) in ttm_bo_swapout()
1166 place.mem_type = TTM_PL_SYSTEM; in ttm_bo_swapout()
1167 ret = ttm_resource_alloc(bo, &place, &evict_mem); in ttm_bo_swapout()