Symbol: static_cpu_has
arch/um/include/asm/cpufeature.h
129
#define static_cpu_has_bug(bit) static_cpu_has((bit))
arch/um/include/asm/cpufeature.h
52
(__builtin_constant_p(bit) && DISABLED_MASK_BIT_SET(bit) ? 0 : static_cpu_has(bit))
arch/x86/events/amd/core.c
1389
return static_cpu_has(X86_FEATURE_BRS) && x86_pmu.lbr_nr ?
arch/x86/events/intel/core.c
6077
if (!static_cpu_has(X86_FEATURE_ARCH_LBR) && x86_pmu.lbr_nr)
arch/x86/events/intel/lbr.c
111
if (static_cpu_has(X86_FEATURE_ARCH_LBR))
arch/x86/events/intel/lbr.c
1126
if (static_cpu_has(X86_FEATURE_ARCH_LBR)) {
arch/x86/events/intel/lbr.c
1234
if (static_cpu_has(X86_FEATURE_ARCH_LBR) &&
arch/x86/events/intel/lbr.c
1281
if (static_cpu_has(X86_FEATURE_ARCH_LBR) ||
arch/x86/events/intel/lbr.c
140
if (!static_cpu_has(X86_FEATURE_ARCH_LBR) && !pmi && cpuc->lbr_sel)
arch/x86/events/intel/lbr.c
146
if (!static_cpu_has(X86_FEATURE_ARCH_LBR))
arch/x86/events/intel/lbr.c
161
if (static_cpu_has(X86_FEATURE_ARCH_LBR))
arch/x86/events/intel/lbr.c
202
if (!static_cpu_has(X86_FEATURE_ARCH_LBR) && cpuc->lbr_select)
arch/x86/events/intel/lbr.c
420
if (static_cpu_has(X86_FEATURE_ARCH_LBR))
arch/x86/events/intel/lbr.c
626
if (!static_cpu_has(X86_FEATURE_ARCH_LBR))
arch/x86/events/intel/lbr.c
645
if (!static_cpu_has(X86_FEATURE_ARCH_LBR))
arch/x86/events/intel/lbr.c
732
if (static_cpu_has(X86_FEATURE_ARCH_LBR))
arch/x86/events/intel/lbr.c
891
if (static_cpu_has(X86_FEATURE_ARCH_LBR) &&
arch/x86/events/perf_event.h
1170
if (static_cpu_has(X86_FEATURE_ARCH_LBR))
arch/x86/include/asm/archrandom.h
48
return max_longs && static_cpu_has(X86_FEATURE_RDRAND) && rdrand_long(v) ? 1 : 0;
arch/x86/include/asm/archrandom.h
53
return max_longs && static_cpu_has(X86_FEATURE_RDSEED) && rdseed_long(v) ? 1 : 0;
arch/x86/include/asm/cpufeature.h
130
#define static_cpu_has_bug(bit) static_cpu_has((bit))
arch/x86/include/asm/cpufeature.h
72
(__builtin_constant_p(bit) && DISABLED_MASK_BIT_SET(bit) ? 0 : static_cpu_has(bit))
arch/x86/include/asm/debugreg.h
132
if (static_cpu_has(X86_FEATURE_HYPERVISOR) && !hw_breakpoint_active())
arch/x86/include/asm/pgtable.h
1470
if (!static_cpu_has(X86_FEATURE_PTI))
arch/x86/include/asm/pgtable.h
922
if (!static_cpu_has(X86_FEATURE_PTI))
arch/x86/include/asm/sync_core.h
64
if (static_cpu_has(X86_FEATURE_SERIALIZE)) {
arch/x86/include/asm/sync_core.h
99
if (static_cpu_has(X86_FEATURE_PTI))
arch/x86/kernel/apic/apic_numachip.c
34
if (static_cpu_has(X86_FEATURE_NODEID_MSR)) {
arch/x86/kernel/cpu/bugs.c
194
if (!static_cpu_has(X86_FEATURE_LS_CFG_SSBD) &&
arch/x86/kernel/cpu/bugs.c
195
!static_cpu_has(X86_FEATURE_VIRT_SSBD))
arch/x86/kernel/cpu/bugs.c
203
if (static_cpu_has(X86_FEATURE_SPEC_STORE_BYPASS_DISABLE))
arch/x86/kernel/cpu/bugs.c
2460
if (!static_cpu_has(X86_FEATURE_SPEC_CTRL_SSBD) &&
arch/x86/kernel/cpu/bugs.c
2461
!static_cpu_has(X86_FEATURE_AMD_SSBD)) {
arch/x86/kernel/cpu/cacheinfo.c
657
if (!static_cpu_has(X86_FEATURE_SELFSNOOP))
arch/x86/kernel/fpu/core.c
882
if (!static_cpu_has(X86_FEATURE_FPU))
arch/x86/kernel/fpu/signal.c
185
if (!static_cpu_has(X86_FEATURE_FPU)) {
arch/x86/kernel/ldt.c
64
if (static_cpu_has(X86_FEATURE_PTI)) {
arch/x86/kernel/process.c
581
if (!static_cpu_has(X86_FEATURE_ZEN)) {
arch/x86/kernel/process.c
648
if (static_cpu_has(X86_FEATURE_VIRT_SSBD)) {
arch/x86/kernel/process.c
651
} else if (static_cpu_has(X86_FEATURE_LS_CFG_SSBD)) {
arch/x86/kernel/process.c
654
} else if (static_cpu_has(X86_FEATURE_SPEC_CTRL_SSBD) ||
arch/x86/kernel/process.c
655
static_cpu_has(X86_FEATURE_AMD_SSBD)) {
arch/x86/kernel/process_64.c
280
if (static_cpu_has(X86_FEATURE_FSGSBASE)) {
arch/x86/kernel/process_64.c
394
if (static_cpu_has(X86_FEATURE_FSGSBASE)) {
arch/x86/kernel/process_64.c
536
if (static_cpu_has(X86_BUG_NULL_SEG)) {
arch/x86/kernel/signal_32.c
360
if (static_cpu_has(X86_FEATURE_XSAVE))
arch/x86/kernel/time.c
85
if (static_cpu_has(X86_FEATURE_WAITPKG))
arch/x86/kernel/traps.c
1478
if (!static_cpu_has(X86_FEATURE_XMM)) {
arch/x86/kernel/traps.c
924
if (static_cpu_has(X86_FEATURE_UMIP)) {
arch/x86/kvm/cpuid.c
1509
if (!enable_pmu || !static_cpu_has(X86_FEATURE_ARCH_PERFMON)) {
arch/x86/kvm/cpuid.c
1750
(static_cpu_has(X86_FEATURE_LFENCE_RDTSC)
arch/x86/kvm/svm/svm.c
1910
static_cpu_has(X86_FEATURE_DECODEASSISTS) ?
arch/x86/kvm/svm/svm.c
1958
static_cpu_has(X86_FEATURE_DECODEASSISTS) ?
arch/x86/kvm/svm/svm.c
2485
if (!static_cpu_has(X86_FEATURE_DECODEASSISTS))
arch/x86/kvm/svm/svm.c
2533
if (!static_cpu_has(X86_FEATURE_DECODEASSISTS))
arch/x86/kvm/svm/svm.c
290
WARN_ON_ONCE(!static_cpu_has(X86_FEATURE_NRIPS));
arch/x86/kvm/svm/svm.c
360
if (static_cpu_has(X86_FEATURE_NRIPS))
arch/x86/kvm/svm/svm.c
4025
if (static_cpu_has(X86_FEATURE_FLUSHBYASID))
arch/x86/kvm/svm/svm.c
4370
if (!static_cpu_has(X86_FEATURE_V_SPEC_CTRL))
arch/x86/kvm/svm/svm.c
4375
if (!static_cpu_has(X86_FEATURE_V_SPEC_CTRL))
arch/x86/kvm/svm/svm.c
4723
if (static_cpu_has(X86_FEATURE_NRIPS))
arch/x86/kvm/svm/svm.c
535
if (static_cpu_has(X86_FEATURE_TSCRATEMSR)) {
arch/x86/kvm/vmx/vmx.c
1834
if (!static_cpu_has(X86_FEATURE_HYPERVISOR) ||
arch/x86/kvm/vmx/vmx.c
414
if (static_cpu_has(X86_FEATURE_FLUSH_L1D)) {
arch/x86/kvm/vmx/vmx.c
8900
if (!static_cpu_has(X86_FEATURE_SELFSNOOP))
arch/x86/kvm/x86.c
1786
if (!static_cpu_has(X86_FEATURE_XSAVES) &&
arch/x86/kvm/x86.c
3203
if (static_cpu_has(X86_FEATURE_CONSTANT_TSC))
arch/x86/kvm/x86.c
3220
(static_cpu_has(X86_FEATURE_CONSTANT_TSC) || __this_cpu_read(cpu_tsc_khz))) {
arch/x86/kvm/xen.c
215
if (!static_cpu_has(X86_FEATURE_CONSTANT_TSC) ||
arch/x86/lib/copy_mc.c
73
if (static_cpu_has(X86_FEATURE_ERMS)) {
arch/x86/lib/copy_mc.c
96
if (static_cpu_has(X86_FEATURE_ERMS)) {
arch/x86/lib/usercopy_32.c
330
if (n > 64 && static_cpu_has(X86_FEATURE_XMM2))
arch/x86/mm/extable.c
197
if (static_cpu_has(X86_BUG_NULL_SEG))
arch/x86/mm/pat/set_memory.c
443
if (cache && !static_cpu_has(X86_FEATURE_CLFLUSH)) {
arch/x86/mm/tlb.c
1608
if (!static_cpu_has(X86_FEATURE_PTI))
arch/x86/mm/tlb.c
1632
if (!static_cpu_has(X86_FEATURE_PTI))
arch/x86/mm/tlb.c
165
if (static_cpu_has(X86_FEATURE_PCID)) {
arch/x86/mm/tlb.c
1661
if (static_cpu_has(X86_FEATURE_INVPCID)) {
arch/x86/mm/tlb.c
200
if (!static_cpu_has(X86_FEATURE_PTI)) {
arch/x86/mm/tlb.c
230
if (!static_cpu_has(X86_FEATURE_PCID)) {
arch/x86/mm/tlb.c
558
if (!static_cpu_has(X86_FEATURE_PTI))
drivers/firewire/ohci.c
310
if (!static_cpu_has(X86_FEATURE_ZEN))
drivers/gpu/drm/drm_cache.c
130
if (static_cpu_has(X86_FEATURE_CLFLUSH)) {
drivers/gpu/drm/drm_cache.c
160
if (static_cpu_has(X86_FEATURE_CLFLUSH)) {
drivers/gpu/drm/drm_cache.c
335
if (static_cpu_has(X86_FEATURE_XMM4_1) &&
drivers/gpu/drm/drm_cache.c
91
if (static_cpu_has(X86_FEATURE_CLFLUSH)) {
drivers/gpu/drm/i915/gem/i915_gem_domain.c
684
!static_cpu_has(X86_FEATURE_CLFLUSH)) {
drivers/gpu/drm/i915/gem/i915_gem_domain.c
735
!static_cpu_has(X86_FEATURE_CLFLUSH)) {
drivers/gpu/drm/i915/i915_memcpy.c
169
if (static_cpu_has(X86_FEATURE_XMM4_1) &&
drivers/md/dm-writecache.c
1230
if (static_cpu_has(X86_FEATURE_CLFLUSHOPT) &&
drivers/platform/x86/intel/speed_select_if/isst_tpmi_core.c
561
if (!static_cpu_has(X86_FEATURE_HWP))
drivers/thermal/intel/therm_throt.c
655
if (static_cpu_has(X86_FEATURE_HWP))