Lines Matching refs:ttm_buffer_object

49 static void ttm_bo_mem_space_debug(struct ttm_buffer_object *bo,
74 void ttm_bo_move_to_lru_tail(struct ttm_buffer_object *bo)
97 void ttm_bo_set_bulk_move(struct ttm_buffer_object *bo,
115 static int ttm_bo_handle_move_mem(struct ttm_buffer_object *bo,
177 static void ttm_bo_cleanup_memtype_use(struct ttm_buffer_object *bo)
186 static int ttm_bo_individualize_resv(struct ttm_buffer_object *bo)
213 static void ttm_bo_flush_all_fences(struct ttm_buffer_object *bo)
241 static int ttm_bo_cleanup_refs(struct ttm_buffer_object *bo,
307 struct ttm_buffer_object *bo;
321 struct ttm_buffer_object *bo =
322 container_of(kref, struct ttm_buffer_object, kref);
398 void ttm_bo_put(struct ttm_buffer_object *bo)
404 static int ttm_bo_bounce_temp_buffer(struct ttm_buffer_object *bo,
428 static int ttm_bo_evict(struct ttm_buffer_object *bo,
491 bool ttm_bo_eviction_valuable(struct ttm_buffer_object *bo,
518 static bool ttm_bo_evict_swapout_allowable(struct ttm_buffer_object *bo,
567 static int ttm_mem_evict_wait_busy(struct ttm_buffer_object *busy_bo,
599 struct ttm_buffer_object *bo = NULL, *busy_bo = NULL;
661 void ttm_bo_pin(struct ttm_buffer_object *bo)
679 void ttm_bo_unpin(struct ttm_buffer_object *bo)
698 static int ttm_bo_add_move_fence(struct ttm_buffer_object *bo,
728 * @bo: Pointer to a struct ttm_buffer_object of which we want a resource for
744 static int ttm_bo_alloc_resource(struct ttm_buffer_object *bo,
805 * @bo: Pointer to a struct ttm_buffer_object of which we want a resource for
813 int ttm_bo_mem_space(struct ttm_buffer_object *bo,
846 int ttm_bo_validate(struct ttm_buffer_object *bo,
927 * @bo: Pointer to a ttm_buffer_object to be initialized.
936 * This function initializes a pre-allocated struct ttm_buffer_object.
939 * derived from a ttm_buffer_object.
956 int ttm_bo_init_reserved(struct ttm_device *bdev, struct ttm_buffer_object *bo,
960 void (*destroy) (struct ttm_buffer_object *))
1017 * @bo: Pointer to a ttm_buffer_object to be initialized.
1031 * This function initializes a pre-allocated struct ttm_buffer_object.
1034 * enables driver-specific objects derived from a ttm_buffer_object.
1049 int ttm_bo_init_validate(struct ttm_device *bdev, struct ttm_buffer_object *bo,
1053 void (*destroy) (struct ttm_buffer_object *))
1079 void ttm_bo_unmap_virtual(struct ttm_buffer_object *bo)
1098 int ttm_bo_wait_ctx(struct ttm_buffer_object *bo, struct ttm_operation_ctx *ctx)
1120 int ttm_bo_swapout(struct ttm_buffer_object *bo, struct ttm_operation_ctx *ctx,
1207 void ttm_bo_tt_destroy(struct ttm_buffer_object *bo)