Symbol: CONFIG_NR_CPUS
arch/arm/mach-shmobile/platsmp-apmu.c
219
for (bit = 0; bit < CONFIG_NR_CPUS; bit++) {
arch/arm/mach-shmobile/platsmp-apmu.c
233
for (bit = 0; bit < CONFIG_NR_CPUS; bit++) {
arch/arm/mach-zynq/platsmp.c
99
for (i = 0; i < ncores && i < CONFIG_NR_CPUS; i++)
arch/loongarch/include/asm/numa.h
22
extern s16 __cpuid_to_node[CONFIG_NR_CPUS];
arch/loongarch/kernel/acpi.c
275
if (pa->apic_id >= CONFIG_NR_CPUS) {
arch/loongarch/kernel/acpi.c
309
if (pa->apic_id >= CONFIG_NR_CPUS) {
arch/loongarch/kernel/numa.c
38
s16 __cpuid_to_node[CONFIG_NR_CPUS] = {
arch/loongarch/kernel/numa.c
39
[0 ... CONFIG_NR_CPUS - 1] = NUMA_NO_NODE
arch/powerpc/include/asm/qspinlock_types.h
49
#if CONFIG_NR_CPUS > (1U << _Q_OWNER_CPU_BITS)
arch/powerpc/include/asm/qspinlock_types.h
68
#if CONFIG_NR_CPUS >= (1U << _Q_TAIL_CPU_BITS)
arch/powerpc/lib/qspinlock.c
538
BUILD_BUG_ON(CONFIG_NR_CPUS >= (1U << _Q_TAIL_CPU_BITS));
arch/powerpc/platforms/pseries/svm.c
68
#define NR_DTL_PAGE (DISPATCH_LOG_BYTES * CONFIG_NR_CPUS / PAGE_SIZE)
arch/sh/kernel/cpu/sh2/entry.S
344
#ifdef CONFIG_NR_CPUS
arch/um/os-Linux/smp.c
29
static pthread_t cpu_threads[CONFIG_NR_CPUS];
arch/um/os-Linux/time.c
22
static timer_t event_high_res_timer[CONFIG_NR_CPUS] = { 0 };
arch/x86/include/asm/fixmap.h
28
# define KM_PMDS (KM_MAX_IDX * ((CONFIG_NR_CPUS + 511) / 512))
arch/x86/kernel/apic/vector.c
1359
show_lapic = CONFIG_NR_CPUS;
arch/x86/kernel/espfix_64.c
48
#if CONFIG_NR_CPUS > ESPFIX_MAX_CPUS
arch/x86/kernel/espfix_64.c
62
#define ESPFIX_MAX_PAGES DIV_ROUND_UP(CONFIG_NR_CPUS, ESPFIX_STACKS_PER_PAGE)
drivers/leds/trigger/ledtrig-cpu.c
141
BUILD_BUG_ON(CONFIG_NR_CPUS > 9999);
include/asm-generic/qspinlock_types.h
74
#if CONFIG_NR_CPUS < (1U << 14)
include/linux/threads.h
15
#ifndef CONFIG_NR_CPUS
include/linux/threads.h
21
#define NR_CPUS CONFIG_NR_CPUS
kernel/bounds.c
23
DEFINE(NR_CPUS_BITS, order_base_2(CONFIG_NR_CPUS));
kernel/bpf/rqspinlock.c
346
BUILD_BUG_ON(CONFIG_NR_CPUS >= (1U << _Q_TAIL_CPU_BITS));
kernel/debug/kdb/kdb_main.c
2149
if ((cpunum >= CONFIG_NR_CPUS) || !kgdb_info[cpunum].enter_kgdb)
kernel/locking/qspinlock.c
136
BUILD_BUG_ON(CONFIG_NR_CPUS >= (1U << _Q_TAIL_CPU_BITS));
kernel/rcu/tasks.h
149
.percpu_enqueue_shift = order_base_2(CONFIG_NR_CPUS), \
kernel/trace/trace_kdb.c
21
static struct ring_buffer_iter *buffer_iter[CONFIG_NR_CPUS];
mm/kasan/quarantine.c
87
(1024 > 4 * CONFIG_NR_CPUS ? 1024 : 4 * CONFIG_NR_CPUS)
tools/testing/selftests/bpf/progs/bpf_arena_spin_lock.h
23
extern unsigned long CONFIG_NR_CPUS __kconfig;
tools/testing/selftests/bpf/progs/bpf_arena_spin_lock.h
497
if (CONFIG_NR_CPUS > 1024)