Searched refs:NR_CPUS (Results 251 - 274 of 274) sorted by relevance

<<11

/linux-master/kernel/cgroup/
H A Dcpuset.c3820 .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 Dcpu-probe.c1834 const char *__cpu_name[NR_CPUS];
/linux-master/arch/powerpc/kvm/
H A Dbook3s_hv_nested.c323 if (l2_hv.vcpu_token >= NR_CPUS)
/linux-master/arch/x86/xen/
H A Dmmu_pv.c1278 DECLARE_BITMAP(mask, NR_CPUS);
/linux-master/arch/powerpc/kernel/
H A Dtraps.c271 IS_ENABLED(CONFIG_SMP) ? (" NR_CPUS=" __stringify(NR_CPUS)) : "",
/linux-master/arch/powerpc/sysdev/
H A Dmpic.c631 for (i = 0; i < min(32, NR_CPUS) && cpu_possible(i); ++i, cpumask >>= 1)
/linux-master/drivers/xen/events/
H A Devents_base.c171 static atomic_t channels_on_cpu[NR_CPUS];
/linux-master/drivers/hwtracing/coresight/
H A Dcoresight-etm4x-core.c62 static struct etmv4_drvdata *etmdrvdata[NR_CPUS];
/linux-master/arch/powerpc/xmon/
H A Dxmon.c98 static long *xmon_fault_jmp[NR_CPUS];
1356 last_cpu = first_cpu = NR_CPUS;
/linux-master/kernel/trace/
H A Dring_buffer.c6119 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 Dcheckpatch.pl7425 # 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 Drgrp.c1888 if (found > NR_CPUS)
/linux-master/drivers/infiniband/hw/hfi1/
H A Dsdma.c811 .max_size = NR_CPUS,
/linux-master/arch/mips/mm/
H A Dtlbex.c73 static struct tlb_reg_save handler_reg_save[NR_CPUS];
/linux-master/drivers/net/wireless/ath/ath9k/
H A Dhw.c435 if (NR_CPUS > 1 && ah->config.serialize_regmode == SER_REG_MODE_AUTO) {
/linux-master/drivers/net/ethernet/freescale/dpaa/
H A Ddpaa_eth.c629 * 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 Dip_vs_ctl.c2247 .maxlen = NR_CPUS, /* unused */
/linux-master/kernel/rcu/
H A Dtree.c5050 * unless nr_cpus_ids == NR_CPUS, in which case who cares?
5075 nr_cpu_ids == NR_CPUS)
H A Drcutorture.c140 static struct task_struct *boost_tasks[NR_CPUS];
/linux-master/drivers/block/mtip32xx/
H A Dmtip32xx.c104 static u32 cpu_use[NR_CPUS];
/linux-master/mm/
H A Dvmalloc.c2442 VMALLOC_PAGES / roundup_pow_of_two(NR_CPUS) / 16))
H A Dslub.c5833 DECLARE_BITMAP(cpus, NR_CPUS);
/linux-master/net/core/
H A Ddev.c176 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 Dfair.c10454 if (p->nr_cpus_allowed != NR_CPUS) {

Completed in 734 milliseconds

<<11