Searched refs:NR_CPUS (Results 251 - 274 of 274) sorted by relevance
<<11
/linux-master/kernel/cgroup/ |
H A D | cpuset.c | 3820 .max_write_len = (100U + 6 * NR_CPUS), 3927 .max_write_len = (100U + 6 * NR_CPUS), 3966 .max_write_len = (100U + 6 * NR_CPUS),
|
/linux-master/arch/mips/kernel/ |
H A D | cpu-probe.c | 1834 const char *__cpu_name[NR_CPUS];
|
/linux-master/arch/powerpc/kvm/ |
H A D | book3s_hv_nested.c | 323 if (l2_hv.vcpu_token >= NR_CPUS)
|
/linux-master/arch/x86/xen/ |
H A D | mmu_pv.c | 1278 DECLARE_BITMAP(mask, NR_CPUS);
|
/linux-master/arch/powerpc/kernel/ |
H A D | traps.c | 271 IS_ENABLED(CONFIG_SMP) ? (" NR_CPUS=" __stringify(NR_CPUS)) : "",
|
/linux-master/arch/powerpc/sysdev/ |
H A D | mpic.c | 631 for (i = 0; i < min(32, NR_CPUS) && cpu_possible(i); ++i, cpumask >>= 1)
|
/linux-master/drivers/xen/events/ |
H A D | events_base.c | 171 static atomic_t channels_on_cpu[NR_CPUS];
|
/linux-master/drivers/hwtracing/coresight/ |
H A D | coresight-etm4x-core.c | 62 static struct etmv4_drvdata *etmdrvdata[NR_CPUS];
|
/linux-master/arch/powerpc/xmon/ |
H A D | xmon.c | 98 static long *xmon_fault_jmp[NR_CPUS]; 1356 last_cpu = first_cpu = NR_CPUS;
|
/linux-master/kernel/trace/ |
H A D | ring_buffer.c | 6119 static struct task_struct *rb_threads[NR_CPUS] __initdata; 6139 static struct rb_test_data rb_data[NR_CPUS] __initdata;
|
/linux-master/scripts/ |
H A D | checkpatch.pl | 7425 # use of NR_CPUS is usually wrong 7426 # ignore definitions of NR_CPUS and usage to define arrays as likely right 7427 # ignore designated initializers using NR_CPUS 7431 $line !~ /^.\s*$Declare\s.*\[[^\]]*NR_CPUS[^\]]*\]/ && 7432 $line !~ /\[[^\]]*\.\.\.[^\]]*NR_CPUS[^\]]*\]/ && 7433 $line !~ /\[[^\]]*NR_CPUS[^\]]*\.\.\.[^\]]*\]/ && 7436 WARN("NR_CPUS", 7437 "usage of NR_CPUS is often wrong - consider using cpu_possible(), num_possible_cpus(), for_each_possible_cpu(), etc\n" . $herecurr);
|
/linux-master/fs/gfs2/ |
H A D | rgrp.c | 1888 if (found > NR_CPUS)
|
/linux-master/drivers/infiniband/hw/hfi1/ |
H A D | sdma.c | 811 .max_size = NR_CPUS,
|
/linux-master/arch/mips/mm/ |
H A D | tlbex.c | 73 static struct tlb_reg_save handler_reg_save[NR_CPUS];
|
/linux-master/drivers/net/wireless/ath/ath9k/ |
H A D | hw.c | 435 if (NR_CPUS > 1 && ah->config.serialize_regmode == SER_REG_MODE_AUTO) {
|
/linux-master/drivers/net/ethernet/freescale/dpaa/ |
H A D | dpaa_eth.c | 629 * chunks of NR_CPUS queues go to WQ6 (lowest priority), WQ2, WQ1 and 940 u16 channels[NR_CPUS];
|
/linux-master/net/netfilter/ipvs/ |
H A D | ip_vs_ctl.c | 2247 .maxlen = NR_CPUS, /* unused */
|
/linux-master/kernel/rcu/ |
H A D | tree.c | 5050 * unless nr_cpus_ids == NR_CPUS, in which case who cares? 5075 nr_cpu_ids == NR_CPUS)
|
H A D | rcutorture.c | 140 static struct task_struct *boost_tasks[NR_CPUS];
|
/linux-master/drivers/block/mtip32xx/ |
H A D | mtip32xx.c | 104 static u32 cpu_use[NR_CPUS];
|
/linux-master/mm/ |
H A D | vmalloc.c | 2442 VMALLOC_PAGES / roundup_pow_of_two(NR_CPUS) / 16))
|
H A D | slub.c | 5833 DECLARE_BITMAP(cpus, NR_CPUS);
|
/linux-master/net/core/ |
H A D | dev.c | 176 static unsigned int napi_gen_id = NR_CPUS; 4209 if (sender_cpu >= (u32)NR_CPUS) 6376 /* 0..NR_CPUS range is reserved for sender_cpu use */
|
/linux-master/kernel/sched/ |
H A D | fair.c | 10454 if (p->nr_cpus_allowed != NR_CPUS) {
|
Completed in 734 milliseconds
<<11