Searched refs:NR_CPUS (Results 1 – 10 of 10) sorted by relevance
/include/linux/ |
D | rcu_node_tree.h | 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_2) 83 # define NUM_RCU_LVL_3 DIV_ROUND_UP(NR_CPUS, RCU_FANOUT_1)
|
D | cpumask.h | 17 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 …]
|
D | blockgroup_lock.h | 14 #define NR_BG_LOCKS (4 << ilog2(NR_CPUS < 32 ? NR_CPUS : 32))
|
D | threads.h | 21 #define NR_CPUS CONFIG_NR_CPUS macro
|
D | pstore.h | 220 #if NR_CPUS <= 2 && defined(CONFIG_ARM_THUMB) 222 #elif NR_CPUS <= 4 && defined(CONFIG_ARM)
|
D | mm_types_task.h | 22 #define USE_SPLIT_PTE_PTLOCKS (NR_CPUS >= CONFIG_SPLIT_PTLOCK_CPUS)
|
D | arch_topology.h | 76 extern struct cpu_topology cpu_topology[NR_CPUS];
|
D | workqueue.h | 58 WORK_CPU_UNBOUND = NR_CPUS,
|
/include/net/ |
D | busy_poll.h | 24 #define MIN_NAPI_ID ((unsigned int)(NR_CPUS + 1))
|
/include/asm-generic/ |
D | percpu.h | 19 extern unsigned long __per_cpu_offset[NR_CPUS];
|