Lines Matching refs:ttm_buffer_object

44 static int ttm_bo_setup_vm(struct ttm_buffer_object *bo);
77 static void ttm_bo_mem_space_debug(struct ttm_buffer_object *bo, in ttm_bo_mem_space_debug()
111 static void ttm_bo_release_list(struct ttm_buffer_object *bo) in ttm_bo_release_list()
136 ttm_bo_wait_unreserved_locked(struct ttm_buffer_object *bo, bool interruptible) in ttm_bo_wait_unreserved_locked()
159 void ttm_bo_add_to_lru(struct ttm_buffer_object *bo) in ttm_bo_add_to_lru()
181 int ttm_bo_del_from_lru(struct ttm_buffer_object *bo) in ttm_bo_del_from_lru()
202 int ttm_bo_reserve_nolru(struct ttm_buffer_object *bo, in ttm_bo_reserve_nolru()
266 void ttm_bo_list_ref_sub(struct ttm_buffer_object *bo, int count, in ttm_bo_list_ref_sub()
279 int ttm_bo_reserve(struct ttm_buffer_object *bo, in ttm_bo_reserve()
300 int ttm_bo_reserve_slowpath_nolru(struct ttm_buffer_object *bo, in ttm_bo_reserve_slowpath_nolru()
334 int ttm_bo_reserve_slowpath(struct ttm_buffer_object *bo, in ttm_bo_reserve_slowpath()
351 void ttm_bo_unreserve_locked(struct ttm_buffer_object *bo) in ttm_bo_unreserve_locked()
358 void ttm_bo_unreserve(struct ttm_buffer_object *bo) in ttm_bo_unreserve()
370 static int ttm_bo_add_ttm(struct ttm_buffer_object *bo, bool zero_alloc) in ttm_bo_add_ttm()
412 static int ttm_bo_handle_move_mem(struct ttm_buffer_object *bo, in ttm_bo_handle_move_mem()
525 static void ttm_bo_cleanup_memtype_use(struct ttm_buffer_object *bo) in ttm_bo_cleanup_memtype_use()
550 static void ttm_bo_cleanup_refs_or_queue(struct ttm_buffer_object *bo) in ttm_bo_cleanup_refs_or_queue()
608 static int ttm_bo_cleanup_refs_and_unlock(struct ttm_buffer_object *bo, in ttm_bo_cleanup_refs_and_unlock()
696 struct ttm_buffer_object *entry = NULL; in ttm_bo_delayed_delete()
704 struct ttm_buffer_object, ddestroy); in ttm_bo_delayed_delete()
708 struct ttm_buffer_object *nentry = NULL; in ttm_bo_delayed_delete()
712 struct ttm_buffer_object, ddestroy); in ttm_bo_delayed_delete()
758 static void ttm_bo_release(struct ttm_buffer_object *bo) in ttm_bo_release()
779 void ttm_bo_unref(struct ttm_buffer_object **p_bo) in ttm_bo_unref()
781 struct ttm_buffer_object *bo = *p_bo; in ttm_bo_unref()
805 static int ttm_bo_evict(struct ttm_buffer_object *bo, bool interruptible, in ttm_bo_evict()
867 struct ttm_buffer_object *bo; in ttm_mem_evict_first()
907 void ttm_bo_mem_put(struct ttm_buffer_object *bo, struct ttm_mem_reg *mem) in ttm_bo_mem_put()
919 static int ttm_bo_mem_force_space(struct ttm_buffer_object *bo, in ttm_bo_mem_force_space()
999 int ttm_bo_mem_space(struct ttm_buffer_object *bo, in ttm_bo_mem_space()
1106 int ttm_bo_move_buffer(struct ttm_buffer_object *bo, in ttm_bo_move_buffer()
1167 int ttm_bo_validate(struct ttm_buffer_object *bo, in ttm_bo_validate()
1208 int ttm_bo_check_placement(struct ttm_buffer_object *bo, in ttm_bo_check_placement()
1218 struct ttm_buffer_object *bo, in ttm_bo_init()
1227 void (*destroy) (struct ttm_buffer_object *)) in ttm_bo_init()
1345 struct ttm_buffer_object **p_bo) in ttm_bo_create()
1347 struct ttm_buffer_object *bo; in ttm_bo_create()
1352 acc_size = ttm_bo_acc_size(bdev, size, sizeof(struct ttm_buffer_object)); in ttm_bo_create()
1647 void ttm_bo_unmap_virtual_locked(struct ttm_buffer_object *bo) in ttm_bo_unmap_virtual_locked()
1654 void ttm_bo_unmap_virtual(struct ttm_buffer_object *bo) in ttm_bo_unmap_virtual()
1664 static void ttm_bo_vm_insert_rb(struct ttm_buffer_object *bo) in ttm_bo_vm_insert_rb()
1683 static int ttm_bo_setup_vm(struct ttm_buffer_object *bo) in ttm_bo_setup_vm()
1720 int ttm_bo_wait(struct ttm_buffer_object *bo, in ttm_bo_wait()
1774 int ttm_bo_synccpu_write_grab(struct ttm_buffer_object *bo, bool no_wait) in ttm_bo_synccpu_write_grab()
1795 void ttm_bo_synccpu_write_release(struct ttm_buffer_object *bo) in ttm_bo_synccpu_write_release()
1809 struct ttm_buffer_object *bo; in ttm_bo_swapout()