Home
last modified time | relevance | path

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

/linux-6.12.1/arch/um/os-Linux/
Delf_aux.c30 elf_auxv_t * auxv; in scan_elf_aux() local
34 for ( auxv = (elf_auxv_t *)envp; auxv->a_type != AT_NULL; auxv++) { in scan_elf_aux()
35 switch ( auxv->a_type ) { in scan_elf_aux()
37 __kernel_vsyscall = auxv->a_un.a_val; in scan_elf_aux()
43 vsyscall_ehdr = auxv->a_un.a_val; in scan_elf_aux()
49 elf_aux_hwcap = auxv->a_un.a_val; in scan_elf_aux()
57 (char *) (long) auxv->a_un.a_val; in scan_elf_aux()
60 page_size = auxv->a_un.a_val; in scan_elf_aux()
/linux-6.12.1/tools/testing/selftests/arm64/bti/
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-6.12.1/tools/include/nolibc/
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()
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-6.12.1/tools/testing/selftests/x86/
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-6.12.1/tools/perf/tests/attr/
Dtest-record-user-regs-no-sve-aarch649 auxv = auxv["AT_HWCAP"] & 0x400000 == 0
Dtest-record-user-regs-sve-aarch649 auxv = auxv["AT_HWCAP"] & 0x400000 == 0x400000
/linux-6.12.1/tools/perf/tests/
Dattr.py179 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)
/linux-6.12.1/tools/testing/selftests/powerpc/
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-6.12.1/Documentation/arch/sparc/
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-6.12.1/tools/testing/selftests/vDSO/
Dparse_vdso.h29 void vdso_init_from_auxv(void *auxv);
Dparse_vdso.c248 void vdso_init_from_auxv(void *auxv) in vdso_init_from_auxv() argument
250 ELF(auxv_t) *elf_auxv = auxv; in vdso_init_from_auxv()
/linux-6.12.1/Documentation/arch/x86/
Delf_auxvec.rst16 #include <sys/auxv.h>
/linux-6.12.1/tools/perf/trace/beauty/include/uapi/linux/
Dprctl.h146 __u64 *auxv; /* auxiliary vector */ member
/linux-6.12.1/tools/include/uapi/linux/
Dprctl.h146 __u64 *auxv; /* auxiliary vector */ member
/linux-6.12.1/include/uapi/linux/
Dprctl.h146 __u64 *auxv; /* auxiliary vector */ member
/linux-6.12.1/fs/
Dbinfmt_elf.c1593 elf_addr_t *auxv = (elf_addr_t *) mm->saved_auxv; in fill_auxv_note() local
1597 while (auxv[i - 2] != AT_NULL); in fill_auxv_note()
1598 fill_note(note, "CORE", NT_AUXV, i * sizeof(elf_addr_t), auxv); in fill_auxv_note()
1718 struct memelfnote auxv; member
1919 fill_auxv_note(&info->auxv, current->mm); in fill_note_info()
1920 info->size += notesize(&info->auxv); in fill_note_info()
1948 if (first && !writenote(&info->auxv, cprm)) in write_note_info()
Dbinfmt_elf_fdpic.c1469 elf_addr_t *auxv; in elf_fdpic_core_dump() local
1527 auxv = (elf_addr_t *) current->mm->saved_auxv; in elf_fdpic_core_dump()
1531 while (auxv[i - 2] != AT_NULL); in elf_fdpic_core_dump()
1532 fill_note(&auxv_note, "CORE", NT_AUXV, i * sizeof(elf_addr_t), auxv); in elf_fdpic_core_dump()
/linux-6.12.1/tools/testing/selftests/powerpc/include/
Dutils.h38 void *find_auxv_entry(int type, char *auxv);
/linux-6.12.1/Documentation/arch/x86/x86_64/
Dfsgs.rst110 #include <sys/auxv.h>
/linux-6.12.1/Documentation/arch/arm64/
Dcpu-feature-registers.rst381 #include <sys/auxv.h>
Dmemory-tagging-extension.rst265 #include <sys/auxv.h>
/linux-6.12.1/kernel/
Dsys.c2039 if (!prctl_map.auxv || in prctl_set_mm_map()
2045 (const void __user *)prctl_map.auxv, in prctl_set_mm_map()
2154 .auxv = NULL, in prctl_set_mm()