Home
last modified time | relevance | path

Searched refs:setup_max_cpus (Results 1 – 14 of 14) sorted by relevance

/Linux-v5.15/arch/x86/kernel/
Dvsmp_64.c107 if (setup_max_cpus != NR_CPUS) in vsmp_cap_cpus()
125 setup_max_cpus = maxcpus; in vsmp_cap_cpus()
Dsmpboot.c1483 i = setup_max_cpus ?: 1; in prefill_possible_map()
1487 if (setup_max_cpus) in prefill_possible_map()
1506 if (!setup_max_cpus) in prefill_possible_map()
1510 possible, setup_max_cpus); in prefill_possible_map()
Dalternative.c653 if (!noreplace_smp && (num_present_cpus() == 1 || setup_max_cpus <= 1)) { in alternative_instructions()
/Linux-v5.15/kernel/
Dsmp.c1021 unsigned int setup_max_cpus = NR_CPUS; variable
1022 EXPORT_SYMBOL(setup_max_cpus);
1040 setup_max_cpus = 0; in nosmp()
1063 get_option(&str, &setup_max_cpus); in maxcpus()
1064 if (setup_max_cpus == 0) in maxcpus()
1092 bringup_nonboot_cpus(setup_max_cpus); in smp_init()
1101 smp_cpus_done(setup_max_cpus); in smp_init()
Dcpu.c1462 void bringup_nonboot_cpus(unsigned int setup_max_cpus) in bringup_nonboot_cpus() argument
1467 if (num_online_cpus() >= setup_max_cpus) in bringup_nonboot_cpus()
/Linux-v5.15/include/linux/firmware/
Dtrusted_foundations.h67 setup_max_cpus = 0; in register_trusted_foundations()
/Linux-v5.15/arch/powerpc/platforms/powernv/
Dsubcore.c315 if (cpu >= setup_max_cpus) in cpu_update_split_mode()
431 if (setup_max_cpus % threads_per_core) in subcore_init()
/Linux-v5.15/arch/mips/include/asm/
Dvpe.h33 return setup_max_cpus; in aprp_cpu_index()
/Linux-v5.15/arch/mips/cavium-octeon/
Dsmp.c126 if (!setup_max_cpus) in octeon_smp_hotplug_setup()
178 for (id = 0; setup_max_cpus && octeon_bootloader_entry_addr && in octeon_smp_setup()
/Linux-v5.15/include/linux/
Dsmp.h174 extern unsigned int setup_max_cpus;
Dcpu.h98 void bringup_nonboot_cpus(unsigned int setup_max_cpus);
/Linux-v5.15/drivers/watchdog/
Drenesas_wdt.c200 if (attr && setup_max_cpus > (uintptr_t)attr->data) { in rwdt_blacklisted()
/Linux-v5.15/init/
Dmain.c612 static const unsigned int setup_max_cpus = NR_CPUS; variable
1597 smp_prepare_cpus(setup_max_cpus); in kernel_init_freeable()
/Linux-v5.15/arch/x86/kernel/apic/
Dapic.c1339 if (!setup_max_cpus) { in __apic_intr_mode_select()