| /linux/tools/testing/selftests/arm64/abi/ |
| H A D | syscall-abi.c | 244 !(getauxval(AT_HWCAP2) & HWCAP2_SME_FA64)) { in setup_ffr() 269 !(getauxval(AT_HWCAP2) & HWCAP2_SME_FA64)) in check_ffr() 353 if (!(getauxval(AT_HWCAP2) & HWCAP2_SME2)) in check_zt() 477 if (!(getauxval(AT_HWCAP) & HWCAP_SVE)) in sve_count_vls() 503 if (!(getauxval(AT_HWCAP2) & HWCAP2_SME)) in sme_count_vls() 549 if (getauxval(AT_HWCAP2) & HWCAP2_SME2) in main() 554 if (getauxval(AT_HWCAP2) & HWCAP2_SME_FA64) in main() 556 else if (getauxval(AT_HWCAP2) & HWCAP2_SME) in main()
|
| /linux/lib/raid6/ |
| H A D | loongarch.h | 33 #define cpu_has_lsx (getauxval(AT_HWCAP) & HWCAP_LOONGARCH_LSX) 34 #define cpu_has_lasx (getauxval(AT_HWCAP) & HWCAP_LOONGARCH_LASX)
|
| H A D | rvv.h | 17 #define has_vector() (getauxval(AT_HWCAP) & COMPAT_HWCAP_ISA_V)
|
| /linux/tools/testing/selftests/vDSO/ |
| H A D | vdso_standalone_test_x86.c | 29 unsigned long sysinfo_ehdr = getauxval(AT_SYSINFO_EHDR); in main() 35 vdso_init_from_sysinfo_ehdr(getauxval(AT_SYSINFO_EHDR)); in main()
|
| H A D | vdso_test_getcpu.c | 30 sysinfo_ehdr = getauxval(AT_SYSINFO_EHDR); in main() 36 vdso_init_from_sysinfo_ehdr(getauxval(AT_SYSINFO_EHDR)); in main()
|
| H A D | vdso_test_gettimeofday.c | 29 unsigned long sysinfo_ehdr = getauxval(AT_SYSINFO_EHDR); in main() 35 vdso_init_from_sysinfo_ehdr(getauxval(AT_SYSINFO_EHDR)); in main()
|
| H A D | vdso_test_chacha.c | 18 return getauxval(AT_HWCAP) & HWCAP_ASIMD; in cpu_has_capabilities() 23 return getauxval(AT_HWCAP) & HWCAP_S390_VXRS; in cpu_has_capabilities()
|
| H A D | vdso_test_abi.c | 268 unsigned long sysinfo_ehdr = getauxval(AT_SYSINFO_EHDR); 282 vdso_init_from_sysinfo_ehdr(getauxval(AT_SYSINFO_EHDR));
|
| /linux/tools/testing/selftests/arm64/pauth/ |
| H A D | pac.c | 26 unsigned long hwcaps = getauxval(AT_HWCAP); \ 33 unsigned long hwcaps = getauxval(AT_HWCAP); \ 261 unsigned long hwcaps = getauxval(AT_HWCAP); in TEST() 304 unsigned long hwcaps = getauxval(AT_HWCAP); in TEST()
|
| H A D | exec_target.c | 26 hwcaps = getauxval(AT_HWCAP); in main()
|
| /linux/tools/testing/selftests/arm64/mte/ |
| H A D | check_prctl.c | 71 if ((getauxval(AT_HWCAP2) & hwcap2) != hwcap2) { in set_mode_test() 76 if ((getauxval(AT_HWCAP3) & hwcap3) != hwcap3) { in set_mode_test()
|
| H A D | mte_common_util.c | 365 unsigned long hwcaps2 = getauxval(AT_HWCAP2); in mte_default_setup() 366 unsigned long hwcaps3 = getauxval(AT_HWCAP3); in mte_default_setup()
|
| /linux/tools/testing/selftests/arm64/fp/ |
| H A D | sve-ptrace.c | 809 if (!(getauxval(vec_types[i].hwcap_type) & vec_types[i].hwcap)) { in do_parent() 820 if (getauxval(vec_types[i].hwcap_type) & vec_types[i].hwcap) { in do_parent() 830 if (getauxval(vec_types[i].hwcap_type) & vec_types[i].hwcap) { in do_parent() 840 if (getauxval(vec_types[i].hwcap_type) & vec_types[i].hwcap) { in do_parent() 855 if (getauxval(vec_types[i].hwcap_type) & in do_parent() 882 if (!(getauxval(AT_HWCAP) & HWCAP_SVE) && in do_parent() 883 (getauxval(AT_HWCAP2) & HWCAP2_SME)) { in do_parent()
|
| H A D | sve-probe-vls.c | 28 if (!(getauxval(AT_HWCAP) & HWCAP_SVE)) in main()
|
| H A D | fp-stress.c | 480 if (getauxval(AT_HWCAP) & HWCAP_SVE) { in main() 487 if (getauxval(AT_HWCAP2) & HWCAP2_SME) { in main() 494 if (getauxval(AT_HWCAP2) & HWCAP2_SME2) { in main()
|
| H A D | vlset.c | 118 if (!(getauxval(AT_HWCAP) & HWCAP_SVE)) { in main()
|
| /linux/tools/testing/selftests/rseq/ |
| H A D | rseq.c | 144 auxv_rseq_align = getauxval(AT_RSEQ_ALIGN); in get_rseq_kernel_feature_size() 147 auxv_rseq_feature_size = getauxval(AT_RSEQ_FEATURE_SIZE); in get_rseq_kernel_feature_size()
|
| /linux/tools/include/nolibc/sys/ |
| H A D | auxv.h | 18 unsigned long getauxval(unsigned long type) in getauxval() function
|
| /linux/tools/testing/selftests/capabilities/ |
| H A D | validate_cap.c | 42 if (getauxval(AT_SECURE)) in main()
|
| /linux/tools/testing/selftests/arm64/signal/testcases/ |
| H A D | tpidr2_siginfo.c | 48 have_sme = getauxval(AT_HWCAP2) & HWCAP2_SME; in tpidr2_present()
|
| H A D | fpmr_siginfo.c | 48 have_fpmr = getauxval(AT_HWCAP2) & HWCAP2_FPMR; in fpmr_present()
|
| H A D | poe_siginfo.c | 48 have_poe = getauxval(AT_HWCAP2) & HWCAP2_POE; in poe_present()
|
| /linux/tools/testing/selftests/kvm/arm64/ |
| H A D | host_sve.c | 120 if (!(getauxval(AT_HWCAP) & HWCAP_SVE)) { in main()
|
| /linux/tools/testing/selftests/x86/ |
| H A D | test_mremap_vdso.c | 117 auxval = getauxval(AT_SYSINFO_EHDR); in main()
|
| /linux/Documentation/arch/x86/ |
| H A D | elf_auxvec.rst | 33 ss.ss_size = getauxval(AT_MINSIGSTKSZ) + SIGSTKSZ;
|