Home
last modified time | relevance | path

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

/linux/arch/powerpc/kernel/
H A Dvdso.c44 static int vdso_mremap(const struct vm_special_mapping *sm, struct vm_area_struct *new_vma, in vdso_mremap() argument
47 unsigned long new_size = new_vma->vm_end - new_vma->vm_start; in vdso_mremap()
52 current->mm->context.vdso = (void __user *)new_vma->vm_start; in vdso_mremap()
57 static int vdso32_mremap(const struct vm_special_mapping *sm, struct vm_area_struct *new_vma) in vdso32_mremap() argument
59 return vdso_mremap(sm, new_vma, &vdso32_end - &vdso32_start); in vdso32_mremap()
62 static int vdso64_mremap(const struct vm_special_mapping *sm, struct vm_area_struct *new_vma) in vdso64_mremap() argument
64 return vdso_mremap(sm, new_vma, &vdso64_end - &vdso64_start); in vdso64_mremap()
/linux/mm/
H A Dvma.c1951 struct vm_area_struct *new_vma; in copy_vma() local
1977 new_vma = find_vma_prev(mm, addr, &vmg.prev); in copy_vma()
1978 if (new_vma && new_vma->vm_start < addr + len) in copy_vma()
1999 new_vma = vma_merge_copied_range(&vmg); in copy_vma()
2001 if (new_vma) { in copy_vma()
2003 if (unlikely(new_vma->vm_start < old_vma_start && in copy_vma()
2004 new_vma->vm_end > old_vma_start)) { in copy_vma()
2016 VM_WARN_ON_ONCE_VMA(!can_self_merge, new_vma); in copy_vma()
2017 *vmap = vma = new_vma; in copy_vma()
[all...]
H A Dmremap.c228 * - During mremap(), new_vma is often known to be placed after vma in move_ptes()
1157 * so KSM can come around to merge on vma and new_vma afterwards.
1302 struct vm_area_struct *new_vma; in copy_vma_and_data()
1307 new_vma = copy_vma(&vma, vrm->new_addr, vrm->new_len, new_pgoff, in copy_vma_and_data()
1310 if (!new_vma) { in copy_vma_and_data()
1321 pmc.new = new_vma; in copy_vma_and_data()
1327 err = vma->vm_ops->mremap(new_vma);
1330 PAGETABLE_MOVE(pmc_revert, new_vma, vma, vrm->new_addr, in dontunmap_complete() argument
1341 vrm->vma = new_vma; in dontunmap_complete()
1345 mremap_userfaultfd_prep(new_vma, vr in dontunmap_complete()
1272 struct vm_area_struct *new_vma; copy_vma_and_data() local
1364 struct vm_area_struct *new_vma; move_vma() local
[all...]
H A Dhugetlb.c5143 struct vm_area_struct *new_vma, in move_hugetlb_page_tables() argument
5191 dst_pte = huge_pte_alloc(mm, new_vma, new_addr, sz); in move_hugetlb_page_tables()
/linux/arch/arm64/kernel/
H A Dvdso.c61 struct vm_area_struct *new_vma) in vdso_mremap() argument
63 current->mm->context.vdso = (void *)new_vma->vm_start; in vdso_mremap()
158 struct vm_area_struct *new_vma) in aarch32_sigpage_mremap() argument
160 current->mm->context.sigpage = (void *)new_vma->vm_start; in aarch32_sigpage_mremap()
/linux/arch/riscv/kernel/
H A Dvdso.c37 struct vm_area_struct *new_vma) in vdso_mremap() argument
39 current->mm->context.vdso = (void *)new_vma->vm_start; in vdso_mremap()
/linux/arch/arm/kernel/
H A Dvdso.c38 struct vm_area_struct *new_vma) in vdso_mremap() argument
40 current->mm->context.vdso = new_vma->vm_start; in vdso_mremap()
H A 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/tools/testing/vma/include/
H A Dstubs.h76 struct vm_area_struct *new_vma) in dup_anon_vma_name() argument
/linux/include/linux/
H A Dmm_types.h1751 struct vm_area_struct *new_vma);
/linux/drivers/gpu/drm/xe/
H A Dxe_vm.c2612 static struct xe_vma *new_vma(struct xe_vm *vm, struct drm_gpuva_op_map *op, in new_vma()
2840 vma = new_vma(vm, &op->base.map, &default_attr, in vm_bind_ioctl_ops_parse()
2882 vma = new_vma(vm, op->base.remap.prev, in vm_bind_ioctl_ops_parse()
2912 vma = new_vma(vm, op->base.remap.next, in vm_bind_ioctl_ops_parse()
2587 static struct xe_vma *new_vma(struct xe_vm *vm, struct drm_gpuva_op_map *op, new_vma() function
/linux/arch/x86/kernel/
H A Duprobes.c615 static int tramp_mremap(const struct vm_special_mapping *sm, struct vm_area_struct *new_vma) in tramp_mremap() argument
/linux/kernel/events/
H A Duprobes.c1689 static int xol_mremap(const struct vm_special_mapping *sm, struct vm_area_struct *new_vma) in xol_mremap() argument