Home
last modified time | relevance | path

Searched refs:vdso_base (Results 1 – 22 of 22) sorted by relevance

/kernel/linux/linux-5.10/arch/hexagon/kernel/
Dvdso.c52 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/
Dvdso.c117 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/
Dvdso.c63 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/
Dvdso.c74 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/
Dvdso.c130 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 …]
Dsignal_32.c788 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()
Dsignal_64.c867 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/
Dvdso.c238 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/
Dcallchain_32.c62 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()
Dcallchain_64.c70 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/
Dmm-arch-hooks.h20 if (old_start == mm->context.vdso_base) in arch_remap()
21 mm->context.vdso_base = new_start; in arch_remap()
Dmmu_context.h265 if (start <= mm->context.vdso_base && mm->context.vdso_base < end) in arch_unmap()
266 mm->context.vdso_base = 0; in arch_unmap()
Delf.h172 VDSO_AUX_ENT(AT_SYSINFO_EHDR, current->mm->context.vdso_base); \
/kernel/linux/linux-5.10/arch/mips/kernel/
Dvdso.c72 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/
Dmmu-40x.h60 unsigned long vdso_base; member
Dmmu-8xx.h184 unsigned long vdso_base; member
Dmmu-44x.h111 unsigned long vdso_base; member
/kernel/linux/linux-5.10/arch/s390/include/asm/
Dmmu.h18 unsigned long vdso_base; member
Delf.h276 (unsigned long)current->mm->context.vdso_base); \
/kernel/linux/linux-5.10/arch/powerpc/include/asm/book3s/32/
Dmmu-hash.h93 unsigned long vdso_base; member
/kernel/linux/linux-5.10/arch/powerpc/include/asm/book3s/64/
Dmmu.h114 unsigned long vdso_base; member
/kernel/linux/linux-5.10/arch/powerpc/include/asm/nohash/
Dmmu-book3e.h241 unsigned long vdso_base; member