Lines Matching refs:placement
50 struct ttm_placement *placement) in ttm_bo_mem_space_debug() argument
56 for (i = 0; i < placement->num_placement; i++) { in ttm_bo_mem_space_debug()
57 mem_type = placement->placement[i].mem_type; in ttm_bo_mem_space_debug()
59 i, placement->placement[i].flags, mem_type); in ttm_bo_mem_space_debug()
340 hop_placement.placement = hop; in ttm_bo_bounce_temp_buffer()
360 struct ttm_placement placement; in ttm_bo_evict() local
368 placement.num_placement = 0; in ttm_bo_evict()
369 bdev->funcs->evict_flags(bo, &placement); in ttm_bo_evict()
371 if (!placement.num_placement) { in ttm_bo_evict()
383 ret = ttm_bo_mem_space(bo, &placement, &evict_mem, ctx); in ttm_bo_evict()
388 ttm_bo_mem_space_debug(bo, &placement); in ttm_bo_evict()
674 struct ttm_placement *placement, in ttm_bo_alloc_resource() argument
688 for (i = 0; i < placement->num_placement; ++i) { in ttm_bo_alloc_resource()
689 const struct ttm_place *place = &placement->placement[i]; in ttm_bo_alloc_resource()
743 struct ttm_placement *placement, in ttm_bo_mem_space() argument
751 ret = ttm_bo_alloc_resource(bo, placement, ctx, in ttm_bo_mem_space()
776 struct ttm_placement *placement, in ttm_bo_validate() argument
789 if (!placement->num_placement) in ttm_bo_validate()
796 ttm_resource_compatible(bo->resource, placement, in ttm_bo_validate()
813 ret = ttm_bo_alloc_resource(bo, placement, ctx, force_space, in ttm_bo_validate()
886 enum ttm_bo_type type, struct ttm_placement *placement, in ttm_bo_init_reserved() argument
926 ret = ttm_bo_validate(bo, placement, ctx); in ttm_bo_init_reserved()
979 enum ttm_bo_type type, struct ttm_placement *placement, in ttm_bo_init_validate() argument
987 ret = ttm_bo_init_reserved(bdev, bo, type, placement, alignment, &ctx, in ttm_bo_init_validate()