Home
last modified time | relevance | path

Searched refs:auxv (Results 1 – 17 of 17) sorted by relevance

/linux/tools/include/nolibc/sys/
H A Dauxv.h20 const unsigned long *auxv = _auxv; in getauxval() local
23 if (!auxv) in getauxval()
27 if (!auxv[0] && !auxv[1]) { in getauxval()
32 if (auxv[0] == type) { in getauxval()
33 ret = auxv[1]; in getauxval()
37 auxv += 2; in getauxval()
/linux/arch/um/os-Linux/
H A Delf_aux.c31 elf_auxv_t * auxv; in scan_elf_aux() local
35 for ( auxv = (elf_auxv_t *)envp; auxv->a_type != AT_NULL; auxv++) { in scan_elf_aux()
36 switch ( auxv->a_type ) { in scan_elf_aux()
38 elf_aux_hwcap = auxv->a_un.a_val; in scan_elf_aux()
46 (char *) (long) auxv->a_un.a_val; in scan_elf_aux()
/linux/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()
/linux/tools/include/nolibc/
H A Dcrt.h43 const unsigned long *auxv; in _start_c() local
75 for (auxv = (void *)envp; *auxv++;) in _start_c()
77 _auxv = auxv; in _start_c()
H A DMakefile52 sys/auxv.h \
/linux/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()
/linux/tools/testing/selftests/powerpc/
H A Dutils.c29 static char auxv[4096]; variable
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()
/linux/Documentation/arch/sparc/
H A Dadi.rst189 Elf64_auxv_t *auxv;
194 for (auxv = (Elf64_auxv_t *)envp; auxv->a_type != AT_NULL; auxv++) {
195 switch (auxv->a_type) {
197 adi_blksz = auxv->a_un.a_val;
200 adi_nbits = auxv->a_un.a_val;
/linux/Documentation/arch/x86/
H A Delf_auxvec.rst16 #include <sys/auxv.h>
/linux/tools/include/uapi/linux/
H A Dprctl.h146 __u64 *auxv; /* auxiliary vector */ member
/linux/include/uapi/linux/
H A Dprctl.h146 __u64 *auxv; /* auxiliary vector */ member
/linux/tools/perf/trace/beauty/include/uapi/linux/
H A Dprctl.h146 __u64 *auxv; /* auxiliary vector */ member
/linux/tools/testing/selftests/powerpc/include/
H A Dutils.h38 void *find_auxv_entry(int type, char *auxv);
/linux/fs/
H A Dbinfmt_elf_fdpic.c1480 elf_addr_t *auxv; in elf_fdpic_core_dump() local
1538 auxv = (elf_addr_t *) current->mm->saved_auxv; in elf_fdpic_core_dump()
1542 while (auxv[i - 2] != AT_NULL); in elf_fdpic_core_dump()
1543 fill_note(&auxv_note, AUXV, i * sizeof(elf_addr_t), auxv); in elf_fdpic_core_dump()
/linux/Documentation/arch/x86/x86_64/
H A Dfsgs.rst110 #include <sys/auxv.h>
/linux/kernel/
H A Dsys.c2088 if (!prctl_map.auxv || in prctl_set_mm_map()
2094 (const void __user *)prctl_map.auxv, in prctl_set_mm_map()
2203 .auxv = NULL, in prctl_set_mm()
/linux/Documentation/arch/arm64/
H A Dmemory-tagging-extension.rst265 #include <sys/auxv.h>