Searched refs:NR_CPUS (Results 1 - 25 of 274) sorted by relevance

1234567891011

/linux-master/arch/alpha/include/asm/
H A Dmmu.h6 typedef unsigned long mm_context_t[NR_CPUS];
/linux-master/arch/xtensa/include/asm/
H A Dmmu.h17 unsigned long asid[NR_CPUS];
/linux-master/include/linux/
H A Drcu_node_tree.h26 * Define shape of hierarchy based on NR_CPUS, CONFIG_RCU_FANOUT, and
54 #if NR_CPUS <= RCU_FANOUT_1
61 #elif NR_CPUS <= RCU_FANOUT_2
64 # define NUM_RCU_LVL_1 DIV_ROUND_UP(NR_CPUS, RCU_FANOUT_1)
69 #elif NR_CPUS <= RCU_FANOUT_3
72 # define NUM_RCU_LVL_1 DIV_ROUND_UP(NR_CPUS, RCU_FANOUT_2)
73 # define NUM_RCU_LVL_2 DIV_ROUND_UP(NR_CPUS, RCU_FANOUT_1)
78 #elif NR_CPUS <= RCU_FANOUT_4
81 # define NUM_RCU_LVL_1 DIV_ROUND_UP(NR_CPUS, RCU_FANOUT_3)
82 # define NUM_RCU_LVL_2 DIV_ROUND_UP(NR_CPUS, RCU_FANOUT_
[all...]
H A Dthreads.h21 #define NR_CPUS CONFIG_NR_CPUS macro
H A Dblockgroup_lock.h14 #define NR_BG_LOCKS (4 << ilog2(NR_CPUS < 32 ? NR_CPUS : 32))
H A Dcpumask.h8 * only nr_cpu_ids (<= NR_CPUS) bits are valid.
20 typedef struct cpumask { DECLARE_BITMAP(bits, NR_CPUS); } cpumask_t;
39 #if (NR_CPUS == 1) || defined(CONFIG_FORCE_NR_CPUS)
40 #define nr_cpu_ids ((unsigned int)NR_CPUS)
47 #if (NR_CPUS == 1) || defined(CONFIG_FORCE_NR_CPUS)
60 * the size is constant. So if NR_CPUS fits in one single word, we are
78 #if NR_CPUS <= BITS_PER_LONG
79 #define small_cpumask_bits ((unsigned int)NR_CPUS)
80 #define large_cpumask_bits ((unsigned int)NR_CPUS)
81 #elif NR_CPUS <
1022 bitmap_zero(cpumask_bits(&__cpu_possible_mask), NR_CPUS); local
[all...]
/linux-master/arch/loongarch/include/asm/
H A Dmmu.h12 u64 asid[NR_CPUS];
H A Dsparsemem.h29 #define INIT_MEMBLOCK_RESERVED_REGIONS (INIT_MEMBLOCK_REGIONS + NR_CPUS)
/linux-master/arch/arc/include/asm/
H A Dmmu.h11 #include <linux/threads.h> /* NR_CPUS */
14 unsigned long asid[NR_CPUS]; /* 8 bit MMU PID + Generation cycle */
/linux-master/tools/testing/selftests/fpu/
H A Drun_test_fpu.sh23 NR_CPUS=$(getconf _NPROCESSORS_ONLN)
24 if [ ! $NR_CPUS ]; then
25 NR_CPUS=1
41 for c in $(seq 1 $NR_CPUS); do
/linux-master/arch/powerpc/include/asm/
H A Dirq.h41 extern void *critirq_ctx[NR_CPUS];
42 extern void *dbgirq_ctx[NR_CPUS];
43 extern void *mcheckirq_ctx[NR_CPUS];
49 extern void *hardirq_ctx[NR_CPUS];
50 extern void *softirq_ctx[NR_CPUS];
/linux-master/arch/arm64/kvm/hyp/nvhe/
H A Dhyp-smp.c17 u64 __ro_after_init hyp_cpu_logical_map[NR_CPUS] = { [0 ... NR_CPUS-1] = INVALID_HWID };
26 unsigned long __ro_after_init kvm_arm_hyp_percpu_base[NR_CPUS];
/linux-master/arch/x86/include/asm/
H A Dpgtable_areas.h16 (CPU_ENTRY_AREA_SIZE * NR_CPUS) - \
/linux-master/tools/testing/selftests/bpf/progs/
H A Dbpf_hashmap_lookup.c17 #define NR_CPUS 256 macro
18 #define CPU_MASK (NR_CPUS-1)
23 u32 __attribute__((__aligned__(8))) key[NR_CPUS];
26 u64 __attribute__((__aligned__(256))) percpu_times_index[NR_CPUS];
27 u64 __attribute__((__aligned__(256))) percpu_times[NR_CPUS][NR_SLOTS];
/linux-master/arch/sparc/include/asm/
H A Dtopology_64.h53 extern cpumask_t cpu_core_map[NR_CPUS];
54 extern cpumask_t cpu_core_sib_map[NR_CPUS];
55 extern cpumask_t cpu_core_sib_cache_map[NR_CPUS];
/linux-master/arch/riscv/kernel/
H A Dcpu_ops_spinwait.c17 void *__cpu_spinwait_stack_pointer[NR_CPUS] __section(".data");
18 void *__cpu_spinwait_task_pointer[NR_CPUS] __section(".data");
26 * The hartid must be less than NR_CPUS to avoid out-of-bound access
32 if (hartid == INVALID_HARTID || hartid >= (unsigned long) NR_CPUS)
/linux-master/tools/testing/selftests/arm64/fp/
H A Dfpsimd-stress8 NR_CPUS=`nproc`
43 for x in `seq 0 $((NR_CPUS * 4))`; do
H A Dsve-stress8 NR_CPUS=`nproc`
42 for x in `seq 0 $((NR_CPUS * 4))`; do
H A Dza-stress8 NR_CPUS=`nproc`
42 for x in `seq 0 $((NR_CPUS * 4))`; do
H A Dssve-stress8 NR_CPUS=`nproc`
42 for x in `seq 0 $((NR_CPUS * 4))`; do
/linux-master/arch/mips/include/asm/
H A Dmmu.h11 u64 asid[NR_CPUS];
/linux-master/arch/openrisc/include/asm/
H A Dcpuinfo.h32 extern struct cpuinfo_or1k cpuinfo_or1k[NR_CPUS];
/linux-master/arch/s390/include/asm/
H A Dabs_lowcore.h7 #define ABS_LOWCORE_MAP_SIZE (NR_CPUS * sizeof(struct lowcore))
/linux-master/arch/powerpc/lib/
H A Dlocks.c29 BUG_ON(holder_cpu >= NR_CPUS);
55 BUG_ON(holder_cpu >= NR_CPUS);
/linux-master/arch/sh/include/asm/
H A Dtopology.h22 extern cpumask_t cpu_core_map[NR_CPUS];

Completed in 216 milliseconds

1234567891011