Lines Matching refs:res
490 struct ttm_resource *res = bo->resource;
500 return ttm_resource_intersects(bdev, res, place, bo->base.size);
597 struct ttm_resource *res;
602 ttm_resource_manager_for_each_res(man, &cursor, res) {
605 if (!ttm_bo_evict_swapout_allowable(res->bo, ctx, place,
608 dma_resv_locking_ctx(res->bo->base.resv))
609 busy_bo = res->bo;
613 if (ttm_bo_get_unless_zero(res->bo)) {
614 bo = res->bo;
618 dma_resv_unlock(res->bo->base.resv);