Home
last modified time | relevance | path

Searched refs:auxv (Results 1 - 25 of 83) sorted by relevance

1234

/kernel/linux/linux-5.10/arch/um/os-Linux/
H A Delf_aux.c29 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 Delf_aux.c29 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 Dcrt.h22 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 Dstdlib.h107 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 Dtest.c160 } *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 Dutils.c27 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 Dtest_syscall_vdso.c38 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 Dtest_syscall_vdso.c38 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 Dattr.py145 # '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 Dutils.c29 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 Dvdso_test_abi.c15 #include <sys/auxv.h>
26 extern void vdso_init_from_auxv(void *auxv);
H A Dparse_vdso.h10 * 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 Dvdso_test_gettimeofday.c16 #include <sys/auxv.h>
H A Dvdso_test_getcpu.c11 #include <sys/auxv.h>
/kernel/linux/linux-5.10/tools/testing/selftests/vDSO/
H A Dparse_vdso.h10 * 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 Dvdso_test_gettimeofday.c16 #include <sys/auxv.h>
H A Dvdso_test_getcpu.c11 #include <sys/auxv.h>
/kernel/linux/linux-5.10/lib/raid6/
H A Dloongarch.h20 #include <sys/auxv.h>
/kernel/linux/linux-6.6/lib/raid6/
H A Dloongarch.h20 #include <sys/auxv.h>
/kernel/liteos_m/kal/libc/newlib/porting/include/sys/
H A Dprctl.h52 uint64_t *auxv; member
/kernel/linux/linux-5.10/tools/testing/selftests/arm64/pauth/
H A Dexec_target.c6 #include <sys/auxv.h>
/kernel/linux/linux-6.6/tools/testing/selftests/arm64/pauth/
H A Dexec_target.c6 #include <sys/auxv.h>
/kernel/linux/linux-5.10/tools/testing/selftests/arm64/fp/
H A Dsve-probe-vls.c11 #include <sys/auxv.h>
/kernel/linux/linux-5.10/tools/testing/selftests/capabilities/
H A Dvalidate_cap.c8 #include <sys/auxv.h>
/kernel/linux/linux-6.6/tools/testing/selftests/arm64/fp/
H A Dsve-probe-vls.c11 #include <sys/auxv.h>

Completed in 7 milliseconds

1234