Home
last modified time | relevance | path

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

/linux-6.3-rc2/arch/um/os-Linux/
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->a_un.a_val; in scan_elf_aux()
/linux-6.3-rc2/tools/testing/selftests/arm64/bti/
A Dtest.c161 } *auxv; in start() local
174 for (auxv = (const struct auxv_entry *)p; auxv->type != AT_NULL; ++auxv) { in start()
175 switch (auxv->type) { in start()
177 hwcap = auxv->val; in start()
180 hwcap2 = auxv->val; in start()
/linux-6.3-rc2/tools/testing/selftests/x86/
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.3-rc2/tools/include/nolibc/
A Dstdlib.h115 const unsigned long *auxv = _auxv; in getauxval() local
118 if (!auxv) in getauxval()
122 if (!auxv[0] && !auxv[1]) { in getauxval()
127 if (auxv[0] == type) { in getauxval()
128 ret = auxv[1]; in getauxval()
132 auxv += 2; in getauxval()
/linux-6.3-rc2/tools/perf/tests/attr/
A Dtest-record-user-regs-no-sve-aarch649 auxv = auxv["AT_HWCAP"] & 0x200000 == 0
A Dtest-record-user-regs-sve-aarch649 auxv = auxv["AT_HWCAP"] & 0x200000 == 0x200000
/linux-6.3-rc2/tools/perf/tests/
A 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.3-rc2/tools/testing/selftests/powerpc/
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.3-rc2/Documentation/sparc/
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.3-rc2/tools/testing/selftests/vDSO/
A Dparse_vdso.h29 void vdso_init_from_auxv(void *auxv);
A Dparse_vdso.c235 void vdso_init_from_auxv(void *auxv) in vdso_init_from_auxv() argument
237 ELF(auxv_t) *elf_auxv = auxv; in vdso_init_from_auxv()
A Dvdso_test_abi.c26 extern void vdso_init_from_auxv(void *auxv);
/linux-6.3-rc2/include/uapi/linux/
A Dprctl.h146 __u64 *auxv; /* auxiliary vector */ member
/linux-6.3-rc2/tools/include/uapi/linux/
A Dprctl.h146 __u64 *auxv; /* auxiliary vector */ member
/linux-6.3-rc2/Documentation/x86/
A Delf_auxvec.rst16 #include <sys/auxv.h>
/linux-6.3-rc2/tools/testing/selftests/powerpc/include/
A Dutils.h31 void *find_auxv_entry(int type, char *auxv);
/linux-6.3-rc2/fs/
A Dbinfmt_elf.c1617 elf_addr_t *auxv = (elf_addr_t *) mm->saved_auxv; in fill_auxv_note() local
1621 while (auxv[i - 2] != AT_NULL); in fill_auxv_note()
1622 fill_note(note, "CORE", NT_AUXV, i * sizeof(elf_addr_t), auxv); in fill_auxv_note()
1739 struct memelfnote auxv; member
1940 fill_auxv_note(&info->auxv, current->mm); in fill_note_info()
1941 info->size += notesize(&info->auxv); in fill_note_info()
1969 if (first && !writenote(&info->auxv, cprm)) in write_note_info()
A Dbinfmt_elf_fdpic.c1477 elf_addr_t *auxv; in elf_fdpic_core_dump() local
1535 auxv = (elf_addr_t *) current->mm->saved_auxv; in elf_fdpic_core_dump()
1539 while (auxv[i - 2] != AT_NULL); in elf_fdpic_core_dump()
1540 fill_note(&auxv_note, "CORE", NT_AUXV, i * sizeof(elf_addr_t), auxv); in elf_fdpic_core_dump()
/linux-6.3-rc2/Documentation/x86/x86_64/
A Dfsgs.rst110 #include <sys/auxv.h>
/linux-6.3-rc2/Documentation/arm64/
A Dcpu-feature-registers.rst365 #include <sys/auxv.h>
A Dmemory-tagging-extension.rst265 #include <sys/auxv.h>
/linux-6.3-rc2/kernel/
A Dsys.c1999 if (!prctl_map.auxv || in prctl_set_mm_map()
2005 (const void __user *)prctl_map.auxv, in prctl_set_mm_map()
2114 .auxv = NULL, in prctl_set_mm()

Completed in 28 milliseconds