Home
last modified time | relevance | path

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

/linux-6.1.9/arch/powerpc/kernel/
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.1.9/mm/
Dmremap.c138 struct vm_area_struct *new_vma, pmd_t *new_pmd, in move_ptes() argument
199 pte = move_pte(pte, new_vma->vm_page_prot, old_addr, new_addr); in move_ptes()
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()
562 move_ptes(vma, old_pmd, old_addr, old_addr + extent, new_vma, in move_page_tables()
579 struct vm_area_struct *new_vma; in move_vma() local
626 new_vma = copy_vma(&vma, new_addr, new_len, new_pgoff, in move_vma()
628 if (!new_vma) { in move_vma()
634 moved_len = move_page_tables(vma, old_addr, new_vma, new_addr, old_len, in move_vma()
[all …]
Dmmap.c3175 struct vm_area_struct *new_vma, *prev; in copy_vma() local
3188 new_vma = find_vma_prev(mm, addr, &prev); in copy_vma()
3189 if (new_vma && new_vma->vm_start < addr + len) in copy_vma()
3192 new_vma = vma_merge(mm, prev, addr, addr + len, vma->vm_flags, in copy_vma()
3195 if (new_vma) { in copy_vma()
3199 if (unlikely(vma_start >= new_vma->vm_start && in copy_vma()
3200 vma_start < new_vma->vm_end)) { in copy_vma()
3213 VM_BUG_ON_VMA(faulted_in_anon_vma, new_vma); in copy_vma()
3214 *vmap = vma = new_vma; in copy_vma()
3216 *need_rmap_locks = (new_vma->vm_pgoff <= vma->vm_pgoff); in copy_vma()
[all …]
Dhugetlb.c5161 struct vm_area_struct *new_vma, in move_hugetlb_page_tables() argument
5206 dst_pte = huge_pte_alloc(mm, new_vma, new_addr, sz); in move_hugetlb_page_tables()
/linux-6.1.9/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-6.1.9/arch/arm64/kernel/
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()
273 struct vm_area_struct *new_vma) in aarch32_sigpage_mremap() argument
275 current->mm->context.sigpage = (void *)new_vma->vm_start; in aarch32_sigpage_mremap()
/linux-6.1.9/arch/loongarch/kernel/
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.1.9/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.c385 struct vm_area_struct *new_vma) in sigpage_mremap() argument
387 current->mm->context.sigpage = new_vma->vm_start; in sigpage_mremap()
/linux-6.1.9/include/linux/
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()
444 struct vm_area_struct *new_vma) {} in dup_anon_vma_name() argument
Dhugetlb.h147 struct vm_area_struct *new_vma,
301 struct vm_area_struct *new_vma, in move_hugetlb_page_tables() argument
Dmm_types.h928 struct vm_area_struct *new_vma);
Dmm.h2004 unsigned long old_addr, struct vm_area_struct *new_vma,
/linux-6.1.9/arch/riscv/kernel/
Dvdso.c69 struct vm_area_struct *new_vma) in vdso_mremap() argument
71 current->mm->context.vdso = (void *)new_vma->vm_start; in vdso_mremap()
/linux-6.1.9/drivers/gpu/drm/i915/
Di915_gem.c936 new_vma: in i915_gem_object_ggtt_pin_ww()
964 goto new_vma; in i915_gem_object_ggtt_pin_ww()