NR_CPUS
Defined as a preprocessor macro in:
Referenced (in 219 files total) in:
- arch/alpha/include/asm/mmu.h, line 6
- arch/alpha/include/asm/smp.h, line 41
- arch/alpha/kernel/core_t2.c, line 413
- arch/alpha/kernel/irq.c, line 61
- arch/alpha/kernel/smp.c, 7 times
- arch/arc/include/asm/highmem.h, line 20
- arch/arc/include/asm/mmu.h, line 14
- arch/arc/kernel/setup.c, line 45
- arch/arc/kernel/smp.c, line 67
- arch/arm/common/bL_switcher.c, 3 times
- arch/arm/include/asm/fixmap.h, line 17
- arch/arm/kernel/cpuidle.c, line 15
- arch/arm/kernel/devtree.c, 2 times
- arch/arm/kernel/setup.c, 5 times
- arch/arm/mach-imx/platsmp.c, 2 times
- arch/arm/mach-omap2/omap-secure.c, line 62
- arch/arm/mach-shmobile/platsmp-apmu.c, line 29
- arch/arm/vfp/vfpmodule.c, 4 times
- arch/arm64/include/asm/kvm_host.h, line 641
- arch/arm64/include/asm/memory.h, line 439
- arch/arm64/include/asm/processor.h, line 284
- arch/arm64/include/asm/smp.h, line 37
- arch/arm64/kernel/acpi_numa.c, 2 times
- arch/arm64/kernel/acpi_parking_protocol.c, line 27
- arch/arm64/kernel/cpu_ops.c, line 23
- arch/arm64/kernel/fpsimd.c, line 1852
- arch/arm64/kernel/setup.c, 2 times
- arch/arm64/kernel/smp.c, 4 times
- arch/arm64/kernel/smp_spin_table.c, line 25
- arch/arm64/kvm/hyp/nvhe/hyp-smp.c, 3 times
- arch/arm64/kvm/hyp/nvhe/psci-relay.c, line 86
- arch/csky/include/asm/fixmap.h, line 19
- arch/csky/kernel/process.c, line 17
- arch/csky/kernel/smp.c, line 186
- arch/hexagon/kernel/smp.c, line 243
- arch/loongarch/include/asm/bootinfo.h, line 27
- arch/loongarch/include/asm/mmu.h, line 12
- arch/loongarch/include/asm/smp.h, 2 times
- arch/loongarch/include/asm/sparsemem.h, line 29
- arch/loongarch/include/asm/vdso/vdso.h, line 18
- arch/loongarch/kernel/acpi.c, 3 times
- arch/loongarch/kernel/cpu-probe.c, 2 times
- arch/loongarch/kernel/env.c, line 54
- arch/loongarch/kernel/hw_breakpoint.c, line 524
- arch/loongarch/kernel/numa.c, 2 times
- arch/loongarch/kernel/setup.c, 2 times
- arch/loongarch/kernel/smp.c, 6 times
- arch/loongarch/kernel/unwind_prologue.c, line 27
- arch/loongarch/mm/tlb.c, line 261
- arch/m68k/kernel/setup_no.c, line 202
- arch/microblaze/kernel/cpu/mb.c, line 140
- arch/mips/cavium-octeon/smp.c, 3 times
- arch/mips/include/asm/fixmap.h, line 55
- arch/mips/include/asm/irq.h, line 22
- arch/mips/include/asm/kvm_host.h, line 351
- arch/mips/include/asm/mach-ip27/topology.h, line 14
- arch/mips/include/asm/mmu.h, line 11
- arch/mips/include/asm/smp.h, line 44
- arch/mips/kernel/cpu-probe.c, line 1838
- arch/mips/kernel/cpu-r3k-probe.c, line 64
- arch/mips/kernel/irq.c, line 29
- arch/mips/kernel/setup.c, 3 times
- arch/mips/kernel/smp-cps.c, 5 times
- arch/mips/kernel/smp.c, 4 times
- arch/mips/kvm/vz.c, 2 times
- arch/mips/lantiq/irq.c, line 64
- arch/mips/loongson64/env.c, 2 times
- arch/mips/mm/c-octeon.c, line 29
- arch/mips/mm/init.c, 2 times
- arch/mips/mm/tlbex.c, line 73
- arch/mips/sgi-ip27/ip27-init.c, line 42
- arch/mips/sgi-ip27/ip27-smp.c, line 44
- arch/mips/sibyte/bcm1480/irq.c, line 163
- arch/mips/sibyte/bcm1480/smp.c, line 134
- arch/mips/sibyte/sb1250/irq.c, line 144
- arch/mips/sibyte/sb1250/smp.c, line 123
- arch/openrisc/include/asm/cpuinfo.h, line 32
- arch/openrisc/kernel/process.c, line 52
- arch/openrisc/kernel/setup.c, line 94
- arch/openrisc/kernel/smp.c, line 67
- arch/openrisc/mm/fault.c, line 32
- arch/parisc/kernel/processor.c, 3 times
- arch/powerpc/include/asm/fixmap.h, line 52
- arch/powerpc/include/asm/irq.h, 5 times
- arch/powerpc/include/asm/kvm_book3s_64.h, line 34
- arch/powerpc/include/asm/kvm_host.h, 2 times
- arch/powerpc/kernel/interrupt.c, line 25
- arch/powerpc/kernel/irq.c, 5 times
- arch/powerpc/kernel/prom_init.c, 4 times
- arch/powerpc/kernel/setup_32.c, 2 times
- arch/powerpc/kernel/setup_64.c, line 831
- arch/powerpc/kernel/smp.c, 3 times
- arch/powerpc/kernel/tau_6xx.c, line 41
- arch/powerpc/kernel/traps.c, 2 times
- arch/powerpc/kvm/book3s_hv_nested.c, line 323
- arch/powerpc/lib/locks.c, 2 times
- arch/powerpc/mm/book3s64/hash_utils.c, 2 times
- arch/powerpc/mm/nohash/mmu_context.c, 2 times
- arch/powerpc/mm/numa.c, line 44
- arch/powerpc/platforms/86xx/mpc86xx_smp.c, 2 times
- arch/powerpc/platforms/cell/cbe_regs.c, line 46
- arch/powerpc/platforms/cell/spu_base.c, 3 times
- arch/powerpc/platforms/powermac/smp.c, 4 times
- arch/powerpc/platforms/pseries/lpar.c, line 170
- arch/powerpc/sysdev/mpic.c, line 631
- arch/powerpc/sysdev/xics/icp-native.c, line 46
- arch/powerpc/xmon/xmon.c, 2 times
- arch/riscv/include/asm/cpufeature.h, line 32
- arch/riscv/include/asm/smp.h, line 25
- arch/riscv/include/asm/vendor_extensions.h, line 27
- arch/riscv/kernel/acpi.c, line 35
- arch/riscv/kernel/acpi_numa.c, 2 times
- arch/riscv/kernel/cpu_ops_spinwait.c, 3 times
- arch/riscv/kernel/cpufeature.c, line 37
- arch/riscv/kernel/smp.c, 3 times
- arch/riscv/kernel/smpboot.c, 3 times
- arch/s390/include/asm/abs_lowcore.h, line 8
- arch/s390/include/asm/topology.h, line 27
- arch/s390/kernel/setup.c, line 174
- arch/s390/kernel/topology.c, line 61
- arch/s390/kernel/vmcore_info.c, line 14
- arch/s390/mm/init.c, line 184
- arch/sh/boards/of-generic.c, line 69
- arch/sh/include/asm/fixmap.h, line 51
- arch/sh/include/asm/mmu.h, line 42
- arch/sh/include/asm/smp.h, 2 times
- arch/sh/include/asm/topology.h, line 22
- arch/sh/kernel/cpu/proc.c, line 135
- arch/sh/kernel/cpu/sh2/smp-j2.c, line 73
- arch/sh/kernel/cpu/sh4/sq.c, line 257
- arch/sh/kernel/cpu/sh4a/smp-shx3.c, line 60
- arch/sh/kernel/irq.c, 4 times
- arch/sh/kernel/setup.c, line 54
- arch/sh/kernel/smp.c, 2 times
- arch/sh/kernel/topology.c, line 18
- arch/sparc/include/asm/irq_64.h, 2 times
- arch/sparc/include/asm/ptrace.h, line 61
- arch/sparc/include/asm/smp_32.h, line 32
- arch/sparc/include/asm/smp_64.h, line 35
- arch/sparc/include/asm/switch_to_32.h, line 7
- arch/sparc/include/asm/topology_64.h, 3 times
- arch/sparc/include/asm/trap_block.h, 2 times
- arch/sparc/include/asm/vaddrs.h, line 41
- arch/sparc/kernel/cpumap.c, line 59
- arch/sparc/kernel/irq_64.c, 3 times
- arch/sparc/kernel/leon_smp.c, 6 times
- arch/sparc/kernel/mdesc.c, 7 times
- arch/sparc/kernel/process_32.c, line 67
- arch/sparc/kernel/process_64.c, line 188
- arch/sparc/kernel/prom_64.c, 3 times
- arch/sparc/kernel/setup_64.c, 3 times
- arch/sparc/kernel/smp_32.c, 6 times
- arch/sparc/kernel/smp_64.c, 6 times
- arch/sparc/kernel/sun4d_smp.c, 4 times
- arch/sparc/kernel/traps_64.c, 5 times
- arch/sparc/mm/init_64.c, 5 times
- arch/um/kernel/process.c, 2 times
- arch/um/os-Linux/skas/process.c, line 256
- arch/x86/include/asm/cpumask.h, line 13
- arch/x86/include/asm/fixmap.h, line 103
- arch/x86/include/asm/irq_vectors.h, line 130
- arch/x86/include/asm/percpu.h, 4 times
- arch/x86/include/asm/pgtable_32_areas.h, line 27
- arch/x86/include/asm/pgtable_areas.h, line 16
- arch/x86/kernel/cpu/microcode/core.c, line 61
- arch/x86/kernel/cpu/topology.c, 2 times
- arch/x86/kernel/cpuid.c, 3 times
- arch/x86/kernel/kgdb.c, line 494
- arch/x86/kernel/msr.c, 3 times
- arch/x86/kernel/nmi_selftest.c, line 29
- arch/x86/kernel/setup_percpu.c, 4 times
- arch/x86/kernel/vsmp_64.c, line 107
- arch/x86/xen/mmu_pv.c, line 1277
- arch/xtensa/include/asm/fixmap.h, line 25
- arch/xtensa/include/asm/mmu.h, line 17
- arch/xtensa/kernel/smp.c, 2 times
- fs/gfs2/rgrp.c, line 1888
- include/asm-generic/percpu.h, line 19
- include/linux/arch_topology.h, line 85
- include/linux/blockgroup_lock.h, 2 times
- include/linux/cpumask.h, 32 times
- include/linux/cpumask_types.h, line 9
- include/linux/kernfs.h, 2 times
- include/linux/mm_types_task.h, line 19
- include/linux/pstore.h, 2 times
- include/linux/rcu_node_tree.h, 11 times
- include/linux/threads.h, line 21
- include/linux/workqueue.h, line 91
- include/net/busy_poll.h, line 25
- init/init_task.c, line 81
- kernel/bpf/cpumap.c, line 95
- kernel/cgroup/cpuset.c, 3 times
- kernel/cpu.c, 2 times
- kernel/debug/debug_core.c, line 65
- kernel/debug/gdbstub.c, line 437
- kernel/debug/kdb/kdb_main.c, line 2193
- kernel/rcu/rcutorture.c, line 141
- kernel/rcu/tree.c, line 5494
- kernel/rcu/tree_plugin.h, 3 times
- kernel/relay.c, line 732
- kernel/sched/fair.c, line 10509
- kernel/smp.c, 4 times
- kernel/taskstats.c, line 30
- kernel/torture.c, line 184
- kernel/trace/ring_buffer.c, 2 times
- kernel/trace/trace_kdb.c, line 114
- kernel/watchdog.c, line 1110
- lib/nmi_backtrace.c, line 25
- mm/percpu.c, 14 times
- mm/slub.c, line 6040
- mm/vmalloc.c, line 2470
- net/bridge/netfilter/ebtables.c, 2 times
- net/core/dev.c, 2 times
- net/iucv/iucv.c, 3 times
- net/netfilter/ipvs/ip_vs_ctl.c, line 2248
- tools/perf/trace/beauty/arch/x86/include/asm/irq_vectors.h, line 130
- tools/testing/selftests/bpf/bpf_arena_alloc.h, 3 times
- tools/testing/selftests/bpf/progs/bpf_hashmap_lookup.c, 5 times
- tools/testing/selftests/livepatch/test_modules/test_klp_syscall.c, line 30
kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.