Lines Matching refs:vm_mm
139 struct mm_struct *mm = vma->vm_mm; in move_ptes()
175 flush_tlb_batched_pending(vma->vm_mm); in move_ptes()
250 struct mm_struct *mm = vma->vm_mm; in move_normal_pmd()
291 old_ptl = pmd_lock(vma->vm_mm, old_pmd); in move_normal_pmd()
326 struct mm_struct *mm = vma->vm_mm; in move_normal_pud()
348 old_ptl = pud_lock(vma->vm_mm, old_pud); in move_normal_pud()
475 mmu_notifier_range_init(&range, MMU_NOTIFY_UNMAP, 0, vma, vma->vm_mm, in move_page_tables()
489 old_pud = get_old_pud(vma->vm_mm, old_addr); in move_page_tables()
492 new_pud = alloc_new_pud(vma->vm_mm, vma, new_addr); in move_page_tables()
501 old_pmd = get_old_pmd(vma->vm_mm, old_addr); in move_page_tables()
504 new_pmd = alloc_new_pmd(vma->vm_mm, vma, new_addr); in move_page_tables()
527 if (pte_alloc(new_vma->vm_mm, new_pmd)) in move_page_tables()
544 struct mm_struct *mm = vma->vm_mm; in move_vma()