Home
last modified time | relevance | path

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

/Linux-v5.4/arch/arm64/kernel/
Dvdso.c86 struct vm_area_struct *new_vma) in __vdso_remap() argument
88 unsigned long new_size = new_vma->vm_end - new_vma->vm_start; in __vdso_remap()
95 current->mm->context.vdso = (void *)new_vma->vm_start; in __vdso_remap()
185 struct vm_area_struct *new_vma) in aarch32_vdso_mremap() argument
187 return __vdso_remap(ARM64_VDSO32, sm, new_vma); in aarch32_vdso_mremap()
383 struct vm_area_struct *new_vma) in vdso_mremap() argument
385 return __vdso_remap(ARM64_VDSO, sm, new_vma); in vdso_mremap()
/Linux-v5.4/arch/x86/entry/vdso/
Dvma.c56 struct vm_area_struct *new_vma) in vdso_fix_landing() argument
67 regs->ip = new_vma->vm_start + vdso_land; in vdso_fix_landing()
73 struct vm_area_struct *new_vma) in vdso_mremap() argument
75 unsigned long new_size = new_vma->vm_end - new_vma->vm_start; in vdso_mremap()
81 vdso_fix_landing(image, new_vma); in vdso_mremap()
82 current->mm->context.vdso = (void __user *)new_vma->vm_start; in vdso_mremap()
/Linux-v5.4/mm/
Dmremap.c117 struct vm_area_struct *new_vma, pmd_t *new_pmd, in move_ptes() argument
178 pte = move_pte(pte, new_vma->vm_page_prot, old_addr, new_addr); in move_ptes()
241 unsigned long old_addr, struct vm_area_struct *new_vma, in move_page_tables() argument
304 if (pte_alloc(new_vma->vm_mm, new_pmd)) in move_page_tables()
309 move_ptes(vma, old_pmd, old_addr, old_addr + extent, new_vma, in move_page_tables()
325 struct vm_area_struct *new_vma; in move_vma() local
355 new_vma = copy_vma(&vma, new_addr, new_len, new_pgoff, in move_vma()
357 if (!new_vma) in move_vma()
360 moved_len = move_page_tables(vma, old_addr, new_vma, new_addr, old_len, in move_vma()
365 err = vma->vm_ops->mremap(new_vma); in move_vma()
[all …]
Dmmap.c3225 struct vm_area_struct *new_vma, *prev; in copy_vma() local
3240 new_vma = vma_merge(mm, prev, addr, addr + len, vma->vm_flags, in copy_vma()
3243 if (new_vma) { in copy_vma()
3247 if (unlikely(vma_start >= new_vma->vm_start && in copy_vma()
3248 vma_start < new_vma->vm_end)) { in copy_vma()
3261 VM_BUG_ON_VMA(faulted_in_anon_vma, new_vma); in copy_vma()
3262 *vmap = vma = new_vma; in copy_vma()
3264 *need_rmap_locks = (new_vma->vm_pgoff <= vma->vm_pgoff); in copy_vma()
3266 new_vma = vm_area_dup(vma); in copy_vma()
3267 if (!new_vma) in copy_vma()
[all …]
/Linux-v5.4/arch/arm/kernel/
Dvdso.c49 struct vm_area_struct *new_vma) in vdso_mremap() argument
51 unsigned long new_size = new_vma->vm_end - new_vma->vm_start; in vdso_mremap()
60 current->mm->context.vdso = new_vma->vm_start; in vdso_mremap()
Dprocess.c403 struct vm_area_struct *new_vma) in sigpage_mremap() argument
405 current->mm->context.sigpage = new_vma->vm_start; in sigpage_mremap()
/Linux-v5.4/include/linux/
Dmm_types.h737 struct vm_area_struct *new_vma);
Dmm.h1613 unsigned long old_addr, struct vm_area_struct *new_vma,