Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpu/drm/ttm/
Dttm_tt.c351 struct page *from_page; in ttm_tt_swapin() local
365 from_page = shmem_read_mapping_page_gfp(swap_space, i, gfp_mask); in ttm_tt_swapin()
367 if (IS_ERR(from_page)) { in ttm_tt_swapin()
368 ret = PTR_ERR(from_page); in ttm_tt_swapin()
375 copy_highpage(to_page, from_page); in ttm_tt_swapin()
376 put_page(from_page); in ttm_tt_swapin()
393 struct page *from_page; in ttm_tt_swapout() local
420 from_page = ttm->pages[i]; in ttm_tt_swapout()
421 if (unlikely(from_page == NULL)) in ttm_tt_swapout()
429 copy_highpage(to_page, from_page); in ttm_tt_swapout()