Lines Matching refs:old_pmd
1738 unsigned long new_addr, pmd_t *old_pmd, pmd_t *new_pmd) in move_huge_pmd() argument
1759 old_ptl = __pmd_trans_huge_lock(old_pmd, vma); in move_huge_pmd()
1764 pmd = pmdp_huge_get_and_clear(mm, old_addr, old_pmd); in move_huge_pmd()
1771 pgtable = pgtable_trans_huge_withdraw(mm, old_pmd); in move_huge_pmd()
2019 pmd_t _pmd, old_pmd; in __split_huge_zero_page_pmd() local
2032 old_pmd = pmdp_huge_clear_flush(vma, haddr, pmd); in __split_huge_zero_page_pmd()
2044 if (pmd_uffd_wp(old_pmd)) in __split_huge_zero_page_pmd()
2061 pmd_t old_pmd, _pmd; in __split_huge_pmd_locked() local
2077 old_pmd = pmdp_huge_clear_flush(vma, haddr, pmd); in __split_huge_pmd_locked()
2086 if (unlikely(is_pmd_migration_entry(old_pmd))) { in __split_huge_pmd_locked()
2089 entry = pmd_to_swp_entry(old_pmd); in __split_huge_pmd_locked()
2092 page = pmd_page(old_pmd); in __split_huge_pmd_locked()
2093 if (!PageDirty(page) && pmd_dirty(old_pmd)) in __split_huge_pmd_locked()
2095 if (!PageReferenced(page) && pmd_young(old_pmd)) in __split_huge_pmd_locked()
2121 old_pmd = *pmd; in __split_huge_pmd_locked()
2122 entry = pmd_to_swp_entry(old_pmd); in __split_huge_pmd_locked()
2129 soft_dirty = pmd_swp_soft_dirty(old_pmd); in __split_huge_pmd_locked()
2130 uffd_wp = pmd_swp_uffd_wp(old_pmd); in __split_huge_pmd_locked()
2155 old_pmd = pmdp_invalidate(vma, haddr, pmd); in __split_huge_pmd_locked()
2156 page = pmd_page(old_pmd); in __split_huge_pmd_locked()
2157 if (pmd_dirty(old_pmd)) { in __split_huge_pmd_locked()
2161 write = pmd_write(old_pmd); in __split_huge_pmd_locked()
2162 young = pmd_young(old_pmd); in __split_huge_pmd_locked()
2163 soft_dirty = pmd_soft_dirty(old_pmd); in __split_huge_pmd_locked()
2164 uffd_wp = pmd_uffd_wp(old_pmd); in __split_huge_pmd_locked()