| /linux/arch/powerpc/kernel/ |
| 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()
|
| /linux/mm/ |
| A D | vma.c | 1634 if (new_vma && new_vma->vm_start < addr + len) in copy_vma() 1642 if (new_vma) { in copy_vma() 1661 *vmap = vma = new_vma; in copy_vma() 1666 if (!new_vma) in copy_vma() 1673 if (new_vma->vm_file) in copy_vma() 1675 if (new_vma->vm_ops && new_vma->vm_ops->open) in copy_vma() 1676 new_vma->vm_ops->open(new_vma); in copy_vma() 1681 return new_vma; in copy_vma() 1684 vma_close(new_vma); in copy_vma() 1686 if (new_vma->vm_file) in copy_vma() [all …]
|
| A D | mremap.c | 138 struct vm_area_struct *new_vma, pmd_t *new_pmd, in move_ptes() argument 552 unsigned long old_addr, struct vm_area_struct *new_vma, in move_page_tables() argument 567 return move_hugetlb_page_tables(vma, new_vma, old_addr, in move_page_tables() 638 if (pte_alloc(new_vma->vm_mm, new_pmd)) in move_page_tables() 665 struct vm_area_struct *new_vma; in move_vma() local 714 new_vma = copy_vma(&vma, new_addr, new_len, new_pgoff, in move_vma() 716 if (!new_vma) { in move_vma() 727 err = vma->vm_ops->mremap(new_vma); in move_vma() 738 vma = new_vma; in move_vma() 743 mremap_userfaultfd_prep(new_vma, uf); in move_vma() [all …]
|
| A D | mmap.c | 2065 static int special_mapping_mremap(struct vm_area_struct *new_vma) in special_mapping_mremap() argument 2067 struct vm_special_mapping *sm = new_vma->vm_private_data; in special_mapping_mremap() 2069 if (WARN_ON_ONCE(current->mm != new_vma->vm_mm)) in special_mapping_mremap() 2073 return sm->mremap(sm, new_vma); in special_mapping_mremap()
|
| A D | internal.h | 1479 unsigned long old_addr, struct vm_area_struct *new_vma,
|
| A D | hugetlb.c | 5422 struct vm_area_struct *new_vma, in move_hugetlb_page_tables() argument 5467 dst_pte = huge_pte_alloc(mm, new_vma, new_addr, sz); in move_hugetlb_page_tables()
|
| /linux/arch/x86/entry/vdso/ |
| A D | vma.c | 79 struct vm_area_struct *new_vma) in vdso_fix_landing() argument 90 regs->ip = new_vma->vm_start + vdso_land; in vdso_fix_landing() 96 struct vm_area_struct *new_vma) in vdso_mremap() argument 100 vdso_fix_landing(image, new_vma); in vdso_mremap() 101 current->mm->context.vdso = (void __user *)new_vma->vm_start; in vdso_mremap()
|
| /linux/arch/arm64/kernel/ |
| A D | vdso.c | 70 struct vm_area_struct *new_vma) in vdso_mremap() argument 72 current->mm->context.vdso = (void *)new_vma->vm_start; in vdso_mremap() 240 struct vm_area_struct *new_vma) in aarch32_sigpage_mremap() argument 242 current->mm->context.sigpage = (void *)new_vma->vm_start; in aarch32_sigpage_mremap()
|
| /linux/arch/loongarch/kernel/ |
| A D | vdso.c | 41 static int vdso_mremap(const struct vm_special_mapping *sm, struct vm_area_struct *new_vma) in vdso_mremap() argument 43 current->mm->context.vdso = (void *)(new_vma->vm_start); in vdso_mremap()
|
| /linux/arch/arm/kernel/ |
| A D | vdso.c | 47 struct vm_area_struct *new_vma) in vdso_mremap() argument 49 current->mm->context.vdso = new_vma->vm_start; in vdso_mremap()
|
| 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()
|
| /linux/arch/riscv/kernel/ |
| A D | vdso.c | 53 struct vm_area_struct *new_vma) in vdso_mremap() argument 55 current->mm->context.vdso = (void *)new_vma->vm_start; in vdso_mremap()
|
| /linux/include/linux/ |
| A D | mm_inline.h | 387 struct vm_area_struct *new_vma) in dup_anon_vma_name() argument 392 new_vma->anon_name = anon_vma_name_reuse(anon_name); in dup_anon_vma_name() 418 struct vm_area_struct *new_vma) {} in dup_anon_vma_name() argument
|
| A D | hugetlb.h | 125 struct vm_area_struct *new_vma, 332 struct vm_area_struct *new_vma, in move_hugetlb_page_tables() argument
|
| A D | mm_types.h | 1326 struct vm_area_struct *new_vma);
|
| /linux/drivers/gpu/drm/i915/ |
| A D | i915_gem.c | 949 new_vma: in i915_gem_object_ggtt_pin_ww() 977 goto new_vma; in i915_gem_object_ggtt_pin_ww()
|
| /linux/drivers/gpu/drm/xe/ |
| A D | xe_vm.c | 1982 static struct xe_vma *new_vma(struct xe_vm *vm, struct drm_gpuva_op_map *op, in new_vma() function 2162 vma = new_vma(vm, &op->base.map, op->map.pat_index, in vm_bind_ioctl_ops_parse() 2192 vma = new_vma(vm, op->base.remap.prev, in vm_bind_ioctl_ops_parse() 2231 vma = new_vma(vm, op->base.remap.next, in vm_bind_ioctl_ops_parse()
|
| /linux/drivers/gpu/drm/panthor/ |
| A D | panthor_mmu.c | 215 struct panthor_vma *new_vma; member
|