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

/linux-master/tools/testing/selftests/rcutorture/bin/
H A Dfunctions.sh76 # Decreases number of CPUs based on any maxcpus= boot parameters specified.
80 # test runs based on the maxcpus= boot parameter controlling the initial
84 local maxcpus
85 if echo "${bootargs}" | grep -q 'maxcpus=[0-9]'
87 maxcpus="`echo "${bootargs}" | sed -e 's/^.*maxcpus=\([0-9]*\).*$/\1/'`"
88 if test "$3" -gt "$maxcpus"
90 echo $maxcpus
/linux-master/arch/x86/kernel/
H A Dvsmp_64.c100 unsigned int cfg, topology, node_shift, maxcpus; local
121 maxcpus = (topology & ((1 << node_shift) - 1)) + 1;
124 maxcpus);
125 setup_max_cpus = maxcpus;
/linux-master/arch/powerpc/kernel/
H A Dsetup-common.c531 int num_addr_cell, num_size_cell, maxcpus; local
542 maxcpus = be32_to_cpup(ireg + num_addr_cell + num_size_cell);
544 /* Double maxcpus for processors which have SMT capability */
546 maxcpus *= nthreads;
548 if (maxcpus > nr_cpu_ids) {
552 maxcpus, nr_cpu_ids);
553 maxcpus = nr_cpu_ids;
556 maxcpus);
558 for (cpu = 0; cpu < maxcpus; cpu++)
/linux-master/kernel/
H A Dsmp.c914 * Command-line option of "nosmp" or "maxcpus=0" will disable SMP
917 * Command-line option of "maxcpus=<NUM>", where <NUM> is an integer
947 static int __init maxcpus(char *str) function
956 early_param("maxcpus", maxcpus);
/linux-master/init/
H A Dmain.c615 static inline void smp_prepare_cpus(unsigned int maxcpus) { } argument

Completed in 108 milliseconds