Searched refs:NR_CPUS (Results 1 – 25 of 25) sorted by relevance
/linux-4.19.296/include/linux/ |
D | rcu_node_tree.h | 65 #if NR_CPUS <= RCU_FANOUT_1 72 #elif NR_CPUS <= RCU_FANOUT_2 75 # define NUM_RCU_LVL_1 DIV_ROUND_UP(NR_CPUS, RCU_FANOUT_1) 80 #elif NR_CPUS <= RCU_FANOUT_3 83 # define NUM_RCU_LVL_1 DIV_ROUND_UP(NR_CPUS, RCU_FANOUT_2) 84 # define NUM_RCU_LVL_2 DIV_ROUND_UP(NR_CPUS, RCU_FANOUT_1) 89 #elif NR_CPUS <= RCU_FANOUT_4 92 # define NUM_RCU_LVL_1 DIV_ROUND_UP(NR_CPUS, RCU_FANOUT_3) 93 # define NUM_RCU_LVL_2 DIV_ROUND_UP(NR_CPUS, RCU_FANOUT_2) 94 # define NUM_RCU_LVL_3 DIV_ROUND_UP(NR_CPUS, RCU_FANOUT_1)
|
D | cpumask.h | 16 typedef struct cpumask { DECLARE_BITMAP(bits, NR_CPUS); } cpumask_t; 35 #if NR_CPUS == 1 46 #define nr_cpumask_bits ((unsigned int)NR_CPUS) 98 #if NR_CPUS > 1 132 #if NR_CPUS == 1 296 [0 ... BITS_TO_LONGS(NR_CPUS)-1] = 0UL \ 771 extern const DECLARE_BITMAP(cpu_all_bits, NR_CPUS); 788 bitmap_zero(cpumask_bits(&__cpu_possible_mask), NR_CPUS); in reset_cpu_possible_mask() 855 cpu_bit_bitmap[BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)]; 866 #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 | pstore.h | 214 #if NR_CPUS <= 2 && defined(CONFIG_ARM_THUMB) 216 #elif NR_CPUS <= 4 && defined(CONFIG_ARM)
|
D | threads.h | 21 #define NR_CPUS CONFIG_NR_CPUS macro
|
D | mm_types_task.h | 22 #define USE_SPLIT_PTE_PTLOCKS (NR_CPUS >= CONFIG_SPLIT_PTLOCK_CPUS)
|
D | workqueue.h | 62 WORK_CPU_UNBOUND = NR_CPUS,
|
/linux-4.19.296/lib/ |
D | nmi_backtrace.c | 25 static DECLARE_BITMAP(backtrace_mask, NR_CPUS) __read_mostly;
|
/linux-4.19.296/include/net/ |
D | busy_poll.h | 36 #define MIN_NAPI_ID ((unsigned int)(NR_CPUS + 1))
|
/linux-4.19.296/drivers/edac/ |
D | octeon_edac-pc.c | 26 extern unsigned long long cache_err_dcache[NR_CPUS];
|
/linux-4.19.296/drivers/cpufreq/ |
D | sparc-us3-cpufreq.c | 176 us3_freq_table = kzalloc((NR_CPUS * sizeof(*us3_freq_table)), in us3_freq_init()
|
D | p4-clockmod.c | 52 static int has_N44_O17_errata[NR_CPUS];
|
D | sparc-us2e-cpufreq.c | 328 us2e_freq_table = kzalloc((NR_CPUS * sizeof(*us2e_freq_table)), in us2e_freq_init()
|
D | ia64-acpi-cpufreq.c | 42 static struct cpufreq_acpi_io *acpi_io_data[NR_CPUS];
|
D | e_powersaver.c | 44 static struct eps_cpu_data *eps_cpu[NR_CPUS];
|
/linux-4.19.296/drivers/bus/ |
D | arm-cci.c | 148 static struct cpu_port cpu_port[NR_CPUS];
|
/linux-4.19.296/drivers/irqchip/ |
D | irq-bcm7038-l1.c | 44 struct bcm7038_l1_cpu *cpus[NR_CPUS];
|
D | irq-bcm6345-l1.c | 84 struct bcm6345_l1_cpu *cpus[NR_CPUS];
|
D | irq-mips-gic.c | 264 if (cpu >= NR_CPUS) in gic_set_affinity()
|
/linux-4.19.296/drivers/cpuidle/ |
D | coupled.c | 107 int requested_state[NR_CPUS];
|
/linux-4.19.296/include/asm-generic/ |
D | percpu.h | 19 extern unsigned long __per_cpu_offset[NR_CPUS];
|
/linux-4.19.296/drivers/xen/ |
D | xen-acpi-processor.c | 309 return NR_CPUS; in get_max_acpi_id()
|
/linux-4.19.296/drivers/base/ |
D | cpu.c | 234 int n = snprintf(buf, PAGE_SIZE-2, "%d\n", NR_CPUS - 1); in print_cpus_kernel_max()
|
D | node.c | 36 BUILD_BUG_ON((NR_CPUS/32 * 9) > (PAGE_SIZE-1)); in node_read_cpumap()
|
/linux-4.19.296/fs/gfs2/ |
D | rgrp.c | 1872 if (found > NR_CPUS) in try_rgrp_unlink()
|