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

/linux-4.1.27/drivers/gpu/drm/ttm/
H A Dttm_tt.c294 struct page *to_page; ttm_tt_swapin() local
309 to_page = ttm->pages[i]; ttm_tt_swapin()
310 if (unlikely(to_page == NULL)) ttm_tt_swapin()
313 copy_highpage(to_page, from_page); ttm_tt_swapin()
332 struct page *to_page; ttm_tt_swapout() local
356 to_page = shmem_read_mapping_page(swap_space, i); ttm_tt_swapout()
357 if (unlikely(IS_ERR(to_page))) { ttm_tt_swapout()
358 ret = PTR_ERR(to_page); ttm_tt_swapout()
361 copy_highpage(to_page, from_page); ttm_tt_swapout()
362 set_page_dirty(to_page); ttm_tt_swapout()
363 mark_page_accessed(to_page); ttm_tt_swapout()
364 page_cache_release(to_page); ttm_tt_swapout()

Completed in 79 milliseconds