/linux/tools/testing/selftests/arm64/abi/ |
H A D | hwcap.c | 597 .at_hwcap = AT_HWCAP, 604 .at_hwcap = AT_HWCAP, 611 .at_hwcap = AT_HWCAP, 665 .at_hwcap = AT_HWCAP, 672 .at_hwcap = AT_HWCAP, 686 .at_hwcap = AT_HWCAP, 701 .at_hwcap = AT_HWCAP, 708 .at_hwcap = AT_HWCAP, 716 .at_hwcap = AT_HWCAP, 723 .at_hwcap = AT_HWCAP, [all...] |
H A D | syscall-abi.c | 477 if (!(getauxval(AT_HWCAP) & HWCAP_SVE)) in sve_count_vls()
|
/linux/Documentation/translations/zh_CN/arch/arm64/ |
H A D | elf_hwcaps.rst | 21 用户空间软件可以通过获取辅助向量的 AT_HWCAP 或 AT_HWCAP2 条目来测试功能, 26 unsigned long hwcaps = getauxval(AT_HWCAP); 58 3. AT_HWCAP 中揭示的 hwcaps 237 4. 未使用的 AT_HWCAP 位 240 为了与用户空间交互,内核保证 AT_HWCAP 的第62、63位将始终返回0。
|
/linux/Documentation/translations/zh_TW/arch/arm64/ |
H A D | elf_hwcaps.rst | 24 用戶空間軟件可以通過獲取輔助向量的 AT_HWCAP 或 AT_HWCAP2 條目來測試功能, 29 unsigned long hwcaps = getauxval(AT_HWCAP); 61 3. AT_HWCAP 中揭示的 hwcaps 240 4. 未使用的 AT_HWCAP 位 243 爲了與用戶空間交互,內核保證 AT_HWCAP 的第62、63位將始終返回0。
|
/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)
|
/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 | 21 hwcaps = getauxval(AT_HWCAP); in main()
|
/linux/tools/testing/selftests/vDSO/ |
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()
|
/linux/tools/testing/selftests/arm64/signal/ |
H A D | test_signals_utils.c | 332 if (getauxval(AT_HWCAP) & HWCAP_SSBS) in test_init() 334 if (getauxval(AT_HWCAP) & HWCAP_SVE) in test_init() 342 if (getauxval(AT_HWCAP) & HWCAP_GCS) in test_init()
|
H A D | test_signals.c | 30 if (getauxval(AT_HWCAP) & HWCAP_GCS) in main()
|
/linux/tools/perf/tests/shell/attr/ |
H A D | test-record-user-regs-no-sve-aarch64 | 9 auxv = auxv["AT_HWCAP"] & 0x400000 == 0
|
H A D | test-record-user-regs-sve-aarch64 | 9 auxv = auxv["AT_HWCAP"] & 0x400000 == 0x400000
|
/linux/tools/testing/selftests/arm64/fp/ |
H A D | sve-probe-vls.c | 28 if (!(getauxval(AT_HWCAP) & HWCAP_SVE)) in main()
|
H A D | vlset.c | 118 if (!(getauxval(AT_HWCAP) & HWCAP_SVE)) { in main()
|
H A D | fp-stress.c | 480 if (getauxval(AT_HWCAP) & HWCAP_SVE) { in main()
|
H A D | vec-syscfg.c | 49 .hwcap_type = AT_HWCAP,
|
/linux/arch/um/os-Linux/ |
H A D | elf_aux.c | 48 case AT_HWCAP: in scan_elf_aux()
|
/linux/Documentation/arch/arm64/ |
H A D | elf_hwcaps.rst | 19 Userspace software can test for features by acquiring the AT_HWCAP, 25 unsigned long hwcaps = getauxval(AT_HWCAP); 66 3. The hwcaps exposed in AT_HWCAP 444 4. Unused AT_HWCAP bits 448 and 63 of AT_HWCAP will always be returned as 0.
|
/linux/tools/testing/selftests/kvm/arm64/ |
H A D | host_sve.c | 120 if (!(getauxval(AT_HWCAP) & HWCAP_SVE)) { in main()
|
/linux/Documentation/arch/powerpc/ |
H A D | elf_hwcaps.rst | 19 Userspace software can test for features by acquiring the AT_HWCAP or 25 unsigned long HWCAPs = getauxval(AT_HWCAP); 70 5. The HWCAPs exposed in AT_HWCAP
|
/linux/tools/testing/selftests/arm64/gcs/ |
H A D | gcs-locking.c | 185 if (!(getauxval(AT_HWCAP) & HWCAP_GCS)) in main()
|
H A D | gcs-stress.c | 377 if (getauxval(AT_HWCAP) & HWCAP_GCS) { in main()
|
H A D | libc-gcs.c | 700 if (!(getauxval(AT_HWCAP) & HWCAP_GCS)) in main()
|
/linux/tools/testing/selftests/arm64/bti/ |
H A D | test.c | 175 case AT_HWCAP: in start()
|
/linux/tools/perf/arch/arm64/util/ |
H A D | perf_regs.c | 161 if (getauxval(AT_HWCAP) & HWCAP_SVE) in arch__user_reg_mask()
|