Home
last modified time | relevance | path

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

/Linux-v6.6/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-v6.6/mm/
Dmremap.c138 struct vm_area_struct *new_vma, pmd_t *new_pmd, in move_ptes() argument
208 pte = move_pte(pte, new_vma->vm_page_prot, old_addr, new_addr); in move_ptes()
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()
574 new_vma, new_pmd, new_addr, need_rmap_locks) < 0) 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()
648 moved_len = move_page_tables(vma, old_addr, new_vma, new_addr, old_len, in move_vma()
[all …]
Dmmap.c3319 struct vm_area_struct *new_vma, *prev; in copy_vma() local
3332 new_vma = find_vma_prev(mm, addr, &prev); in copy_vma()
3333 if (new_vma && new_vma->vm_start < addr + len) in copy_vma()
3336 new_vma = vma_merge(&vmi, mm, prev, addr, addr + len, vma->vm_flags, in copy_vma()
3339 if (new_vma) { in copy_vma()
3343 if (unlikely(vma_start >= new_vma->vm_start && in copy_vma()
3344 vma_start < new_vma->vm_end)) { in copy_vma()
3357 VM_BUG_ON_VMA(faulted_in_anon_vma, new_vma); in copy_vma()
3358 *vmap = vma = new_vma; in copy_vma()
3360 *need_rmap_locks = (new_vma->vm_pgoff <= vma->vm_pgoff); in copy_vma()
[all …]
Dhugetlb.c5246 struct vm_area_struct *new_vma, in move_hugetlb_page_tables() argument
5291 dst_pte = huge_pte_alloc(mm, new_vma, new_addr, sz); in move_hugetlb_page_tables()
/Linux-v6.6/arch/x86/entry/vdso/
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-v6.6/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()
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-v6.6/arch/loongarch/kernel/
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()
/Linux-v6.6/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.c383 struct vm_area_struct *new_vma) in sigpage_mremap() argument
385 current->mm->context.sigpage = new_vma->vm_start; in sigpage_mremap()
/Linux-v6.6/arch/riscv/kernel/
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()
/Linux-v6.6/include/linux/
Dmm_inline.h390 struct vm_area_struct *new_vma) in dup_anon_vma_name() argument
395 new_vma->anon_name = anon_vma_name_reuse(anon_name); in dup_anon_vma_name()
431 struct vm_area_struct *new_vma) {} in dup_anon_vma_name() argument
Dhugetlb.h131 struct vm_area_struct *new_vma,
348 struct vm_area_struct *new_vma, in move_hugetlb_page_tables() argument
Dmm_types.h1211 struct vm_area_struct *new_vma);
Dmm.h2481 unsigned long old_addr, struct vm_area_struct *new_vma,
/Linux-v6.6/drivers/gpu/drm/i915/
Di915_gem.c952 new_vma: in i915_gem_object_ggtt_pin_ww()
980 goto new_vma; in i915_gem_object_ggtt_pin_ww()