Home
last modified time | relevance | path

Searched refs:from_page (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/ttm/
Dttm_tt.c217 struct page *from_page; in ttm_tt_swapin() local
229 from_page = shmem_read_mapping_page_gfp(swap_space, i, in ttm_tt_swapin()
231 if (IS_ERR(from_page)) { in ttm_tt_swapin()
232 ret = PTR_ERR(from_page); in ttm_tt_swapin()
241 copy_highpage(to_page, from_page); in ttm_tt_swapin()
242 put_page(from_page); in ttm_tt_swapin()
272 struct page *from_page; in ttm_tt_swapout() local
286 from_page = ttm->pages[i]; in ttm_tt_swapout()
287 if (unlikely(from_page == NULL)) in ttm_tt_swapout()
295 copy_highpage(to_page, from_page); in ttm_tt_swapout()