Lines Matching refs:pvmw
3162 void set_pmd_migration_entry(struct page_vma_mapped_walk *pvmw, in set_pmd_migration_entry() argument
3165 struct vm_area_struct *vma = pvmw->vma; in set_pmd_migration_entry()
3167 unsigned long address = pvmw->address; in set_pmd_migration_entry()
3172 if (!(pvmw->pmd && !pvmw->pte)) in set_pmd_migration_entry()
3176 pmdval = pmdp_invalidate(vma, address, pvmw->pmd); in set_pmd_migration_entry()
3186 set_pmd_at(mm, address, pvmw->pmd, pmdswp); in set_pmd_migration_entry()
3191 void remove_migration_pmd(struct page_vma_mapped_walk *pvmw, struct page *new) in remove_migration_pmd() argument
3193 struct vm_area_struct *vma = pvmw->vma; in remove_migration_pmd()
3195 unsigned long address = pvmw->address; in remove_migration_pmd()
3200 if (!(pvmw->pmd && !pvmw->pte)) in remove_migration_pmd()
3203 entry = pmd_to_swp_entry(*pvmw->pmd); in remove_migration_pmd()
3206 if (pmd_swp_soft_dirty(*pvmw->pmd)) in remove_migration_pmd()
3210 if (pmd_swp_uffd_wp(*pvmw->pmd)) in remove_migration_pmd()
3218 set_pmd_at(mm, mmun_start, pvmw->pmd, pmde); in remove_migration_pmd()
3221 update_mmu_cache_pmd(vma, address, pvmw->pmd); in remove_migration_pmd()