Lines Matching refs:placement

51 					struct ttm_placement *placement)  in ttm_bo_mem_space_debug()  argument
57 for (i = 0; i < placement->num_placement; i++) { in ttm_bo_mem_space_debug()
58 mem_type = placement->placement[i].mem_type; in ttm_bo_mem_space_debug()
60 i, placement->placement[i].flags, mem_type); in ttm_bo_mem_space_debug()
341 hop_placement.placement = hop; in ttm_bo_bounce_temp_buffer()
361 struct ttm_placement placement; in ttm_bo_evict() local
369 placement.num_placement = 0; in ttm_bo_evict()
370 bdev->funcs->evict_flags(bo, &placement); in ttm_bo_evict()
372 if (!placement.num_placement) { in ttm_bo_evict()
384 ret = ttm_bo_mem_space(bo, &placement, &evict_mem, ctx); in ttm_bo_evict()
389 ttm_bo_mem_space_debug(bo, &placement); in ttm_bo_evict()
706 struct ttm_placement *placement, in ttm_bo_alloc_resource() argument
720 for (i = 0; i < placement->num_placement; ++i) { in ttm_bo_alloc_resource()
721 const struct ttm_place *place = &placement->placement[i]; in ttm_bo_alloc_resource()
781 struct ttm_placement *placement, in ttm_bo_mem_space() argument
789 ret = ttm_bo_alloc_resource(bo, placement, ctx, in ttm_bo_mem_space()
814 struct ttm_placement *placement, in ttm_bo_validate() argument
827 if (!placement->num_placement) in ttm_bo_validate()
834 ttm_resource_compatible(bo->resource, placement, in ttm_bo_validate()
851 ret = ttm_bo_alloc_resource(bo, placement, ctx, force_space, in ttm_bo_validate()
924 enum ttm_bo_type type, struct ttm_placement *placement, in ttm_bo_init_reserved() argument
964 ret = ttm_bo_validate(bo, placement, ctx); in ttm_bo_init_reserved()
1017 enum ttm_bo_type type, struct ttm_placement *placement, in ttm_bo_init_validate() argument
1025 ret = ttm_bo_init_reserved(bdev, bo, type, placement, alignment, &ctx, in ttm_bo_init_validate()