Searched refs:busy_bo (Results 1 – 1 of 1) sorted by relevance
640 static int ttm_mem_evict_wait_busy(struct ttm_buffer_object *busy_bo, in ttm_mem_evict_wait_busy() argument646 if (!busy_bo || !ticket) in ttm_mem_evict_wait_busy()650 r = dma_resv_lock_interruptible(busy_bo->base.resv, in ttm_mem_evict_wait_busy()653 r = dma_resv_lock(busy_bo->base.resv, ticket); in ttm_mem_evict_wait_busy()661 dma_resv_unlock(busy_bo->base.resv); in ttm_mem_evict_wait_busy()672 struct ttm_buffer_object *bo = NULL, *busy_bo = NULL; in ttm_mem_evict_first() local684 if (busy && !busy_bo && ticket != in ttm_mem_evict_first()686 busy_bo = bo; in ttm_mem_evict_first()706 if (busy_bo && !ttm_bo_get_unless_zero(busy_bo)) in ttm_mem_evict_first()707 busy_bo = NULL; in ttm_mem_evict_first()[all …]