Lines Matching refs:new_vma
138 struct vm_area_struct *new_vma, pmd_t *new_pmd, in move_ptes() argument
199 pte = move_pte(pte, new_vma->vm_page_prot, old_addr, new_addr); in move_ptes()
482 unsigned long old_addr, struct vm_area_struct *new_vma, in move_page_tables() argument
497 return move_hugetlb_page_tables(vma, new_vma, old_addr, in move_page_tables()
560 if (pte_alloc(new_vma->vm_mm, new_pmd)) in move_page_tables()
562 move_ptes(vma, old_pmd, old_addr, old_addr + extent, new_vma, in move_page_tables()
579 struct vm_area_struct *new_vma; in move_vma() local
626 new_vma = copy_vma(&vma, new_addr, new_len, new_pgoff, in move_vma()
628 if (!new_vma) { in move_vma()
634 moved_len = move_page_tables(vma, old_addr, new_vma, new_addr, old_len, in move_vma()
639 err = vma->vm_ops->mremap(new_vma); in move_vma()
648 move_page_tables(new_vma, new_addr, vma, old_addr, moved_len, in move_vma()
650 vma = new_vma; in move_vma()
655 mremap_userfaultfd_prep(new_vma, uf); in move_vma()
695 if (new_vma != vma && vma->vm_start == old_addr && in move_vma()