Lines Matching refs:ttm_buffer_object

54 static void ttm_bo_default_destroy(struct ttm_buffer_object *bo)  in ttm_bo_default_destroy()
88 static void ttm_bo_mem_space_debug(struct ttm_buffer_object *bo, in ttm_bo_mem_space_debug()
141 struct ttm_buffer_object *bo = in ttm_bo_release_list()
142 container_of(list_kref, struct ttm_buffer_object, list_kref); in ttm_bo_release_list()
161 void ttm_bo_add_to_lru(struct ttm_buffer_object *bo) in ttm_bo_add_to_lru()
190 void ttm_bo_del_from_lru(struct ttm_buffer_object *bo) in ttm_bo_del_from_lru()
207 void ttm_bo_del_sub_from_lru(struct ttm_buffer_object *bo) in ttm_bo_del_sub_from_lru()
217 void ttm_bo_move_to_lru_tail(struct ttm_buffer_object *bo) in ttm_bo_move_to_lru_tail()
226 static int ttm_bo_handle_move_mem(struct ttm_buffer_object *bo, in ttm_bo_handle_move_mem()
335 static void ttm_bo_cleanup_memtype_use(struct ttm_buffer_object *bo) in ttm_bo_cleanup_memtype_use()
345 static int ttm_bo_individualize_resv(struct ttm_buffer_object *bo) in ttm_bo_individualize_resv()
361 static void ttm_bo_flush_all_fences(struct ttm_buffer_object *bo) in ttm_bo_flush_all_fences()
381 static void ttm_bo_cleanup_refs_or_queue(struct ttm_buffer_object *bo) in ttm_bo_cleanup_refs_or_queue()
451 static int ttm_bo_cleanup_refs(struct ttm_buffer_object *bo, in ttm_bo_cleanup_refs()
535 struct ttm_buffer_object *bo; in ttm_bo_delayed_delete()
537 bo = list_first_entry(&bdev->ddestroy, struct ttm_buffer_object, in ttm_bo_delayed_delete()
577 struct ttm_buffer_object *bo = in ttm_bo_release()
578 container_of(kref, struct ttm_buffer_object, kref); in ttm_bo_release()
590 void ttm_bo_put(struct ttm_buffer_object *bo) in ttm_bo_put()
596 void ttm_bo_unref(struct ttm_buffer_object **p_bo) in ttm_bo_unref()
598 struct ttm_buffer_object *bo = *p_bo; in ttm_bo_unref()
619 static int ttm_bo_evict(struct ttm_buffer_object *bo, in ttm_bo_evict()
668 bool ttm_bo_eviction_valuable(struct ttm_buffer_object *bo, in ttm_bo_eviction_valuable()
692 static bool ttm_bo_evict_swapout_allowable(struct ttm_buffer_object *bo, in ttm_bo_evict_swapout_allowable()
718 struct ttm_buffer_object *bo = NULL; in ttm_mem_evict_first()
775 void ttm_bo_mem_put(struct ttm_buffer_object *bo, struct ttm_mem_reg *mem) in ttm_bo_mem_put()
787 static int ttm_bo_add_move_fence(struct ttm_buffer_object *bo, in ttm_bo_add_move_fence()
816 static int ttm_bo_mem_force_space(struct ttm_buffer_object *bo, in ttm_bo_mem_force_space()
892 int ttm_bo_mem_space(struct ttm_buffer_object *bo, in ttm_bo_mem_space()
1007 static int ttm_bo_move_buffer(struct ttm_buffer_object *bo, in ttm_bo_move_buffer()
1077 int ttm_bo_validate(struct ttm_buffer_object *bo, in ttm_bo_validate()
1113 struct ttm_buffer_object *bo, in ttm_bo_init_reserved()
1122 void (*destroy) (struct ttm_buffer_object *)) in ttm_bo_init_reserved()
1222 struct ttm_buffer_object *bo, in ttm_bo_init()
1231 void (*destroy) (struct ttm_buffer_object *)) in ttm_bo_init()
1283 struct ttm_buffer_object **p_bo) in ttm_bo_create()
1285 struct ttm_buffer_object *bo; in ttm_bo_create()
1293 acc_size = ttm_bo_acc_size(bdev, size, sizeof(struct ttm_buffer_object)); in ttm_bo_create()
1596 void ttm_bo_unmap_virtual_locked(struct ttm_buffer_object *bo) in ttm_bo_unmap_virtual_locked()
1604 void ttm_bo_unmap_virtual(struct ttm_buffer_object *bo) in ttm_bo_unmap_virtual()
1617 int ttm_bo_wait(struct ttm_buffer_object *bo, in ttm_bo_wait()
1642 int ttm_bo_synccpu_write_grab(struct ttm_buffer_object *bo, bool no_wait) in ttm_bo_synccpu_write_grab()
1661 void ttm_bo_synccpu_write_release(struct ttm_buffer_object *bo) in ttm_bo_synccpu_write_release()
1673 struct ttm_buffer_object *bo; in ttm_bo_swapout()
1776 int ttm_bo_wait_unreserved(struct ttm_buffer_object *bo) in ttm_bo_wait_unreserved()