Lines Matching full:res1
242 struct ttm_resource *res1, *res2; in ttm_bo_unreserve_basic() local
261 err = ttm_resource_alloc(bo, place, &res1, NULL); in ttm_bo_unreserve_basic()
264 bo->resource = res1; in ttm_bo_unreserve_basic()
274 list_is_last(&res1->lru.link, &man->lru[bo->priority]), 1); in ttm_bo_unreserve_basic()
277 ttm_resource_free(bo, &res1); in ttm_bo_unreserve_basic()
285 struct ttm_resource *res1, *res2; in ttm_bo_unreserve_pinned() local
303 err = ttm_resource_alloc(bo, place, &res1, NULL); in ttm_bo_unreserve_pinned()
305 bo->resource = res1; in ttm_bo_unreserve_pinned()
315 list_is_last(&res1->lru.link, &priv->ttm_dev->unevictable), 1); in ttm_bo_unreserve_pinned()
317 ttm_resource_free(bo, &res1); in ttm_bo_unreserve_pinned()
327 struct ttm_resource *res1, *res2; in ttm_bo_unreserve_bulk() local
358 err = ttm_resource_alloc(bo1, place, &res1, NULL); in ttm_bo_unreserve_bulk()
360 bo1->resource = res1; in ttm_bo_unreserve_bulk()
374 KUNIT_ASSERT_PTR_EQ(test, res1, pos->last); in ttm_bo_unreserve_bulk()
376 ttm_resource_free(bo1, &res1); in ttm_bo_unreserve_bulk()