Lines Matching refs:resv
254 fbo->base.base.resv = &fbo->base.base._resv; in ttm_buffer_object_transfer()
505 dma_resv_assert_held(bo->base.resv); in ttm_bo_vmap()
573 dma_resv_assert_held(bo->base.resv); in ttm_bo_vunmap()
593 ret = dma_resv_wait_timeout(bo->base.resv, DMA_RESV_USAGE_BOOKKEEP, in ttm_bo_wait_free_node()
693 dma_resv_add_fence(bo->base.resv, fence, DMA_RESV_USAGE_KERNEL); in ttm_bo_move_accel_cleanup()
752 if (dma_resv_test_signaled(bo->base.resv, DMA_RESV_USAGE_BOOKKEEP)) { in ttm_bo_pipeline_gutting()
786 ret = dma_resv_copy_fences(&ghost->base._resv, bo->base.resv); in ttm_bo_pipeline_gutting()
789 dma_resv_wait_timeout(bo->base.resv, DMA_RESV_USAGE_BOOKKEEP, in ttm_bo_pipeline_gutting()
810 if (dma_resv_trylock(bo->base.resv)) { in ttm_lru_walk_trylock()
815 if (bo->base.resv == ctx->resv && ctx->allow_res_evict) { in ttm_lru_walk_trylock()
816 dma_resv_assert_held(bo->base.resv); in ttm_lru_walk_trylock()
827 struct dma_resv *resv = bo->base.resv; in ttm_lru_walk_ticketlock() local
831 ret = dma_resv_lock_interruptible(resv, arg->ticket); in ttm_lru_walk_ticketlock()
833 ret = dma_resv_lock(resv, arg->ticket); in ttm_lru_walk_ticketlock()
912 dma_resv_unlock(bo->base.resv); in ttm_bo_lru_cursor_cleanup_bo()
990 dma_resv_unlock(bo->base.resv); in __ttm_bo_lru_cursor_next()
1080 dma_resv_assert_held(bo->base.resv); in ttm_bo_shrink()
1136 dma_resv_test_signaled(bo->base.resv, DMA_RESV_USAGE_BOOKKEEP)); in ttm_bo_shrink_suitable()