Searched refs:maxcpus (Results 1 - 14 of 14) sorted by relevance
/linux-4.4.14/tools/testing/selftests/rcutorture/bin/ |
H A D | functions.sh | 69 # 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 D | vsmp_64.c | 179 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 D | setup-common.c | 505 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 D | rtlx-cmp.c | 59 "Pass maxcpus=<n> argument as kernel argument\n"); rtlx_module_init()
|
H A D | vpe-cmp.c | 103 "Pass maxcpus=<n> argument as kernel argument\n"); vpe_module_init()
|
/linux-4.4.14/kernel/ |
H A D | smp.c | 506 * 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 D | smp.h | 189 * Callback to arch code if there's nosmp or maxcpus=0 on the
|
/linux-4.4.14/arch/mips/oprofile/ |
H A D | op_model_mipsxx.c | 65 * core like a 24K also or with maxcpus=1.
|
/linux-4.4.14/arch/x86/mm/ |
H A D | mmio-mod.c | 435 "Suggest booting with maxcpus=1 kernel argument.\n"); enter_uniprocessor()
|
/linux-4.4.14/arch/powerpc/platforms/cell/ |
H A D | interrupt.c | 28 * - Implement proper handling of maxcpus=1/2 (that is, routing of irqs from
|
/linux-4.4.14/arch/powerpc/sysdev/xics/ |
H A D | xics-common.c | 292 * happens when using the maxcpus= boot option. xics_get_irq_server()
|
/linux-4.4.14/init/ |
H A D | main.c | 355 static inline void smp_prepare_cpus(unsigned int maxcpus) { } smp_prepare_cpus() argument
|
/linux-4.4.14/arch/ia64/kernel/ |
H A D | smpboot.c | 840 * and (maxcpus=), all threads may not necessarily be enabled
|
/linux-4.4.14/drivers/idle/ |
H A D | intel_idle.c | 42 * This means that if you boot with maxcpus=n and later online
|
Completed in 433 milliseconds