Lines Matching refs:resv
250 fbo->base.base.resv = &fbo->base.base._resv; in ttm_buffer_object_transfer()
474 dma_resv_assert_held(bo->base.resv); in ttm_bo_vmap()
542 dma_resv_assert_held(bo->base.resv); in ttm_bo_vunmap()
562 ret = dma_resv_wait_timeout(bo->base.resv, DMA_RESV_USAGE_BOOKKEEP, in ttm_bo_wait_free_node()
662 dma_resv_add_fence(bo->base.resv, fence, DMA_RESV_USAGE_KERNEL); in ttm_bo_move_accel_cleanup()
721 if (dma_resv_test_signaled(bo->base.resv, DMA_RESV_USAGE_BOOKKEEP)) { in ttm_bo_pipeline_gutting()
755 ret = dma_resv_copy_fences(&ghost->base._resv, bo->base.resv); in ttm_bo_pipeline_gutting()
758 dma_resv_wait_timeout(bo->base.resv, DMA_RESV_USAGE_BOOKKEEP, in ttm_bo_pipeline_gutting()
780 if (dma_resv_trylock(bo->base.resv)) { in ttm_lru_walk_trylock()
785 if (bo->base.resv == ctx->resv && ctx->allow_res_evict) { in ttm_lru_walk_trylock()
786 dma_resv_assert_held(bo->base.resv); in ttm_lru_walk_trylock()
797 struct dma_resv *resv = bo->base.resv; in ttm_lru_walk_ticketlock() local
801 ret = dma_resv_lock_interruptible(resv, walk->ticket); in ttm_lru_walk_ticketlock()
803 ret = dma_resv_lock(resv, walk->ticket); in ttm_lru_walk_ticketlock()
825 dma_resv_unlock(bo->base.resv); in ttm_lru_walk_unlock()