Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/ttm/
Dttm_tt.c218 struct page *to_page; in ttm_tt_swapin() local
235 to_page = ttm->pages[i]; in ttm_tt_swapin()
236 if (unlikely(to_page == NULL)) { in ttm_tt_swapin()
241 copy_highpage(to_page, from_page); in ttm_tt_swapin()
273 struct page *to_page; in ttm_tt_swapout() local
290 to_page = shmem_read_mapping_page_gfp(swap_space, i, gfp_flags); in ttm_tt_swapout()
291 if (IS_ERR(to_page)) { in ttm_tt_swapout()
292 ret = PTR_ERR(to_page); in ttm_tt_swapout()
295 copy_highpage(to_page, from_page); in ttm_tt_swapout()
296 set_page_dirty(to_page); in ttm_tt_swapout()
[all …]