Home
last modified time | relevance | path

Searched refs:new_vma (Results 1 – 11 of 11) 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.c1871 struct vm_area_struct *new_vma; in copy_vma() local
1893 new_vma = find_vma_prev(mm, addr, &vmg.prev); in copy_vma()
1894 if (new_vma && new_vma->vm_start < addr + len) in copy_vma()
1899 new_vma = vma_merge_copied_range(&vmg); in copy_vma()
1901 if (new_vma) { in copy_vma()
1905 if (unlikely(vma_start >= new_vma->vm_start && in copy_vma()
1906 vma_start < new_vma->vm_end)) { in copy_vma()
1919 VM_BUG_ON_VMA(faulted_in_anon_vma, new_vma); in copy_vma()
1920 *vmap = vma = new_vma; in copy_vma()
1922 *need_rmap_locks = (new_vma->vm_pgoff <= vma->vm_pgoff); in copy_vma()
[all …]
H A Dhugetlb.c5092 struct vm_area_struct *new_vma, in move_hugetlb_page_tables() argument
5137 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/drivers/gpu/drm/xe/
H A Dxe_vm.c2551 static struct xe_vma *new_vma(struct xe_vm *vm, struct drm_gpuva_op_map *op, in new_vma() function
2779 vma = new_vma(vm, &op->base.map, &default_attr, in vm_bind_ioctl_ops_parse()
2821 vma = new_vma(vm, op->base.remap.prev, in vm_bind_ioctl_ops_parse()
2851 vma = new_vma(vm, op->base.remap.next, in vm_bind_ioctl_ops_parse()
/linux/arch/x86/kernel/
H A Duprobes.c621 static int tramp_mremap(const struct vm_special_mapping *sm, struct vm_area_struct *new_vma) in tramp_mremap() argument
/linux/drivers/gpu/drm/panthor/
H A Dpanthor_mmu.c204 struct panthor_vma *new_vma; member