/openbmc/linux/arch/powerpc/kernel/ |
H A 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()
|
/openbmc/linux/mm/ |
H A D | mremap.c | 138 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() 500 unsigned long old_addr, struct vm_area_struct *new_vma, in move_page_tables() argument 515 return move_hugetlb_page_tables(vma, new_vma, old_addr, in move_page_tables() 578 if (pte_alloc(new_vma->vm_mm, new_pmd)) in move_page_tables() 581 new_vma, new_pmd, new_addr, need_rmap_locks) < 0) in move_page_tables() 598 struct vm_area_struct *new_vma; in move_vma() local 647 new_vma = copy_vma(&vma, new_addr, new_len, new_pgoff, in move_vma() 649 if (!new_vma) { in move_vma() 655 moved_len = move_page_tables(vma, old_addr, new_vma, new_addr, old_len, in move_vma() [all …]
|
H A D | mmap.c | 3346 struct vm_area_struct *new_vma, *prev; in copy_vma() local 3359 new_vma = find_vma_prev(mm, addr, &prev); in copy_vma() 3360 if (new_vma && new_vma->vm_start < addr + len) in copy_vma() 3363 new_vma = vma_merge(&vmi, mm, prev, addr, addr + len, vma->vm_flags, in copy_vma() 3366 if (new_vma) { in copy_vma() 3370 if (unlikely(vma_start >= new_vma->vm_start && in copy_vma() 3371 vma_start < new_vma->vm_end)) { in copy_vma() 3384 VM_BUG_ON_VMA(faulted_in_anon_vma, new_vma); in copy_vma() 3385 *vmap = vma = new_vma; in copy_vma() 3387 *need_rmap_locks = (new_vma->vm_pgoff <= vma->vm_pgoff); in copy_vma() [all …]
|
H A D | hugetlb.c | 5248 struct vm_area_struct *new_vma, in move_hugetlb_page_tables() argument 5293 dst_pte = huge_pte_alloc(mm, new_vma, new_addr, sz); in move_hugetlb_page_tables()
|
/openbmc/linux/arch/x86/entry/vdso/ |
H A D | vma.c | 76 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 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() 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 D | vdso.c | 43 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 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()
|
H A D | process.c | 383 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 D | vdso.c | 59 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 D | mm_inline.h | 395 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 D | hugetlb.h | 131 struct vm_area_struct *new_vma, 348 struct vm_area_struct *new_vma, in move_hugetlb_page_tables() argument
|
H A D | mm_types.h | 1271 struct vm_area_struct *new_vma);
|
H A D | mm.h | 2487 unsigned long old_addr, struct vm_area_struct *new_vma,
|
/openbmc/linux/drivers/gpu/drm/i915/ |
H A D | i915_gem.c | 952 new_vma: in i915_gem_object_ggtt_pin_ww() 980 goto new_vma; in i915_gem_object_ggtt_pin_ww()
|