Home
last modified time | relevance | path

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

/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.h34 const unsigned long *auxv; in _start_c() local
66 for (auxv = (void *)envp; *auxv++;) in _start_c()
68 _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()
/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/tools/testing/selftests/vDSO/
H A Dparse_vdso.h29 void vdso_init_from_auxv(void *auxv);
H A Dparse_vdso.c301 void vdso_init_from_auxv(void *auxv) in vdso_init_from_auxv() argument
303 ELF(auxv_t) *elf_auxv = auxv; in vdso_init_from_auxv()
/linux/Documentation/arch/x86/
H A Delf_auxvec.rst16 #include <sys/auxv.h>
/linux/fs/
H A Dbinfmt_elf.c1601 elf_addr_t *auxv = (elf_addr_t *) mm->saved_auxv; in fill_auxv_note() local
1605 while (auxv[i - 2] != AT_NULL); in fill_auxv_note()
1606 fill_note(note, "CORE", NT_AUXV, i * sizeof(elf_addr_t), auxv); in fill_auxv_note()
1726 struct memelfnote auxv; member
1927 fill_auxv_note(&info->auxv, current->mm); in fill_note_info()
1928 info->size += notesize(&info->auxv); in fill_note_info()
1956 if (first && !writenote(&info->auxv, cprm)) in write_note_info()
H A Dbinfmt_elf_fdpic.c1478 elf_addr_t *auxv; in elf_fdpic_core_dump() local
1536 auxv = (elf_addr_t *) current->mm->saved_auxv; in elf_fdpic_core_dump()
1540 while (auxv[i - 2] != AT_NULL); in elf_fdpic_core_dump()
1541 fill_note(&auxv_note, "CORE", NT_AUXV, i * sizeof(elf_addr_t), auxv); in elf_fdpic_core_dump()
/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/Documentation/arch/x86/x86_64/
H A Dfsgs.rst110 #include <sys/auxv.h>
/linux/kernel/
H A Dsys.c2036 if (!prctl_map.auxv || in prctl_set_mm_map()
2042 (const void __user *)prctl_map.auxv, in prctl_set_mm_map()
2151 .auxv = NULL, in prctl_set_mm()
/linux/Documentation/arch/arm64/
H A Dmemory-tagging-extension.rst265 #include <sys/auxv.h>