Lines Matching refs:vm_mm
141 struct mm_struct *mm = vma->vm_mm; in move_ptes()
186 flush_tlb_batched_pending(vma->vm_mm); in move_ptes()
240 struct mm_struct *mm = vma->vm_mm; in move_normal_pmd()
276 old_ptl = pmd_lock(vma->vm_mm, old_pmd); in move_normal_pmd()
315 struct mm_struct *mm = vma->vm_mm; in move_normal_pud()
331 old_ptl = pud_lock(vma->vm_mm, old_pud); in move_normal_pud()
364 struct mm_struct *mm = vma->vm_mm; in move_huge_pud()
378 old_ptl = pud_lock(vma->vm_mm, old_pud); in move_huge_pud()
526 return find_vma_intersection(vma->vm_mm, addr_masked, vma->vm_start) == NULL; in can_align_down()
579 mmu_notifier_range_init(&range, MMU_NOTIFY_UNMAP, 0, vma->vm_mm, in move_page_tables()
591 old_pud = get_old_pud(vma->vm_mm, old_addr); in move_page_tables()
594 new_pud = alloc_new_pud(vma->vm_mm, vma, new_addr); in move_page_tables()
612 old_pmd = get_old_pmd(vma->vm_mm, old_addr); in move_page_tables()
615 new_pmd = alloc_new_pmd(vma->vm_mm, vma, new_addr); in move_page_tables()
638 if (pte_alloc(new_vma->vm_mm, new_pmd)) in move_page_tables()
664 struct mm_struct *mm = vma->vm_mm; in move_vma()
972 if (find_vma_intersection(vma->vm_mm, vma->vm_end, end)) in vma_expandable()