Lines Matching refs:pvmw
3192 int set_pmd_migration_entry(struct page_vma_mapped_walk *pvmw, in set_pmd_migration_entry() argument
3195 struct vm_area_struct *vma = pvmw->vma; in set_pmd_migration_entry()
3197 unsigned long address = pvmw->address; in set_pmd_migration_entry()
3203 if (!(pvmw->pmd && !pvmw->pte)) in set_pmd_migration_entry()
3207 pmdval = pmdp_invalidate(vma, address, pvmw->pmd); in set_pmd_migration_entry()
3212 set_pmd_at(mm, address, pvmw->pmd, pmdval); in set_pmd_migration_entry()
3231 set_pmd_at(mm, address, pvmw->pmd, pmdswp); in set_pmd_migration_entry()
3239 void remove_migration_pmd(struct page_vma_mapped_walk *pvmw, struct page *new) in remove_migration_pmd() argument
3241 struct vm_area_struct *vma = pvmw->vma; in remove_migration_pmd()
3243 unsigned long address = pvmw->address; in remove_migration_pmd()
3248 if (!(pvmw->pmd && !pvmw->pte)) in remove_migration_pmd()
3251 entry = pmd_to_swp_entry(*pvmw->pmd); in remove_migration_pmd()
3254 if (pmd_swp_soft_dirty(*pvmw->pmd)) in remove_migration_pmd()
3258 if (pmd_swp_uffd_wp(*pvmw->pmd)) in remove_migration_pmd()
3277 set_pmd_at(mm, haddr, pvmw->pmd, pmde); in remove_migration_pmd()
3280 update_mmu_cache_pmd(vma, address, pvmw->pmd); in remove_migration_pmd()