Home
last modified time | relevance | path

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

/linux-6.15/arch/um/os-Linux/
H A 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.15/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-6.15/tools/include/nolibc/
H A Dcrt.h36 const unsigned long *auxv; in _start_c() local
68 for (auxv = (void *)envp; *auxv++;) in _start_c()
70 _auxv = auxv; in _start_c()
H A Dstdlib.h108 const unsigned long *auxv = _auxv; in getauxval() local
111 if (!auxv) in getauxval()
115 if (!auxv[0] && !auxv[1]) { in getauxval()
120 if (auxv[0] == type) { in getauxval()
121 ret = auxv[1]; in getauxval()
125 auxv += 2; in getauxval()
/linux-6.15/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-6.15/tools/perf/tests/shell/attr/
H A Dtest-record-user-regs-no-sve-aarch649 auxv = auxv["AT_HWCAP"] & 0x400000 == 0
H A Dtest-record-user-regs-sve-aarch649 auxv = auxv["AT_HWCAP"] & 0x400000 == 0x400000
/linux-6.15/tools/perf/tests/shell/lib/
H A Dattr.py173 self.auxv = parser.get('config', 'auxv', fallback=None)
210 if not self.auxv:
212 auxv = subprocess.check_output("LD_SHOW_AUXV=1 sleep 0", shell=True) \
215 auxv = dict([new_auxv(a, pattern) for a in auxv.splitlines()])
216 return not eval(self.auxv)
/linux-6.15/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-6.15/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-6.15/Documentation/arch/x86/
H A Delf_auxvec.rst16 #include <sys/auxv.h>
/linux-6.15/tools/include/uapi/linux/
H A Dprctl.h146 __u64 *auxv; /* auxiliary vector */ member
/linux-6.15/include/uapi/linux/
H A Dprctl.h146 __u64 *auxv; /* auxiliary vector */ member
/linux-6.15/tools/perf/trace/beauty/include/uapi/linux/
H A Dprctl.h146 __u64 *auxv; /* auxiliary vector */ member
/linux-6.15/fs/
H A Dbinfmt_elf.c1623 elf_addr_t *auxv = (elf_addr_t *) mm->saved_auxv; in fill_auxv_note() local
1627 while (auxv[i - 2] != AT_NULL); in fill_auxv_note()
1628 fill_note(note, NN_AUXV, NT_AUXV, i * sizeof(elf_addr_t), auxv); in fill_auxv_note()
1748 struct memelfnote auxv; member
1949 fill_auxv_note(&info->auxv, current->mm); in fill_note_info()
1950 info->size += notesize(&info->auxv); in fill_note_info()
1978 if (first && !writenote(&info->auxv, cprm)) in write_note_info()
H A Dbinfmt_elf_fdpic.c1479 elf_addr_t *auxv; in elf_fdpic_core_dump() local
1537 auxv = (elf_addr_t *) current->mm->saved_auxv; in elf_fdpic_core_dump()
1541 while (auxv[i - 2] != AT_NULL); in elf_fdpic_core_dump()
1542 fill_note(&auxv_note, NN_AUXV, NT_AUXV, i * sizeof(elf_addr_t), auxv); in elf_fdpic_core_dump()
/linux-6.15/tools/testing/selftests/powerpc/include/
H A Dutils.h38 void *find_auxv_entry(int type, char *auxv);
/linux-6.15/Documentation/arch/x86/x86_64/
H A Dfsgs.rst110 #include <sys/auxv.h>
/linux-6.15/Documentation/arch/arm64/
H A Dcpu-feature-registers.rst383 #include <sys/auxv.h>
H A Dmemory-tagging-extension.rst265 #include <sys/auxv.h>
/linux-6.15/kernel/
H A Dsys.c2040 if (!prctl_map.auxv || in prctl_set_mm_map()
2046 (const void __user *)prctl_map.auxv, in prctl_set_mm_map()
2155 .auxv = NULL, in prctl_set_mm()