Home
last modified time | relevance | path

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

/linux-6.3-rc2/arch/powerpc/kernel/
A Dvdso.c61 static int vdso_mremap(const struct vm_special_mapping *sm, struct vm_area_struct *new_vma, in vdso_mremap() argument
64 unsigned long new_size = new_vma->vm_end - new_vma->vm_start; in vdso_mremap()
69 current->mm->context.vdso = (void __user *)new_vma->vm_start; in vdso_mremap()
74 static int vdso32_mremap(const struct vm_special_mapping *sm, struct vm_area_struct *new_vma) in vdso32_mremap() argument
76 return vdso_mremap(sm, new_vma, &vdso32_end - &vdso32_start); in vdso32_mremap()
79 static int vdso64_mremap(const struct vm_special_mapping *sm, struct vm_area_struct *new_vma) in vdso64_mremap() argument
81 return vdso_mremap(sm, new_vma, &vdso64_end - &vdso64_start); in vdso64_mremap()
/linux-6.3-rc2/mm/
A Dmremap.c138 struct vm_area_struct *new_vma, pmd_t *new_pmd, in move_ptes() argument
482 unsigned long old_addr, struct vm_area_struct *new_vma, in move_page_tables() argument
497 return move_hugetlb_page_tables(vma, new_vma, old_addr, in move_page_tables()
560 if (pte_alloc(new_vma->vm_mm, new_pmd)) in move_page_tables()
579 struct vm_area_struct *new_vma; in move_vma() local
627 new_vma = copy_vma(&vma, new_addr, new_len, new_pgoff, in move_vma()
629 if (!new_vma) { in move_vma()
640 err = vma->vm_ops->mremap(new_vma); in move_vma()
651 vma = new_vma; in move_vma()
656 mremap_userfaultfd_prep(new_vma, uf); in move_vma()
[all …]
A Dmmap.c3137 if (new_vma && new_vma->vm_start < addr + len) in copy_vma()
3143 if (new_vma) { in copy_vma()
3167 if (!new_vma) in copy_vma()
3176 if (new_vma->vm_file) in copy_vma()
3178 if (new_vma->vm_ops && new_vma->vm_ops->open) in copy_vma()
3179 new_vma->vm_ops->open(new_vma); in copy_vma()
3185 return new_vma; in copy_vma()
3188 if (new_vma->vm_ops && new_vma->vm_ops->close) in copy_vma()
3189 new_vma->vm_ops->close(new_vma); in copy_vma()
3191 if (new_vma->vm_file) in copy_vma()
[all …]
A Dhugetlb.c5174 struct vm_area_struct *new_vma, in move_hugetlb_page_tables() argument
5219 dst_pte = huge_pte_alloc(mm, new_vma, new_addr, sz); in move_hugetlb_page_tables()
/linux-6.3-rc2/arch/x86/entry/vdso/
A Dvma.c76 struct vm_area_struct *new_vma) in vdso_fix_landing() argument
87 regs->ip = new_vma->vm_start + vdso_land; in vdso_fix_landing()
93 struct vm_area_struct *new_vma) in vdso_mremap() argument
97 vdso_fix_landing(image, new_vma); in vdso_mremap()
98 current->mm->context.vdso = (void __user *)new_vma->vm_start; in vdso_mremap()
/linux-6.3-rc2/arch/arm64/kernel/
A Dvdso.c79 struct vm_area_struct *new_vma) in vdso_mremap() argument
81 current->mm->context.vdso = (void *)new_vma->vm_start; in vdso_mremap()
249 struct vm_area_struct *new_vma) in aarch32_sigpage_mremap() argument
251 current->mm->context.sigpage = (void *)new_vma->vm_start; in aarch32_sigpage_mremap()
/linux-6.3-rc2/arch/loongarch/kernel/
A Dvdso.c37 static int vdso_mremap(const struct vm_special_mapping *sm, struct vm_area_struct *new_vma) in vdso_mremap() argument
39 current->mm->context.vdso = (void *)(new_vma->vm_start); in vdso_mremap()
/linux-6.3-rc2/arch/arm/kernel/
A Dvdso.c51 struct vm_area_struct *new_vma) in vdso_mremap() argument
53 current->mm->context.vdso = new_vma->vm_start; in vdso_mremap()
A 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-6.3-rc2/arch/riscv/kernel/
A Dvdso.c64 struct vm_area_struct *new_vma) in vdso_mremap() argument
66 current->mm->context.vdso = (void *)new_vma->vm_start; in vdso_mremap()
/linux-6.3-rc2/include/linux/
A Dmm_inline.h402 struct vm_area_struct *new_vma) in dup_anon_vma_name() argument
407 new_vma->anon_name = anon_vma_name_reuse(anon_name); in dup_anon_vma_name()
443 struct vm_area_struct *new_vma) {} in dup_anon_vma_name() argument
A Dhugetlb.h136 struct vm_area_struct *new_vma,
319 struct vm_area_struct *new_vma, in move_hugetlb_page_tables() argument
A Dmm_types.h1002 struct vm_area_struct *new_vma);
A Dmm.h2266 unsigned long old_addr, struct vm_area_struct *new_vma,
/linux-6.3-rc2/drivers/gpu/drm/i915/
A Di915_gem.c946 new_vma: in i915_gem_object_ggtt_pin_ww()
974 goto new_vma; in i915_gem_object_ggtt_pin_ww()

Completed in 47 milliseconds