Lines Matching refs:ret
136 int ret = 0; in ttm_bo_reserve() local
148 ret = dma_resv_lock_interruptible(bo->base.resv, ticket); in ttm_bo_reserve()
150 ret = dma_resv_lock(bo->base.resv, ticket); in ttm_bo_reserve()
151 if (ret == -EINTR) in ttm_bo_reserve()
153 return ret; in ttm_bo_reserve()
171 int ret = dma_resv_lock_slow_interruptible(bo->base.resv, in ttm_bo_reserve_slowpath() local
173 if (ret == -EINTR) in ttm_bo_reserve_slowpath()
174 ret = -ERESTARTSYS; in ttm_bo_reserve_slowpath()
175 return ret; in ttm_bo_reserve_slowpath()
286 int ret = ttm_bo_move_accel_cleanup(bo, NULL, true, false, new_mem); in ttm_bo_move_sync_cleanup() local
288 WARN_ON(ret); in ttm_bo_move_sync_cleanup()