Home
last modified time | relevance | path

Searched refs:new_vma (Results 1 – 2 of 2) sorted by relevance

/mm/
Dmremap.c136 struct vm_area_struct *new_vma, pmd_t *new_pmd, in move_ptes() argument
197 pte = move_pte(pte, new_vma->vm_page_prot, old_addr, new_addr); in move_ptes()
462 unsigned long old_addr, struct vm_area_struct *new_vma, in move_page_tables() argument
528 if (pte_alloc(new_vma->vm_mm, new_pmd)) in move_page_tables()
530 move_ptes(vma, old_pmd, old_addr, old_addr + extent, new_vma, in move_page_tables()
546 struct vm_area_struct *new_vma; in move_vma() local
576 new_vma = copy_vma(&vma, new_addr, new_len, new_pgoff, in move_vma()
578 if (!new_vma) in move_vma()
586 if (vma != new_vma) in move_vma()
589 moved_len = move_page_tables(vma, old_addr, new_vma, new_addr, old_len, in move_vma()
[all …]
Dmmap.c3419 struct vm_area_struct *new_vma, *prev; in copy_vma() local
3445 new_vma = __vma_merge(mm, prev, addr, addr + len, vma->vm_flags, in copy_vma()
3449 if (new_vma) { in copy_vma()
3453 if (unlikely(vma_start >= new_vma->vm_start && in copy_vma()
3454 vma_start < new_vma->vm_end)) { in copy_vma()
3467 VM_BUG_ON_VMA(faulted_in_anon_vma, new_vma); in copy_vma()
3468 *vmap = vma = new_vma; in copy_vma()
3470 *need_rmap_locks = (new_vma->vm_pgoff <= vma->vm_pgoff); in copy_vma()
3472 new_vma = vm_area_dup(vma); in copy_vma()
3473 if (!new_vma) in copy_vma()
[all …]