Home
last modified time | relevance | path

Searched refs:NR_CPUS (Results 1 – 10 of 10) sorted by relevance

/include/linux/
Drcu_node_tree.h54 #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_2)
83 # define NUM_RCU_LVL_3 DIV_ROUND_UP(NR_CPUS, RCU_FANOUT_1)
Dcpumask.h17 typedef struct cpumask { DECLARE_BITMAP(bits, NR_CPUS); } cpumask_t;
36 #if NR_CPUS == 1
47 #define nr_cpumask_bits ((unsigned int)NR_CPUS)
119 #if NR_CPUS == 1
296 [0 ... BITS_TO_LONGS(NR_CPUS)-1] = 0UL \
782 extern const DECLARE_BITMAP(cpu_all_bits, NR_CPUS);
799 bitmap_zero(cpumask_bits(&__cpu_possible_mask), NR_CPUS); in reset_cpu_possible_mask()
867 cpu_bit_bitmap[BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)];
876 #if NR_CPUS > 1
954 #if NR_CPUS <= BITS_PER_LONG
[all …]
Dblockgroup_lock.h14 #define NR_BG_LOCKS (4 << ilog2(NR_CPUS < 32 ? NR_CPUS : 32))
Dthreads.h21 #define NR_CPUS CONFIG_NR_CPUS macro
Dpstore.h220 #if NR_CPUS <= 2 && defined(CONFIG_ARM_THUMB)
222 #elif NR_CPUS <= 4 && defined(CONFIG_ARM)
Dmm_types_task.h22 #define USE_SPLIT_PTE_PTLOCKS (NR_CPUS >= CONFIG_SPLIT_PTLOCK_CPUS)
Darch_topology.h76 extern struct cpu_topology cpu_topology[NR_CPUS];
Dworkqueue.h58 WORK_CPU_UNBOUND = NR_CPUS,
/include/net/
Dbusy_poll.h24 #define MIN_NAPI_ID ((unsigned int)(NR_CPUS + 1))
/include/asm-generic/
Dpercpu.h19 extern unsigned long __per_cpu_offset[NR_CPUS];