/linux-6.1.9/arch/powerpc/kernel/ |
D | vdso.c | 61 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/ |
D | mremap.c | 138 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 …]
|
D | mmap.c | 3175 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 …]
|
D | hugetlb.c | 5161 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/ |
D | vma.c | 73 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/ |
D | vdso.c | 79 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/ |
D | vdso.c | 37 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/ |
D | vdso.c | 51 struct vm_area_struct *new_vma) in vdso_mremap() argument 53 current->mm->context.vdso = new_vma->vm_start; in vdso_mremap()
|
D | process.c | 385 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/ |
D | mm_inline.h | 402 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
|
D | hugetlb.h | 147 struct vm_area_struct *new_vma, 301 struct vm_area_struct *new_vma, in move_hugetlb_page_tables() argument
|
D | mm_types.h | 928 struct vm_area_struct *new_vma);
|
D | mm.h | 2004 unsigned long old_addr, struct vm_area_struct *new_vma,
|
/linux-6.1.9/arch/riscv/kernel/ |
D | vdso.c | 69 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/ |
D | i915_gem.c | 936 new_vma: in i915_gem_object_ggtt_pin_ww() 964 goto new_vma; in i915_gem_object_ggtt_pin_ww()
|