Lines Matching refs:to_page
294 struct page *to_page; in ttm_tt_swapin() local
309 to_page = ttm->pages[i]; in ttm_tt_swapin()
310 if (unlikely(to_page == NULL)) in ttm_tt_swapin()
313 copy_highpage(to_page, from_page); in ttm_tt_swapin()
332 struct page *to_page; in ttm_tt_swapout() local
356 to_page = shmem_read_mapping_page(swap_space, i); in ttm_tt_swapout()
357 if (IS_ERR(to_page)) { in ttm_tt_swapout()
358 ret = PTR_ERR(to_page); in ttm_tt_swapout()
361 copy_highpage(to_page, from_page); in ttm_tt_swapout()
362 set_page_dirty(to_page); in ttm_tt_swapout()
363 mark_page_accessed(to_page); in ttm_tt_swapout()
364 page_cache_release(to_page); in ttm_tt_swapout()