Lines Matching refs:resv

153 	if (bo->resv == &bo->ttm_resv)  in ttm_bo_release_list()
169 lockdep_assert_held(&bo->resv->lock.base); in ttm_bo_add_to_lru()
403 ww_mutex_unlock (&bo->resv->lock); in ttm_bo_cleanup_memtype_use()
412 fobj = reservation_object_get_list(bo->resv); in ttm_bo_flush_all_fences()
413 fence = reservation_object_get_excl(bo->resv); in ttm_bo_flush_all_fences()
419 reservation_object_held(bo->resv)); in ttm_bo_flush_all_fences()
494 ww_mutex_unlock(&bo->resv->lock); in ttm_bo_cleanup_refs_and_unlock()
497 lret = reservation_object_wait_timeout_rcu(bo->resv, in ttm_bo_cleanup_refs_and_unlock()
676 lockdep_assert_held(&bo->resv->lock.base); in ttm_bo_evict()
977 lockdep_assert_held(&bo->resv->lock.base); in ttm_bo_move_buffer()
1050 lockdep_assert_held(&bo->resv->lock.base); in ttm_bo_validate()
1089 struct reservation_object *resv, in ttm_bo_init() argument
1143 if (resv) { in ttm_bo_init()
1144 bo->resv = resv; in ttm_bo_init()
1145 lockdep_assert_held(&bo->resv->lock.base); in ttm_bo_init()
1147 bo->resv = &bo->ttm_resv; in ttm_bo_init()
1165 if (!resv) { in ttm_bo_init()
1166 locked = ww_mutex_trylock(&bo->resv->lock); in ttm_bo_init()
1173 if (!resv) in ttm_bo_init()
1542 struct reservation_object *resv; in ttm_bo_wait() local
1547 resv = bo->resv; in ttm_bo_wait()
1548 fobj = reservation_object_get_list(resv); in ttm_bo_wait()
1549 excl = reservation_object_get_excl(resv); in ttm_bo_wait()
1563 reservation_object_held(resv)); in ttm_bo_wait()
1580 reservation_object_add_excl_fence(resv, NULL); in ttm_bo_wait()
1724 if (!ww_mutex_is_locked(&bo->resv->lock)) in ttm_bo_wait_unreserved()