Home
last modified time | relevance | path

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

/include/linux/
A 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)
A Dcpumask.h66 #if NR_CPUS <= BITS_PER_LONG
69 #elif NR_CPUS <= 4*BITS_PER_LONG
254 #if NR_CPUS == 1
1107 #if NR_CPUS == 1
1183 #if NR_CPUS > 1
1275 #if NR_CPUS <= BITS_PER_LONG
1278 [BITS_TO_LONGS(NR_CPUS)-1] = BITMAP_LAST_WORD_MASK(NR_CPUS) \
1286 [BITS_TO_LONGS(NR_CPUS)-1] = BITMAP_LAST_WORD_MASK(NR_CPUS) \
1353 #if NR_CPUS <= BITS_PER_LONG
1356 [BITS_TO_LONGS(NR_CPUS)-1] = BITMAP_LAST_WORD_MASK(NR_CPUS) \
[all …]
A Dblockgroup_lock.h14 #define NR_BG_LOCKS (4 << ilog2(NR_CPUS < 32 ? NR_CPUS : 32))
A Dcpumask_types.h9 typedef struct cpumask { DECLARE_BITMAP(bits, NR_CPUS); } cpumask_t;
A Dthreads.h21 #define NR_CPUS CONFIG_NR_CPUS macro
A Dpstore.h224 #if NR_CPUS <= 2 && defined(CONFIG_ARM_THUMB)
226 #elif NR_CPUS <= 4 && defined(CONFIG_ARM)
A Darch_topology.h74 extern struct cpu_topology cpu_topology[NR_CPUS];
A Dkernfs.h63 #define NR_KERNFS_LOCK_BITS (2 * (ilog2(NR_CPUS < 32 ? NR_CPUS : 32)))
A Dworkqueue.h92 WORK_CPU_UNBOUND = NR_CPUS,
/include/net/
A Dbusy_poll.h25 #define MIN_NAPI_ID ((unsigned int)(NR_CPUS + 1))
/include/asm-generic/
A Dpercpu.h32 extern unsigned long __per_cpu_offset[NR_CPUS];

Completed in 18 milliseconds