Lines Matching refs:oldpage
1637 struct page *oldpage, *newpage; in shmem_replace_page() local
1644 oldpage = *pagep; in shmem_replace_page()
1645 entry.val = page_private(oldpage); in shmem_replace_page()
1647 swap_mapping = page_mapping(oldpage); in shmem_replace_page()
1659 copy_highpage(newpage, oldpage); in shmem_replace_page()
1673 error = shmem_replace_entry(swap_mapping, swap_index, oldpage, newpage); in shmem_replace_page()
1675 old = page_folio(oldpage); in shmem_replace_page()
1679 __dec_lruvec_page_state(oldpage, NR_FILE_PAGES); in shmem_replace_page()
1689 oldpage = newpage; in shmem_replace_page()
1695 ClearPageSwapCache(oldpage); in shmem_replace_page()
1696 set_page_private(oldpage, 0); in shmem_replace_page()
1698 unlock_page(oldpage); in shmem_replace_page()
1699 put_page(oldpage); in shmem_replace_page()
1700 put_page(oldpage); in shmem_replace_page()