Home
last modified time | relevance | path

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

/Linux-v5.15/arch/powerpc/kernel/
Dvdso.c60 static int vdso_mremap(const struct vm_special_mapping *sm, struct vm_area_struct *new_vma, in vdso_mremap() argument
63 unsigned long new_size = new_vma->vm_end - new_vma->vm_start; in vdso_mremap()
68 current->mm->context.vdso = (void __user *)new_vma->vm_start; in vdso_mremap()
73 static int vdso32_mremap(const struct vm_special_mapping *sm, struct vm_area_struct *new_vma) in vdso32_mremap() argument
75 return vdso_mremap(sm, new_vma, &vdso32_end - &vdso32_start); in vdso32_mremap()
78 static int vdso64_mremap(const struct vm_special_mapping *sm, struct vm_area_struct *new_vma) in vdso64_mremap() argument
80 return vdso_mremap(sm, new_vma, &vdso64_end - &vdso64_start); in vdso64_mremap()
/Linux-v5.15/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()
480 unsigned long old_addr, struct vm_area_struct *new_vma, in move_page_tables() argument
551 if (pte_alloc(new_vma->vm_mm, new_pmd)) in move_page_tables()
553 move_ptes(vma, old_pmd, old_addr, old_addr + extent, new_vma, in move_page_tables()
569 struct vm_area_struct *new_vma; in move_vma() local
613 new_vma = copy_vma(&vma, new_addr, new_len, new_pgoff, in move_vma()
615 if (!new_vma) { in move_vma()
621 moved_len = move_page_tables(vma, old_addr, new_vma, new_addr, old_len, in move_vma()
626 err = vma->vm_ops->mremap(new_vma); in move_vma()
[all …]
Dmmap.c3236 struct vm_area_struct *new_vma, *prev; in copy_vma() local
3251 new_vma = vma_merge(mm, prev, addr, addr + len, vma->vm_flags, in copy_vma()
3254 if (new_vma) { in copy_vma()
3258 if (unlikely(vma_start >= new_vma->vm_start && in copy_vma()
3259 vma_start < new_vma->vm_end)) { in copy_vma()
3272 VM_BUG_ON_VMA(faulted_in_anon_vma, new_vma); in copy_vma()
3273 *vmap = vma = new_vma; in copy_vma()
3275 *need_rmap_locks = (new_vma->vm_pgoff <= vma->vm_pgoff); in copy_vma()
3277 new_vma = vm_area_dup(vma); in copy_vma()
3278 if (!new_vma) in copy_vma()
[all …]
/Linux-v5.15/arch/x86/entry/vdso/
Dvma.c73 struct vm_area_struct *new_vma) in vdso_fix_landing() argument
84 regs->ip = new_vma->vm_start + vdso_land; in vdso_fix_landing()
90 struct vm_area_struct *new_vma) in vdso_mremap() argument
94 vdso_fix_landing(image, new_vma); in vdso_mremap()
95 current->mm->context.vdso = (void __user *)new_vma->vm_start; in vdso_mremap()
/Linux-v5.15/arch/arm64/kernel/
Dvdso.c82 struct vm_area_struct *new_vma) in vdso_mremap() argument
84 current->mm->context.vdso = (void *)new_vma->vm_start; in vdso_mremap()
275 struct vm_area_struct *new_vma) in aarch32_sigpage_mremap() argument
277 current->mm->context.sigpage = (void *)new_vma->vm_start; in aarch32_sigpage_mremap()
/Linux-v5.15/arch/arm/kernel/
Dvdso.c51 struct vm_area_struct *new_vma) in vdso_mremap() argument
53 current->mm->context.vdso = new_vma->vm_start; in vdso_mremap()
Dprocess.c384 struct vm_area_struct *new_vma) in sigpage_mremap() argument
386 current->mm->context.sigpage = new_vma->vm_start; in sigpage_mremap()
/Linux-v5.15/include/linux/
Dmm_types.h792 struct vm_area_struct *new_vma);
Dmm.h1875 unsigned long old_addr, struct vm_area_struct *new_vma,
/Linux-v5.15/drivers/gpu/drm/i915/
Di915_gem.c914 new_vma: in i915_gem_object_ggtt_pin_ww()
931 goto new_vma; in i915_gem_object_ggtt_pin_ww()