Searched refs:getauxval (Results 1 – 25 of 31) sorted by relevance
12
55 getauxval_function_t getauxval = NULL; in cpuinfo_arm_linux_hwcap_from_getauxval()64 getauxval = (getauxval_function_t) dlsym(libc, "getauxval"); in cpuinfo_arm_linux_hwcap_from_getauxval()65 if (getauxval == NULL) { in cpuinfo_arm_linux_hwcap_from_getauxval()70 *hwcap = getauxval(AT_HWCAP); in cpuinfo_arm_linux_hwcap_from_getauxval()71 *hwcap2 = getauxval(AT_HWCAP2); in cpuinfo_arm_linux_hwcap_from_getauxval()78 return getauxval != NULL; in cpuinfo_arm_linux_hwcap_from_getauxval()81 *hwcap = getauxval(AT_HWCAP); in cpuinfo_arm_linux_hwcap_from_getauxval()82 *hwcap2 = getauxval(AT_HWCAP2); in cpuinfo_arm_linux_hwcap_from_getauxval()152 return (uint32_t) getauxval(AT_HWCAP); in cpuinfo_arm_linux_hwcap_from_getauxval()
20 getauxval_function_t getauxval = (getauxval_function_t) dlsym(libc, "getauxval"); in main() local21 if (getauxval == NULL) { in main()26 printf("AT_HWCAP = 0x%08lX\n", getauxval(AT_HWCAP)); in main()28 printf("AT_HWCAP2 = 0x%08lX\n", getauxval(AT_HWCAP2)); in main()
34 unsigned long getauxval(unsigned long type) __attribute__((weak));167 if (getauxval != NULL) { in OPENSSL_cpuid_setup()168 hwcap = getauxval(AT_HWCAP); in OPENSSL_cpuid_setup()190 if (getauxval != NULL) { in OPENSSL_cpuid_setup()191 hwcap2 = getauxval(AT_HWCAP2); in OPENSSL_cpuid_setup()
31 OPENSSL_ppc64le_hwcap2 = getauxval(AT_HWCAP2); in OPENSSL_cpuid_setup()
30 unsigned long hwcap = getauxval(AT_HWCAP); in OPENSSL_cpuid_setup()
39 unsigned long sysinfo_ehdr = getauxval(AT_SYSINFO_EHDR); in main()45 vdso_init_from_sysinfo_ehdr(getauxval(AT_SYSINFO_EHDR)); in main()
91 unsigned long features = getauxval(AT_HWCAP); in _cpu_check_features()96 unsigned long features = getauxval(AT_HWCAP2); in _cpu_check_features()
108 unsigned long features = getauxval(AT_HWCAP); in _cpu_check_features()113 unsigned long features = getauxval(AT_HWCAP2); in _cpu_check_features()
81 uint32_t hwcaps = getauxval(AT_HWCAP); in read_cpu_features()98 uint32_t hwcaps = getauxval(AT_HWCAP); in read_cpu_features()
26 unsigned long auxv = getauxval(AT_HWCAP); in png_have_vsx()
59 return getauxval(AT_HWCAP) & kLocalHwcapAsimddp; in DetectDotprodByLinuxAuxvMethod()
83 uint32_t hwcaps = getauxval(AT_HWCAP); in read_cpu_features()128 uint32_t hwcaps = getauxval(AT_HWCAP); in read_cpu_features()
49 if (getauxval(AT_SECURE)) in main()
64 return !!(getauxval(AT_HWCAP) & HWCAP_CRC32); in hasHardwareCRC32()
31 return getauxval(AT_HWCAP2) & HWCAP2_MTE; in systemSupportsMemoryTagging()
253 td->minsigstksz = getauxval(AT_MINSIGSTKSZ); in test_init()264 if (getauxval(AT_HWCAP) & HWCAP_SSBS) in test_init()
72 auxval = getauxval(AT_SYSINFO_EHDR); in main()
160 sysinfo = getauxval(AT_SYSINFO); in main()
416 vsyscall32 = (void *)getauxval(AT_SYSINFO); in main()
43 return getauxval(hwcap_type); in GetElfHwcapFromGetauxval()
296 const unsigned long getauxval_ret = getauxval(AT_EXECFN); in DEFINE_STATIC_ONCE()
204 unsigned long auxv = getauxval(AT_HWCAP); // NOLINT(runtime/int) in InferCPUFeaturesFromOS()
113 check_symbol_exists(getauxval "sys/auxv.h" HAVE_STRONG_GETAUXVAL)
147 [getauxval](https://www.gnu.org/software/libc/manual/html_node/Auxiliary-Vector.html)
164 result = static_cast<uint32_t>(getauxval(AT_HWCAP));