Home
last modified time | relevance | path

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

/openbmc/linux/arch/powerpc/kernel/
H 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()
/openbmc/linux/mm/
H A Dmremap.c138 struct vm_area_struct *new_vma, pmd_t *new_pmd, in move_ptes() argument
493 unsigned long old_addr, struct vm_area_struct *new_vma, in move_page_tables() argument
508 return move_hugetlb_page_tables(vma, new_vma, old_addr, in move_page_tables()
571 if (pte_alloc(new_vma->vm_mm, new_pmd)) in move_page_tables()
591 struct vm_area_struct *new_vma; in move_vma() local
640 new_vma = copy_vma(&vma, new_addr, new_len, new_pgoff, in move_vma()
642 if (!new_vma) { in move_vma()
653 err = vma->vm_ops->mremap(new_vma); in move_vma()
664 vma = new_vma; in move_vma()
669 mremap_userfaultfd_prep(new_vma, uf); in move_vma()
[all …]
H A Dmmap.c3341 if (new_vma && new_vma->vm_start < addr + len) in copy_vma()
3347 if (new_vma) { in copy_vma()
3371 if (!new_vma) in copy_vma()
3380 if (new_vma->vm_file) in copy_vma()
3382 if (new_vma->vm_ops && new_vma->vm_ops->open) in copy_vma()
3383 new_vma->vm_ops->open(new_vma); in copy_vma()
3388 return new_vma; in copy_vma()
3391 if (new_vma->vm_ops && new_vma->vm_ops->close) in copy_vma()
3392 new_vma->vm_ops->close(new_vma); in copy_vma()
3394 if (new_vma->vm_file) in copy_vma()
[all …]
H A Dhugetlb.c5238 struct vm_area_struct *new_vma, in move_hugetlb_page_tables() argument
5283 dst_pte = huge_pte_alloc(mm, new_vma, new_addr, sz); in move_hugetlb_page_tables()
/openbmc/linux/arch/x86/entry/vdso/
H 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()
/openbmc/linux/arch/arm64/kernel/
H 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()
/openbmc/linux/arch/loongarch/kernel/
H A Dvdso.c43 static int vdso_mremap(const struct vm_special_mapping *sm, struct vm_area_struct *new_vma) in vdso_mremap() argument
45 current->mm->context.vdso = (void *)(new_vma->vm_start); in vdso_mremap()
/openbmc/linux/arch/arm/kernel/
H 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()
H A Dprocess.c383 struct vm_area_struct *new_vma) in sigpage_mremap() argument
385 current->mm->context.sigpage = new_vma->vm_start; in sigpage_mremap()
/openbmc/linux/arch/riscv/kernel/
H A Dvdso.c59 struct vm_area_struct *new_vma) in vdso_mremap() argument
61 current->mm->context.vdso = (void *)new_vma->vm_start; in vdso_mremap()
/openbmc/linux/include/linux/
H A Dmm_inline.h395 struct vm_area_struct *new_vma) in dup_anon_vma_name() argument
400 new_vma->anon_name = anon_vma_name_reuse(anon_name); in dup_anon_vma_name()
436 struct vm_area_struct *new_vma) {} in dup_anon_vma_name() argument
H A Dhugetlb.h131 struct vm_area_struct *new_vma,
348 struct vm_area_struct *new_vma, in move_hugetlb_page_tables() argument
H A Dmm_types.h1211 struct vm_area_struct *new_vma);
H A Dmm.h2483 unsigned long old_addr, struct vm_area_struct *new_vma,
/openbmc/linux/drivers/gpu/drm/i915/
H A Di915_gem.c952 new_vma: in i915_gem_object_ggtt_pin_ww()
980 goto new_vma; in i915_gem_object_ggtt_pin_ww()