Home
last modified time | relevance | path

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

/linux-4.19.296/include/linux/
Drcu_node_tree.h65 #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)
Dcpumask.h16 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 …]
Dblockgroup_lock.h14 #define NR_BG_LOCKS (4 << ilog2(NR_CPUS < 32 ? NR_CPUS : 32))
Dpstore.h214 #if NR_CPUS <= 2 && defined(CONFIG_ARM_THUMB)
216 #elif NR_CPUS <= 4 && defined(CONFIG_ARM)
Dthreads.h21 #define NR_CPUS CONFIG_NR_CPUS macro
Dmm_types_task.h22 #define USE_SPLIT_PTE_PTLOCKS (NR_CPUS >= CONFIG_SPLIT_PTLOCK_CPUS)
Dworkqueue.h62 WORK_CPU_UNBOUND = NR_CPUS,
/linux-4.19.296/lib/
Dnmi_backtrace.c25 static DECLARE_BITMAP(backtrace_mask, NR_CPUS) __read_mostly;
/linux-4.19.296/include/net/
Dbusy_poll.h36 #define MIN_NAPI_ID ((unsigned int)(NR_CPUS + 1))
/linux-4.19.296/drivers/edac/
Docteon_edac-pc.c26 extern unsigned long long cache_err_dcache[NR_CPUS];
/linux-4.19.296/drivers/cpufreq/
Dsparc-us3-cpufreq.c176 us3_freq_table = kzalloc((NR_CPUS * sizeof(*us3_freq_table)), in us3_freq_init()
Dp4-clockmod.c52 static int has_N44_O17_errata[NR_CPUS];
Dsparc-us2e-cpufreq.c328 us2e_freq_table = kzalloc((NR_CPUS * sizeof(*us2e_freq_table)), in us2e_freq_init()
Dia64-acpi-cpufreq.c42 static struct cpufreq_acpi_io *acpi_io_data[NR_CPUS];
De_powersaver.c44 static struct eps_cpu_data *eps_cpu[NR_CPUS];
/linux-4.19.296/drivers/bus/
Darm-cci.c148 static struct cpu_port cpu_port[NR_CPUS];
/linux-4.19.296/drivers/irqchip/
Dirq-bcm7038-l1.c44 struct bcm7038_l1_cpu *cpus[NR_CPUS];
Dirq-bcm6345-l1.c84 struct bcm6345_l1_cpu *cpus[NR_CPUS];
Dirq-mips-gic.c264 if (cpu >= NR_CPUS) in gic_set_affinity()
/linux-4.19.296/drivers/cpuidle/
Dcoupled.c107 int requested_state[NR_CPUS];
/linux-4.19.296/include/asm-generic/
Dpercpu.h19 extern unsigned long __per_cpu_offset[NR_CPUS];
/linux-4.19.296/drivers/xen/
Dxen-acpi-processor.c309 return NR_CPUS; in get_max_acpi_id()
/linux-4.19.296/drivers/base/
Dcpu.c234 int n = snprintf(buf, PAGE_SIZE-2, "%d\n", NR_CPUS - 1); in print_cpus_kernel_max()
Dnode.c36 BUILD_BUG_ON((NR_CPUS/32 * 9) > (PAGE_SIZE-1)); in node_read_cpumap()
/linux-4.19.296/fs/gfs2/
Drgrp.c1872 if (found > NR_CPUS) in try_rgrp_unlink()