Lines Matching refs:ttm_buffer_object
85 static void ttm_bo_mem_space_debug(struct ttm_buffer_object *bo, in ttm_bo_mem_space_debug()
138 struct ttm_buffer_object *bo = in ttm_bo_release_list()
139 container_of(list_kref, struct ttm_buffer_object, list_kref); in ttm_bo_release_list()
164 void ttm_bo_add_to_lru(struct ttm_buffer_object *bo) in ttm_bo_add_to_lru()
187 int ttm_bo_del_from_lru(struct ttm_buffer_object *bo) in ttm_bo_del_from_lru()
213 void ttm_bo_list_ref_sub(struct ttm_buffer_object *bo, int count, in ttm_bo_list_ref_sub()
220 void ttm_bo_del_sub_from_lru(struct ttm_buffer_object *bo) in ttm_bo_del_sub_from_lru()
234 static int ttm_bo_add_ttm(struct ttm_buffer_object *bo, bool zero_alloc) in ttm_bo_add_ttm()
276 static int ttm_bo_handle_move_mem(struct ttm_buffer_object *bo, in ttm_bo_handle_move_mem()
391 static void ttm_bo_cleanup_memtype_use(struct ttm_buffer_object *bo) in ttm_bo_cleanup_memtype_use()
406 static void ttm_bo_flush_all_fences(struct ttm_buffer_object *bo) in ttm_bo_flush_all_fences()
426 static void ttm_bo_cleanup_refs_or_queue(struct ttm_buffer_object *bo) in ttm_bo_cleanup_refs_or_queue()
482 static int ttm_bo_cleanup_refs_and_unlock(struct ttm_buffer_object *bo, in ttm_bo_cleanup_refs_and_unlock()
557 struct ttm_buffer_object *entry = NULL; in ttm_bo_delayed_delete()
565 struct ttm_buffer_object, ddestroy); in ttm_bo_delayed_delete()
569 struct ttm_buffer_object *nentry = NULL; in ttm_bo_delayed_delete()
573 struct ttm_buffer_object, ddestroy); in ttm_bo_delayed_delete()
623 struct ttm_buffer_object *bo = in ttm_bo_release()
624 container_of(kref, struct ttm_buffer_object, kref); in ttm_bo_release()
636 void ttm_bo_unref(struct ttm_buffer_object **p_bo) in ttm_bo_unref()
638 struct ttm_buffer_object *bo = *p_bo; in ttm_bo_unref()
659 static int ttm_bo_evict(struct ttm_buffer_object *bo, bool interruptible, in ttm_bo_evict()
718 struct ttm_buffer_object *bo; in ttm_mem_evict_first()
769 void ttm_bo_mem_put(struct ttm_buffer_object *bo, struct ttm_mem_reg *mem) in ttm_bo_mem_put()
782 static int ttm_bo_mem_force_space(struct ttm_buffer_object *bo, in ttm_bo_mem_force_space()
862 int ttm_bo_mem_space(struct ttm_buffer_object *bo, in ttm_bo_mem_space()
965 static int ttm_bo_move_buffer(struct ttm_buffer_object *bo, in ttm_bo_move_buffer()
1038 int ttm_bo_validate(struct ttm_buffer_object *bo, in ttm_bo_validate()
1076 struct ttm_buffer_object *bo, in ttm_bo_init()
1086 void (*destroy) (struct ttm_buffer_object *)) in ttm_bo_init()
1215 struct ttm_buffer_object **p_bo) in ttm_bo_create()
1217 struct ttm_buffer_object *bo; in ttm_bo_create()
1225 acc_size = ttm_bo_acc_size(bdev, size, sizeof(struct ttm_buffer_object)); in ttm_bo_create()
1513 void ttm_bo_unmap_virtual_locked(struct ttm_buffer_object *bo) in ttm_bo_unmap_virtual_locked()
1521 void ttm_bo_unmap_virtual(struct ttm_buffer_object *bo) in ttm_bo_unmap_virtual()
1534 int ttm_bo_wait(struct ttm_buffer_object *bo, in ttm_bo_wait()
1582 int ttm_bo_synccpu_write_grab(struct ttm_buffer_object *bo, bool no_wait) in ttm_bo_synccpu_write_grab()
1601 void ttm_bo_synccpu_write_release(struct ttm_buffer_object *bo) in ttm_bo_synccpu_write_release()
1616 struct ttm_buffer_object *bo; in ttm_bo_swapout()
1706 int ttm_bo_wait_unreserved(struct ttm_buffer_object *bo) in ttm_bo_wait_unreserved()