oldpage 1486 drivers/net/phy/marvell.c int oldpage, ret = 0; oldpage 1491 drivers/net/phy/marvell.c oldpage = phy_select_page(phydev, MII_MARVELL_WOL_PAGE); oldpage 1492 drivers/net/phy/marvell.c if (oldpage < 0) oldpage 1500 drivers/net/phy/marvell.c phy_restore_page(phydev, oldpage, ret); oldpage 1506 drivers/net/phy/marvell.c int err = 0, oldpage; oldpage 1508 drivers/net/phy/marvell.c oldpage = phy_save_page(phydev); oldpage 1509 drivers/net/phy/marvell.c if (oldpage < 0) oldpage 1586 drivers/net/phy/marvell.c return phy_restore_page(phydev, oldpage, err); oldpage 1641 drivers/net/phy/marvell.c int oldpage; oldpage 1647 drivers/net/phy/marvell.c oldpage = phy_select_page(phydev, MII_MARVELL_MISC_TEST_PAGE); oldpage 1648 drivers/net/phy/marvell.c if (oldpage < 0) oldpage 1679 drivers/net/phy/marvell.c return phy_restore_page(phydev, oldpage, ret); oldpage 1902 drivers/net/phy/marvell.c int oldpage; oldpage 1908 drivers/net/phy/marvell.c oldpage = phy_select_page(phydev, MII_MARVELL_MISC_TEST_PAGE); oldpage 1909 drivers/net/phy/marvell.c if (oldpage < 0) oldpage 1952 drivers/net/phy/marvell.c phy_restore_page(phydev, oldpage, ret); oldpage 905 drivers/net/phy/mscc.c int oldpage; oldpage 926 drivers/net/phy/mscc.c oldpage = phy_select_page(phydev, MSCC_PHY_PAGE_TR); oldpage 927 drivers/net/phy/mscc.c if (oldpage < 0) oldpage 934 drivers/net/phy/mscc.c oldpage = phy_restore_page(phydev, oldpage, oldpage); oldpage 937 drivers/net/phy/mscc.c return oldpage; oldpage 963 drivers/net/phy/mscc.c int oldpage; oldpage 966 drivers/net/phy/mscc.c oldpage = phy_select_page(phydev, MSCC_PHY_PAGE_TR); oldpage 967 drivers/net/phy/mscc.c if (oldpage < 0) oldpage 974 drivers/net/phy/mscc.c oldpage = phy_restore_page(phydev, oldpage, oldpage); oldpage 977 drivers/net/phy/mscc.c return oldpage; oldpage 728 drivers/net/phy/phy-core.c int ret, oldpage; oldpage 730 drivers/net/phy/phy-core.c oldpage = ret = phy_save_page(phydev); oldpage 734 drivers/net/phy/phy-core.c if (oldpage != page) { oldpage 740 drivers/net/phy/phy-core.c return oldpage; oldpage 760 drivers/net/phy/phy-core.c int phy_restore_page(struct phy_device *phydev, int oldpage, int ret) oldpage 764 drivers/net/phy/phy-core.c if (oldpage >= 0) { oldpage 765 drivers/net/phy/phy-core.c r = __phy_write_page(phydev, oldpage); oldpage 774 drivers/net/phy/phy-core.c ret = oldpage; oldpage 793 drivers/net/phy/phy-core.c int ret = 0, oldpage; oldpage 795 drivers/net/phy/phy-core.c oldpage = phy_select_page(phydev, page); oldpage 796 drivers/net/phy/phy-core.c if (oldpage >= 0) oldpage 799 drivers/net/phy/phy-core.c return phy_restore_page(phydev, oldpage, ret); oldpage 814 drivers/net/phy/phy-core.c int ret = 0, oldpage; oldpage 816 drivers/net/phy/phy-core.c oldpage = phy_select_page(phydev, page); oldpage 817 drivers/net/phy/phy-core.c if (oldpage >= 0) oldpage 820 drivers/net/phy/phy-core.c return phy_restore_page(phydev, oldpage, ret); oldpage 837 drivers/net/phy/phy-core.c int ret = 0, oldpage; oldpage 839 drivers/net/phy/phy-core.c oldpage = phy_select_page(phydev, page); oldpage 840 drivers/net/phy/phy-core.c if (oldpage >= 0) oldpage 843 drivers/net/phy/phy-core.c return phy_restore_page(phydev, oldpage, ret); oldpage 214 drivers/net/phy/realtek.c int ret = 0, oldpage; oldpage 243 drivers/net/phy/realtek.c oldpage = phy_select_page(phydev, 0x7); oldpage 244 drivers/net/phy/realtek.c if (oldpage < 0) oldpage 255 drivers/net/phy/realtek.c return phy_restore_page(phydev, oldpage, ret); oldpage 1003 fs/erofs/zdata.c struct page *oldpage, *page; oldpage 1010 fs/erofs/zdata.c oldpage = page; oldpage 1097 fs/erofs/zdata.c if (oldpage != cmpxchg(&pcl->compressed_pages[nr], oldpage, page)) { oldpage 785 fs/fuse/dev.c struct page *oldpage = *pagep; oldpage 825 fs/fuse/dev.c if (WARN_ON(page_mapped(oldpage))) oldpage 827 fs/fuse/dev.c if (WARN_ON(page_has_private(oldpage))) oldpage 829 fs/fuse/dev.c if (WARN_ON(PageDirty(oldpage) || PageWriteback(oldpage))) oldpage 831 fs/fuse/dev.c if (WARN_ON(PageMlocked(oldpage))) oldpage 834 fs/fuse/dev.c err = replace_page_cache_page(oldpage, newpage, GFP_KERNEL); oldpage 859 fs/fuse/dev.c unlock_page(oldpage); oldpage 860 fs/fuse/dev.c put_page(oldpage); oldpage 104 include/linux/hugetlb.h void move_hugetlb_state(struct page *oldpage, struct page *newpage, int reason); oldpage 55 include/linux/ksm.h void ksm_migrate_page(struct page *newpage, struct page *oldpage); oldpage 88 include/linux/ksm.h static inline void ksm_migrate_page(struct page *newpage, struct page *oldpage) oldpage 388 include/linux/memcontrol.h void mem_cgroup_migrate(struct page *oldpage, struct page *newpage); oldpage 15 include/linux/page_owner.h extern void __copy_page_owner(struct page *oldpage, struct page *newpage); oldpage 39 include/linux/page_owner.h static inline void copy_page_owner(struct page *oldpage, struct page *newpage) oldpage 42 include/linux/page_owner.h __copy_page_owner(oldpage, newpage); oldpage 66 include/linux/page_owner.h static inline void copy_page_owner(struct page *oldpage, struct page *newpage) oldpage 991 include/linux/phy.h int phy_restore_page(struct phy_device *phydev, int oldpage, int ret); oldpage 5152 mm/hugetlb.c void move_hugetlb_state(struct page *oldpage, struct page *newpage, int reason) oldpage 5154 mm/hugetlb.c struct hstate *h = page_hstate(oldpage); oldpage 5156 mm/hugetlb.c hugetlb_cgroup_migrate(oldpage, newpage); oldpage 5170 mm/hugetlb.c int old_nid = page_to_nid(oldpage); oldpage 5173 mm/hugetlb.c SetPageHugeTemporary(oldpage); oldpage 2688 mm/ksm.c void ksm_migrate_page(struct page *newpage, struct page *oldpage) oldpage 2692 mm/ksm.c VM_BUG_ON_PAGE(!PageLocked(oldpage), oldpage); oldpage 2694 mm/ksm.c VM_BUG_ON_PAGE(newpage->mapping != oldpage->mapping, newpage); oldpage 2698 mm/ksm.c VM_BUG_ON_PAGE(stable_node->kpfn != page_to_pfn(oldpage), oldpage); oldpage 2707 mm/ksm.c set_page_stable_node(oldpage, NULL); oldpage 6816 mm/memcontrol.c void mem_cgroup_migrate(struct page *oldpage, struct page *newpage) oldpage 6823 mm/memcontrol.c VM_BUG_ON_PAGE(!PageLocked(oldpage), oldpage); oldpage 6825 mm/memcontrol.c VM_BUG_ON_PAGE(PageAnon(oldpage) != PageAnon(newpage), newpage); oldpage 6826 mm/memcontrol.c VM_BUG_ON_PAGE(PageTransHuge(oldpage) != PageTransHuge(newpage), oldpage 6837 mm/memcontrol.c memcg = oldpage->mem_cgroup; oldpage 223 mm/page_owner.c void __copy_page_owner(struct page *oldpage, struct page *newpage) oldpage 225 mm/page_owner.c struct page_ext *old_ext = lookup_page_ext(oldpage); oldpage 1556 mm/shmem.c struct page *oldpage, *newpage; oldpage 1562 mm/shmem.c oldpage = *pagep; oldpage 1563 mm/shmem.c entry.val = page_private(oldpage); oldpage 1565 mm/shmem.c swap_mapping = page_mapping(oldpage); oldpage 1577 mm/shmem.c copy_highpage(newpage, oldpage); oldpage 1591 mm/shmem.c error = shmem_replace_entry(swap_mapping, swap_index, oldpage, newpage); oldpage 1594 mm/shmem.c __dec_node_page_state(oldpage, NR_FILE_PAGES); oldpage 1604 mm/shmem.c oldpage = newpage; oldpage 1606 mm/shmem.c mem_cgroup_migrate(oldpage, newpage); oldpage 1611 mm/shmem.c ClearPageSwapCache(oldpage); oldpage 1612 mm/shmem.c set_page_private(oldpage, 0); oldpage 1614 mm/shmem.c unlock_page(oldpage); oldpage 1615 mm/shmem.c put_page(oldpage); oldpage 1616 mm/shmem.c put_page(oldpage); oldpage 2252 mm/slub.c struct page *oldpage; oldpage 2260 mm/slub.c oldpage = this_cpu_read(s->cpu_slab->partial); oldpage 2262 mm/slub.c if (oldpage) { oldpage 2263 mm/slub.c pobjects = oldpage->pobjects; oldpage 2264 mm/slub.c pages = oldpage->pages; oldpage 2274 mm/slub.c oldpage = NULL; oldpage 2286 mm/slub.c page->next = oldpage; oldpage 2288 mm/slub.c } while (this_cpu_cmpxchg(s->cpu_slab->partial, oldpage, page) oldpage 2289 mm/slub.c != oldpage); oldpage 1893 mm/zsmalloc.c struct page *newpage, struct page *oldpage) oldpage 1901 mm/zsmalloc.c if (page == oldpage) oldpage 1909 mm/zsmalloc.c set_first_obj_offset(newpage, get_first_obj_offset(oldpage)); oldpage 1910 mm/zsmalloc.c if (unlikely(PageHugeObject(oldpage))) oldpage 1911 mm/zsmalloc.c newpage->index = oldpage->index; oldpage 1912 mm/zsmalloc.c __SetPageMovable(newpage, page_mapping(oldpage));