Searched refs:maxcpus (Results 1 - 14 of 14) sorted by relevance

/linux-4.4.14/tools/testing/selftests/rcutorture/bin/
H A Dfunctions.sh69 # Decreases number of CPUs based on any maxcpus= boot parameters specified.
72 local maxcpus
73 if echo "${bootargs}" | grep -q 'maxcpus=[0-9]'
75 maxcpus="`echo "${bootargs}" | sed -e 's/^.*maxcpus=\([0-9]*\).*$/\1/'`"
76 if test "$3" -gt "$maxcpus"
78 echo $maxcpus
/linux-4.4.14/arch/x86/kernel/
H A Dvsmp_64.c179 unsigned int cfg, topology, node_shift, maxcpus; vsmp_cap_cpus() local
200 maxcpus = (topology & ((1 << node_shift) - 1)) + 1; vsmp_cap_cpus()
203 maxcpus); vsmp_cap_cpus()
204 setup_max_cpus = maxcpus; vsmp_cap_cpus()
/linux-4.4.14/arch/powerpc/kernel/
H A Dsetup-common.c505 int num_addr_cell, num_size_cell, maxcpus; smp_setup_cpu_maps() local
516 maxcpus = be32_to_cpup(ireg + num_addr_cell + num_size_cell); smp_setup_cpu_maps()
518 /* Double maxcpus for processors which have SMT capability */ smp_setup_cpu_maps()
520 maxcpus *= nthreads; smp_setup_cpu_maps()
522 if (maxcpus > nr_cpu_ids) { smp_setup_cpu_maps()
526 maxcpus, nr_cpu_ids); smp_setup_cpu_maps()
527 maxcpus = nr_cpu_ids; smp_setup_cpu_maps()
530 maxcpus); smp_setup_cpu_maps()
532 for (cpu = 0; cpu < maxcpus; cpu++) smp_setup_cpu_maps()
/linux-4.4.14/arch/mips/kernel/
H A Drtlx-cmp.c59 "Pass maxcpus=<n> argument as kernel argument\n"); rtlx_module_init()
H A Dvpe-cmp.c103 "Pass maxcpus=<n> argument as kernel argument\n"); vpe_module_init()
/linux-4.4.14/kernel/
H A Dsmp.c506 * Command-line option of "nosmp" or "maxcpus=0" will disable SMP
509 * Command-line option of "maxcpus=<NUM>", where <NUM> is an integer
540 static int __init maxcpus(char *str) maxcpus() function
549 early_param("maxcpus", maxcpus);
/linux-4.4.14/include/linux/
H A Dsmp.h189 * Callback to arch code if there's nosmp or maxcpus=0 on the
/linux-4.4.14/arch/mips/oprofile/
H A Dop_model_mipsxx.c65 * core like a 24K also or with maxcpus=1.
/linux-4.4.14/arch/x86/mm/
H A Dmmio-mod.c435 "Suggest booting with maxcpus=1 kernel argument.\n"); enter_uniprocessor()
/linux-4.4.14/arch/powerpc/platforms/cell/
H A Dinterrupt.c28 * - Implement proper handling of maxcpus=1/2 (that is, routing of irqs from
/linux-4.4.14/arch/powerpc/sysdev/xics/
H A Dxics-common.c292 * happens when using the maxcpus= boot option. xics_get_irq_server()
/linux-4.4.14/init/
H A Dmain.c355 static inline void smp_prepare_cpus(unsigned int maxcpus) { } smp_prepare_cpus() argument
/linux-4.4.14/arch/ia64/kernel/
H A Dsmpboot.c840 * and (maxcpus=), all threads may not necessarily be enabled
/linux-4.4.14/drivers/idle/
H A Dintel_idle.c42 * This means that if you boot with maxcpus=n and later online

Completed in 433 milliseconds