/kernel/linux/linux-5.10/arch/hexagon/kernel/ |
D | vdso.c | 52 unsigned long vdso_base; in arch_setup_additional_pages() local 59 vdso_base = STACK_TOP; in arch_setup_additional_pages() 61 vdso_base = get_unmapped_area(NULL, vdso_base, PAGE_SIZE, 0, 0); in arch_setup_additional_pages() 62 if (IS_ERR_VALUE(vdso_base)) { in arch_setup_additional_pages() 63 ret = vdso_base; in arch_setup_additional_pages() 68 ret = install_special_mapping(mm, vdso_base, PAGE_SIZE, in arch_setup_additional_pages() 76 mm->context.vdso = (void *)vdso_base; in arch_setup_additional_pages()
|
/kernel/linux/linux-5.10/arch/nds32/kernel/ |
D | vdso.c | 117 unsigned long vdso_base, vdso_text_len, vdso_mapping_len; in arch_setup_additional_pages() local 137 vdso_base = get_unmapped_area(NULL, addr, vdso_mapping_len, 0, 0); in arch_setup_additional_pages() 138 if (IS_ERR_VALUE(vdso_base)) { in arch_setup_additional_pages() 139 ret = vdso_base; in arch_setup_additional_pages() 149 (vdso_base & aliasing_mask); in arch_setup_additional_pages() 150 vdso_base += page_colour_ofs & aliasing_mask; in arch_setup_additional_pages() 154 vma = _install_special_mapping(mm, vdso_base, vvar_page_num * PAGE_SIZE, in arch_setup_additional_pages() 162 ret = io_remap_pfn_range(vma, vdso_base, in arch_setup_additional_pages() 169 vdso_base += PAGE_SIZE; in arch_setup_additional_pages() 171 ret = io_remap_pfn_range(vma, vdso_base, timer_mapping_base >> PAGE_SHIFT, in arch_setup_additional_pages() [all …]
|
/kernel/linux/linux-5.10/arch/riscv/kernel/ |
D | vdso.c | 63 unsigned long vdso_base, vdso_len; in arch_setup_additional_pages() local 71 vdso_base = get_unmapped_area(NULL, 0, vdso_len, 0, 0); in arch_setup_additional_pages() 72 if (IS_ERR_VALUE(vdso_base)) { in arch_setup_additional_pages() 73 ret = vdso_base; in arch_setup_additional_pages() 82 mm->context.vdso = (void *)vdso_base; in arch_setup_additional_pages() 85 install_special_mapping(mm, vdso_base, vdso_pages << PAGE_SHIFT, in arch_setup_additional_pages() 94 vdso_base += (vdso_pages << PAGE_SHIFT); in arch_setup_additional_pages() 95 ret = install_special_mapping(mm, vdso_base, PAGE_SIZE, in arch_setup_additional_pages()
|
/kernel/linux/linux-5.10/arch/s390/kernel/ |
D | vdso.c | 74 current->mm->context.vdso_base = vma->vm_start; in vdso_mremap() 167 unsigned long vdso_base; in arch_setup_additional_pages() local 191 vdso_base = get_unmapped_area(NULL, 0, vdso_pages << PAGE_SHIFT, 0, 0); in arch_setup_additional_pages() 192 if (IS_ERR_VALUE(vdso_base)) { in arch_setup_additional_pages() 193 rc = vdso_base; in arch_setup_additional_pages() 207 vma = _install_special_mapping(mm, vdso_base, vdso_pages << PAGE_SHIFT, in arch_setup_additional_pages() 216 current->mm->context.vdso_base = vdso_base; in arch_setup_additional_pages()
|
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
D | vdso.c | 130 unsigned long vdso_base; in arch_setup_additional_pages() local 140 vdso_base = VDSO32_MBASE; in arch_setup_additional_pages() 149 vdso_base = 0; in arch_setup_additional_pages() 154 vdso_base = VDSO32_MBASE; in arch_setup_additional_pages() 157 current->mm->context.vdso_base = 0; in arch_setup_additional_pages() 175 vdso_base = get_unmapped_area(NULL, vdso_base, in arch_setup_additional_pages() 179 if (IS_ERR_VALUE(vdso_base)) { in arch_setup_additional_pages() 180 rc = vdso_base; in arch_setup_additional_pages() 185 vdso_base = ALIGN(vdso_base, VDSO_ALIGNMENT); in arch_setup_additional_pages() 192 current->mm->context.vdso_base = vdso_base; in arch_setup_additional_pages() [all …]
|
D | signal_32.c | 788 if (vdso32_rt_sigtramp && tsk->mm->context.vdso_base) { in handle_rt_signal32() 790 tramp = tsk->mm->context.vdso_base + vdso32_rt_sigtramp; in handle_rt_signal32() 1250 if (vdso32_sigtramp && tsk->mm->context.vdso_base) { in handle_signal32() 1252 tramp = tsk->mm->context.vdso_base + vdso32_sigtramp; in handle_signal32()
|
D | signal_64.c | 867 if (vdso64_rt_sigtramp && tsk->mm->context.vdso_base) { in handle_rt_signal64() 868 regs->nip = tsk->mm->context.vdso_base + vdso64_rt_sigtramp; in handle_rt_signal64()
|
/kernel/linux/linux-5.10/arch/arm64/kernel/ |
D | vdso.c | 238 unsigned long vdso_base, vdso_text_len, vdso_mapping_len; in __setup_additional_pages() local 248 vdso_base = get_unmapped_area(NULL, 0, vdso_mapping_len, 0, 0); in __setup_additional_pages() 249 if (IS_ERR_VALUE(vdso_base)) { in __setup_additional_pages() 250 ret = ERR_PTR(vdso_base); in __setup_additional_pages() 254 ret = _install_special_mapping(mm, vdso_base, VVAR_NR_PAGES * PAGE_SIZE, in __setup_additional_pages() 263 vdso_base += VVAR_NR_PAGES * PAGE_SIZE; in __setup_additional_pages() 264 mm->context.vdso = (void *)vdso_base; in __setup_additional_pages() 265 ret = _install_special_mapping(mm, vdso_base, vdso_text_len, in __setup_additional_pages()
|
/kernel/linux/linux-5.10/arch/powerpc/perf/ |
D | callchain_32.c | 62 if (vdso32_sigtramp && current->mm->context.vdso_base && in is_sigreturn_32_address() 63 nip == current->mm->context.vdso_base + vdso32_sigtramp) in is_sigreturn_32_address() 73 if (vdso32_rt_sigtramp && current->mm->context.vdso_base && in is_rt_sigreturn_32_address() 74 nip == current->mm->context.vdso_base + vdso32_rt_sigtramp) in is_rt_sigreturn_32_address()
|
D | callchain_64.c | 70 if (vdso64_rt_sigtramp && current->mm->context.vdso_base && in is_sigreturn_64_address() 71 nip == current->mm->context.vdso_base + vdso64_rt_sigtramp) in is_sigreturn_64_address()
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
D | mm-arch-hooks.h | 20 if (old_start == mm->context.vdso_base) in arch_remap() 21 mm->context.vdso_base = new_start; in arch_remap()
|
D | mmu_context.h | 265 if (start <= mm->context.vdso_base && mm->context.vdso_base < end) in arch_unmap() 266 mm->context.vdso_base = 0; in arch_unmap()
|
D | elf.h | 172 VDSO_AUX_ENT(AT_SYSINFO_EHDR, current->mm->context.vdso_base); \
|
/kernel/linux/linux-5.10/arch/mips/kernel/ |
D | vdso.c | 72 static unsigned long vdso_base(void) in vdso_base() function 131 base = get_unmapped_area(NULL, vdso_base(), size, 0, 0); in arch_setup_additional_pages()
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/nohash/32/ |
D | mmu-40x.h | 60 unsigned long vdso_base; member
|
D | mmu-8xx.h | 184 unsigned long vdso_base; member
|
D | mmu-44x.h | 111 unsigned long vdso_base; member
|
/kernel/linux/linux-5.10/arch/s390/include/asm/ |
D | mmu.h | 18 unsigned long vdso_base; member
|
D | elf.h | 276 (unsigned long)current->mm->context.vdso_base); \
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/book3s/32/ |
D | mmu-hash.h | 93 unsigned long vdso_base; member
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/book3s/64/ |
D | mmu.h | 114 unsigned long vdso_base; member
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/nohash/ |
D | mmu-book3e.h | 241 unsigned long vdso_base; member
|