/kernel/linux/linux-5.10/arch/um/os-Linux/ |
H A D | elf_aux.c | 29 elf_auxv_t * auxv; in scan_elf_aux() local 33 for ( auxv = (elf_auxv_t *)envp; auxv->a_type != AT_NULL; auxv++) { in scan_elf_aux() 34 switch ( auxv->a_type ) { in scan_elf_aux() 36 __kernel_vsyscall = auxv->a_un.a_val; in scan_elf_aux() 42 vsyscall_ehdr = auxv->a_un.a_val; in scan_elf_aux() 48 elf_aux_hwcap = auxv->a_un.a_val; in scan_elf_aux() 56 (char *) (long) auxv->a_un.a_val; in scan_elf_aux() 59 page_size = auxv in scan_elf_aux() [all...] |
/kernel/linux/linux-6.6/arch/um/os-Linux/ |
H A D | elf_aux.c | 29 elf_auxv_t * auxv; in scan_elf_aux() local 33 for ( auxv = (elf_auxv_t *)envp; auxv->a_type != AT_NULL; auxv++) { in scan_elf_aux() 34 switch ( auxv->a_type ) { in scan_elf_aux() 36 __kernel_vsyscall = auxv->a_un.a_val; in scan_elf_aux() 42 vsyscall_ehdr = auxv->a_un.a_val; in scan_elf_aux() 48 elf_aux_hwcap = auxv->a_un.a_val; in scan_elf_aux() 56 (char *) (long) auxv->a_un.a_val; in scan_elf_aux() 59 page_size = auxv in scan_elf_aux() [all...] |
/kernel/linux/linux-6.6/tools/include/nolibc/ |
H A D | crt.h | 22 const unsigned long *auxv; in _start_c() local 54 for (auxv = (void *)envp; *auxv++;) in _start_c() 56 _auxv = auxv; in _start_c()
|
H A D | stdlib.h | 107 const unsigned long *auxv = _auxv; in getauxval() local 110 if (!auxv) in getauxval() 114 if (!auxv[0] && !auxv[1]) { in getauxval() 119 if (auxv[0] == type) { in getauxval() 120 ret = auxv[1]; in getauxval() 124 auxv += 2; in getauxval()
|
/kernel/linux/linux-6.6/tools/testing/selftests/arm64/bti/ |
H A D | test.c | 160 } *auxv; in start() local 173 for (auxv = (const struct auxv_entry *)p; auxv->type != AT_NULL; ++auxv) { in start() 174 switch (auxv->type) { in start() 176 hwcap = auxv->val; in start() 179 hwcap2 = auxv->val; in start()
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/ |
H A D | utils.c | 27 static char auxv[4096]; variable 34 fd = open("/proc/self/auxv", O_RDONLY); in read_auxv() 48 printf("overflowed auxv buffer\n"); in read_auxv() 59 void *find_auxv_entry(int type, char *auxv) in find_auxv_entry() argument 63 p = (ElfW(auxv_t) *)auxv; in find_auxv_entry() 79 if (read_auxv(auxv, sizeof(auxv))) in get_auxv_entry() 82 p = find_auxv_entry(type, auxv); in get_auxv_entry()
|
/kernel/linux/linux-5.10/tools/testing/selftests/x86/ |
H A D | test_syscall_vdso.c | 38 Elf32_auxv_t *auxv; in get_syscall() local 41 for (auxv = (void *)envp; auxv->a_type != AT_NULL; auxv++) in get_syscall() 42 if (auxv->a_type == AT_SYSINFO) in get_syscall() 43 return auxv->a_un.a_val; in get_syscall()
|
/kernel/linux/linux-6.6/tools/testing/selftests/x86/ |
H A D | test_syscall_vdso.c | 38 Elf32_auxv_t *auxv; in get_syscall() local 41 for (auxv = (void *)envp; auxv->a_type != AT_NULL; auxv++) in get_syscall() 42 if (auxv->a_type == AT_SYSINFO) in get_syscall() 43 return auxv->a_un.a_val; in get_syscall()
|
/kernel/linux/linux-6.6/tools/perf/tests/ |
H A D | attr.py | 145 # 'auxv' - Truthy statement that is evaled in the scope of the auxv map. When false, 146 # the test is skipped. For example 'auxv["AT_HWCAP"] == 10'. (optional) 179 self.auxv = parser.get('config', 'auxv', fallback=None) 216 if not self.auxv: 218 auxv = subprocess.check_output("LD_SHOW_AUXV=1 sleep 0", shell=True) \ 221 auxv = dict([new_auxv(a, pattern) for a in auxv.splitlines()]) 222 return not eval(self.auxv) [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/ |
H A D | utils.c | 29 static char auxv[4096]; variable 159 err = read_file("/proc/self/auxv", buf, buf_size, NULL); in read_auxv() 161 perror("Error reading /proc/self/auxv"); in read_auxv() 387 void *find_auxv_entry(int type, char *auxv) in find_auxv_entry() argument 391 p = (ElfW(auxv_t) *)auxv; in find_auxv_entry() 407 if (read_auxv(auxv, sizeof(auxv))) in get_auxv_entry() 410 p = find_auxv_entry(type, auxv); in get_auxv_entry()
|
/kernel/linux/linux-6.6/tools/testing/selftests/vDSO/ |
H A D | vdso_test_abi.c | 15 #include <sys/auxv.h> 26 extern void vdso_init_from_auxv(void *auxv);
|
H A D | parse_vdso.h | 10 * If you've already parsed auxv, then pass the value of AT_SYSINFO_EHDR 11 * to vdso_init_from_sysinfo_ehdr. Otherwise pass auxv to vdso_init_from_auxv. 29 void vdso_init_from_auxv(void *auxv);
|
H A D | vdso_test_gettimeofday.c | 16 #include <sys/auxv.h>
|
H A D | vdso_test_getcpu.c | 11 #include <sys/auxv.h>
|
/kernel/linux/linux-5.10/tools/testing/selftests/vDSO/ |
H A D | parse_vdso.h | 10 * If you've already parsed auxv, then pass the value of AT_SYSINFO_EHDR 11 * to vdso_init_from_sysinfo_ehdr. Otherwise pass auxv to vdso_init_from_auxv. 29 void vdso_init_from_auxv(void *auxv);
|
H A D | vdso_test_gettimeofday.c | 16 #include <sys/auxv.h>
|
H A D | vdso_test_getcpu.c | 11 #include <sys/auxv.h>
|
/kernel/linux/linux-5.10/lib/raid6/ |
H A D | loongarch.h | 20 #include <sys/auxv.h>
|
/kernel/linux/linux-6.6/lib/raid6/ |
H A D | loongarch.h | 20 #include <sys/auxv.h>
|
/kernel/liteos_m/kal/libc/newlib/porting/include/sys/ |
H A D | prctl.h | 52 uint64_t *auxv; member
|
/kernel/linux/linux-5.10/tools/testing/selftests/arm64/pauth/ |
H A D | exec_target.c | 6 #include <sys/auxv.h>
|
/kernel/linux/linux-6.6/tools/testing/selftests/arm64/pauth/ |
H A D | exec_target.c | 6 #include <sys/auxv.h>
|
/kernel/linux/linux-5.10/tools/testing/selftests/arm64/fp/ |
H A D | sve-probe-vls.c | 11 #include <sys/auxv.h>
|
/kernel/linux/linux-5.10/tools/testing/selftests/capabilities/ |
H A D | validate_cap.c | 8 #include <sys/auxv.h>
|
/kernel/linux/linux-6.6/tools/testing/selftests/arm64/fp/ |
H A D | sve-probe-vls.c | 11 #include <sys/auxv.h>
|