Lines Matching refs:placement

54 					struct ttm_placement *placement)  in ttm_bo_mem_space_debug()  argument
63 for (i = 0; i < placement->num_placement; i++) { in ttm_bo_mem_space_debug()
64 mem_type = placement->placement[i].mem_type; in ttm_bo_mem_space_debug()
66 i, placement->placement[i].flags, mem_type); in ttm_bo_mem_space_debug()
503 hop_placement.placement = hop_placement.busy_placement = hop; in ttm_bo_bounce_temp_buffer()
523 struct ttm_placement placement; in ttm_bo_evict() local
531 placement.num_placement = 0; in ttm_bo_evict()
532 placement.num_busy_placement = 0; in ttm_bo_evict()
533 bdev->funcs->evict_flags(bo, &placement); in ttm_bo_evict()
535 if (!placement.num_placement && !placement.num_busy_placement) { in ttm_bo_evict()
547 ret = ttm_bo_mem_space(bo, &placement, &evict_mem, ctx); in ttm_bo_evict()
552 ttm_bo_mem_space_debug(bo, &placement); in ttm_bo_evict()
814 struct ttm_placement *placement, in ttm_bo_mem_space() argument
826 for (i = 0; i < placement->num_placement; ++i) { in ttm_bo_mem_space()
827 const struct ttm_place *place = &placement->placement[i]; in ttm_bo_mem_space()
852 for (i = 0; i < placement->num_busy_placement; ++i) { in ttm_bo_mem_space()
853 const struct ttm_place *place = &placement->busy_placement[i]; in ttm_bo_mem_space()
884 struct ttm_placement *placement, in ttm_bo_move_buffer() argument
902 ret = ttm_bo_mem_space(bo, placement, &mem, ctx); in ttm_bo_move_buffer()
921 struct ttm_placement *placement, in ttm_bo_validate() argument
931 if (!placement->num_placement && !placement->num_busy_placement) in ttm_bo_validate()
937 if (!ttm_resource_compat(bo->resource, placement)) { in ttm_bo_validate()
938 ret = ttm_bo_move_buffer(bo, placement, ctx); in ttm_bo_validate()
958 struct ttm_placement *placement, in ttm_bo_init_reserved() argument
1012 ret = ttm_bo_validate(bo, placement, ctx); in ttm_bo_init_reserved()
1032 struct ttm_placement *placement, in ttm_bo_init() argument
1042 ret = ttm_bo_init_reserved(bdev, bo, size, type, placement, in ttm_bo_init()