Lines Matching refs:ttm_buffer_object

55 static void ttm_bo_mem_space_debug(struct ttm_buffer_object *bo,  in ttm_bo_mem_space_debug()
80 void ttm_bo_move_to_lru_tail(struct ttm_buffer_object *bo) in ttm_bo_move_to_lru_tail()
103 void ttm_bo_set_bulk_move(struct ttm_buffer_object *bo, in ttm_bo_set_bulk_move()
121 static int ttm_bo_handle_move_mem(struct ttm_buffer_object *bo, in ttm_bo_handle_move_mem()
183 static void ttm_bo_cleanup_memtype_use(struct ttm_buffer_object *bo) in ttm_bo_cleanup_memtype_use()
192 static int ttm_bo_individualize_resv(struct ttm_buffer_object *bo) in ttm_bo_individualize_resv()
219 static void ttm_bo_flush_all_fences(struct ttm_buffer_object *bo) in ttm_bo_flush_all_fences()
237 struct ttm_buffer_object *bo; in ttm_bo_delayed_delete()
251 struct ttm_buffer_object *bo = in ttm_bo_release()
252 container_of(kref, struct ttm_buffer_object, kref); in ttm_bo_release()
323 void ttm_bo_put(struct ttm_buffer_object *bo) in ttm_bo_put()
328 void ttm_bo_fini(struct ttm_buffer_object *bo) in ttm_bo_fini()
334 static int ttm_bo_bounce_temp_buffer(struct ttm_buffer_object *bo, in ttm_bo_bounce_temp_buffer()
358 static int ttm_bo_evict(struct ttm_buffer_object *bo, in ttm_bo_evict()
420 bool ttm_bo_eviction_valuable(struct ttm_buffer_object *bo, in ttm_bo_eviction_valuable()
449 struct ttm_buffer_object *bo; in ttm_bo_evict_first()
500 struct ttm_buffer_object *evictor;
514 static s64 ttm_bo_evict_cb(struct ttm_lru_walk *walk, struct ttm_buffer_object *bo) in ttm_bo_evict_cb()
559 struct ttm_buffer_object *evictor, in ttm_bo_evict_alloc()
624 void ttm_bo_pin(struct ttm_buffer_object *bo) in ttm_bo_pin()
643 void ttm_bo_unpin(struct ttm_buffer_object *bo) in ttm_bo_unpin()
663 static int ttm_bo_add_pipelined_eviction_fences(struct ttm_buffer_object *bo, in ttm_bo_add_pipelined_eviction_fences()
710 static int ttm_bo_alloc_resource(struct ttm_buffer_object *bo, in ttm_bo_alloc_resource()
785 int ttm_bo_mem_space(struct ttm_buffer_object *bo, in ttm_bo_mem_space()
818 int ttm_bo_validate(struct ttm_buffer_object *bo, in ttm_bo_validate()
929 int ttm_bo_init_reserved(struct ttm_device *bdev, struct ttm_buffer_object *bo, in ttm_bo_init_reserved() argument
933 void (*destroy) (struct ttm_buffer_object *)) in ttm_bo_init_reserved()
1022 int ttm_bo_init_validate(struct ttm_device *bdev, struct ttm_buffer_object *bo, in ttm_bo_init_validate() argument
1026 void (*destroy) (struct ttm_buffer_object *)) in ttm_bo_init_validate()
1052 void ttm_bo_unmap_virtual(struct ttm_buffer_object *bo) in ttm_bo_unmap_virtual()
1071 int ttm_bo_wait_ctx(struct ttm_buffer_object *bo, struct ttm_operation_ctx *ctx) in ttm_bo_wait_ctx()
1107 ttm_bo_swapout_cb(struct ttm_lru_walk *walk, struct ttm_buffer_object *bo) in ttm_bo_swapout_cb()
1236 void ttm_bo_tt_destroy(struct ttm_buffer_object *bo) in ttm_bo_tt_destroy()
1261 int ttm_bo_populate(struct ttm_buffer_object *bo, in ttm_bo_populate()
1291 int ttm_bo_setup_export(struct ttm_buffer_object *bo, in ttm_bo_setup_export()