Home
last modified time | relevance | path

Searched refs:NCAPINTS (Results 1 – 21 of 21) sorted by relevance

/linux-6.3-rc2/arch/x86/boot/
A Dmkcpustr.c28 for (i = 0; i < NCAPINTS; i++) { in main()
32 if (i == NCAPINTS-1 && j == 31) { in main()
A Dcpucheck.c32 static u32 err_flags[NCAPINTS];
36 static const u32 req_flags[NCAPINTS] =
94 for (i = 0; i < NCAPINTS; i++) { in check_cpuflags()
A Dcpu.c40 for (i = 0; i < NCAPINTS; i++) { in show_cap_strs()
62 for (i = 0; i < NCAPINTS; i++) { in show_cap_strs()
A Dcpuflags.h12 u32 flags[NCAPINTS];
/linux-6.3-rc2/arch/x86/include/asm/
A Dcpufeature.h42 extern const char * const x86_cap_flags[NCAPINTS*32];
100 BUILD_BUG_ON_ZERO(NCAPINTS != 21))
125 BUILD_BUG_ON_ZERO(NCAPINTS != 21))
209 #define MAX_CPU_FEATURES (NCAPINTS * 32)
A Dprocessor.h109 __u32 x86_capability[NCAPINTS + NBUGINTS];
170 extern __u32 cpu_caps_cleared[NCAPINTS + NBUGINTS];
171 extern __u32 cpu_caps_set[NCAPINTS + NBUGINTS];
A Dcpufeatures.h16 #define NCAPINTS 21 /* N 32-bit words worth of info */ macro
446 #define X86_BUG(x) (NCAPINTS*32 + (x))
A Drequired-features.h102 #define REQUIRED_MASK_CHECK BUILD_BUG_ON_ZERO(NCAPINTS != 21)
A Ddisabled-features.h128 #define DISABLED_MASK_CHECK BUILD_BUG_ON_ZERO(NCAPINTS != 21)
/linux-6.3-rc2/arch/um/include/asm/
A Dcpufeature.h12 extern const char * const x86_cap_flags[NCAPINTS*32];
134 #define MAX_CPU_FEATURES (NCAPINTS * 32)
A Dprocessor-generic.h87 __u32 x86_capability[NCAPINTS + NBUGINTS];
/linux-6.3-rc2/arch/x86/kvm/
A Dreverse_cpuid.h15 CPUID_12_EAX = NCAPINTS,
20 NKVMCAPINTS = NR_KVM_CPU_CAPS - NCAPINTS,
A Dcpuid.c560 BUILD_BUG_ON(leaf < NCAPINTS); in kvm_cpu_cap_init_kvm_defined()
570 BUILD_BUG_ON(leaf >= NCAPINTS); in kvm_cpu_cap_mask()
/linux-6.3-rc2/arch/x86/kernel/cpu/
A Dproc.c100 for (i = 0; i < 32*NCAPINTS; i++) in show_cpuinfo()
117 unsigned int bug_bit = 32*NCAPINTS + i; in show_cpuinfo()
A Dcommon.c704 __u32 cpu_caps_cleared[NCAPINTS + NBUGINTS] __aligned(sizeof(unsigned long));
705 __u32 cpu_caps_set[NCAPINTS + NBUGINTS] __aligned(sizeof(unsigned long));
982 for (i = 0; i < NCAPINTS + NBUGINTS; i++) { in apply_forced_caps()
1502 if (bit < NCAPINTS * 32) { in cpu_parse_early_param()
1523 for (bit = 0; bit < 32 * NCAPINTS; bit++) { in cpu_parse_early_param()
1910 for (i = 0; i < NCAPINTS; i++) in identify_cpu()
1914 for (i = NCAPINTS; i < NCAPINTS + NBUGINTS; i++) in identify_cpu()
A Dcpuid-deps.c103 #define MAX_FEATURE_BITS ((NCAPINTS + NBUGINTS) * sizeof(u32) * 8)
/linux-6.3-rc2/tools/arch/x86/include/asm/
A Dcpufeatures.h16 #define NCAPINTS 21 /* N 32-bit words worth of info */ macro
433 #define X86_BUG(x) (NCAPINTS*32 + (x))
A Drequired-features.h102 #define REQUIRED_MASK_CHECK BUILD_BUG_ON_ZERO(NCAPINTS != 21)
A Ddisabled-features.h128 #define DISABLED_MASK_CHECK BUILD_BUG_ON_ZERO(NCAPINTS != 21)
/linux-6.3-rc2/arch/um/kernel/
A Dum_arch.c84 for (i = 0; i < 32*NCAPINTS; i++) in show_cpuinfo()
285 for (i = 0; i < 32*NCAPINTS; i++) { in parse_host_cpu_flags()
/linux-6.3-rc2/arch/x86/kernel/
A Dalternative.c289 BUG_ON(a->cpuid >= (NCAPINTS + NBUGINTS) * 32); in apply_alternatives()

Completed in 42 milliseconds