Home
last modified time | relevance | path

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

/linux-6.1.9/arch/x86/boot/
Dmkcpustr.c28 for (i = 0; i < NCAPINTS; i++) { in main()
32 if (i == NCAPINTS-1 && j == 31) { in main()
Dcpucheck.c32 static u32 err_flags[NCAPINTS];
36 static const u32 req_flags[NCAPINTS] =
94 for (i = 0; i < NCAPINTS; i++) { in check_cpuflags()
Dcpu.c40 for (i = 0; i < NCAPINTS; i++) { in show_cap_strs()
62 for (i = 0; i < NCAPINTS; i++) { in show_cap_strs()
Dcpuflags.h12 u32 flags[NCAPINTS];
/linux-6.1.9/arch/x86/include/asm/
Dcpufeature.h41 extern const char * const x86_cap_flags[NCAPINTS*32];
98 BUILD_BUG_ON_ZERO(NCAPINTS != 20))
122 BUILD_BUG_ON_ZERO(NCAPINTS != 20))
206 #define MAX_CPU_FEATURES (NCAPINTS * 32)
Drequired-features.h101 #define REQUIRED_MASK_CHECK BUILD_BUG_ON_ZERO(NCAPINTS != 20)
Dcpufeatures.h16 #define NCAPINTS 20 /* N 32-bit words worth of info */ macro
429 #define X86_BUG(x) (NCAPINTS*32 + (x))
Dprocessor.h108 __u32 x86_capability[NCAPINTS + NBUGINTS];
180 extern __u32 cpu_caps_cleared[NCAPINTS + NBUGINTS];
181 extern __u32 cpu_caps_set[NCAPINTS + NBUGINTS];
Ddisabled-features.h114 #define DISABLED_MASK_CHECK BUILD_BUG_ON_ZERO(NCAPINTS != 20)
/linux-6.1.9/arch/um/include/asm/
Dcpufeature.h12 extern const char * const x86_cap_flags[NCAPINTS*32];
134 #define MAX_CPU_FEATURES (NCAPINTS * 32)
Dprocessor-generic.h87 __u32 x86_capability[NCAPINTS + NBUGINTS];
/linux-6.1.9/arch/x86/kvm/
Dreverse_cpuid.h15 CPUID_12_EAX = NCAPINTS,
18 NKVMCAPINTS = NR_KVM_CPU_CAPS - NCAPINTS,
Dcpuid.c549 BUILD_BUG_ON(leaf < NCAPINTS); in kvm_cpu_cap_init_scattered()
559 BUILD_BUG_ON(leaf >= NCAPINTS); in kvm_cpu_cap_mask()
/linux-6.1.9/arch/x86/kernel/cpu/
Dproc.c100 for (i = 0; i < 32*NCAPINTS; i++) in show_cpuinfo()
117 unsigned int bug_bit = 32*NCAPINTS + i; in show_cpuinfo()
Dcommon.c701 __u32 cpu_caps_cleared[NCAPINTS + NBUGINTS] __aligned(sizeof(unsigned long));
702 __u32 cpu_caps_set[NCAPINTS + NBUGINTS] __aligned(sizeof(unsigned long));
960 for (i = 0; i < NCAPINTS + NBUGINTS; i++) { in apply_forced_caps()
1469 if (bit < NCAPINTS * 32) { in cpu_parse_early_param()
1490 for (bit = 0; bit < 32 * NCAPINTS; bit++) { in cpu_parse_early_param()
1879 for (i = 0; i < NCAPINTS; i++) in identify_cpu()
1883 for (i = NCAPINTS; i < NCAPINTS + NBUGINTS; i++) in identify_cpu()
Dcpuid-deps.c100 #define MAX_FEATURE_BITS ((NCAPINTS + NBUGINTS) * sizeof(u32) * 8)
/linux-6.1.9/tools/arch/x86/include/asm/
Drequired-features.h101 #define REQUIRED_MASK_CHECK BUILD_BUG_ON_ZERO(NCAPINTS != 20)
Dcpufeatures.h16 #define NCAPINTS 20 /* N 32-bit words worth of info */ macro
426 #define X86_BUG(x) (NCAPINTS*32 + (x))
Ddisabled-features.h114 #define DISABLED_MASK_CHECK BUILD_BUG_ON_ZERO(NCAPINTS != 20)
/linux-6.1.9/arch/um/kernel/
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.1.9/arch/x86/kernel/
Dalternative.c290 BUG_ON(feature >= (NCAPINTS + NBUGINTS) * 32); in apply_alternatives()