Home
last modified time | relevance | path

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

/linux-6.1.9/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.c1541 i = setup_max_cpus ?: 1; in prefill_possible_map()
1545 if (setup_max_cpus) in prefill_possible_map()
1564 if (!setup_max_cpus) in prefill_possible_map()
1568 possible, setup_max_cpus); in prefill_possible_map()
Dalternative.c954 if (!noreplace_smp && (num_present_cpus() == 1 || setup_max_cpus <= 1)) { in alternative_instructions()
/linux-6.1.9/kernel/
Dsmp.c1039 unsigned int setup_max_cpus = NR_CPUS; variable
1040 EXPORT_SYMBOL(setup_max_cpus);
1058 setup_max_cpus = 0; in nosmp()
1081 get_option(&str, &setup_max_cpus); in maxcpus()
1082 if (setup_max_cpus == 0) in maxcpus()
1112 bringup_nonboot_cpus(setup_max_cpus); in smp_init()
1121 smp_cpus_done(setup_max_cpus); in smp_init()
Dcpu.c1505 void bringup_nonboot_cpus(unsigned int setup_max_cpus) in bringup_nonboot_cpus() argument
1510 if (num_online_cpus() >= setup_max_cpus) in bringup_nonboot_cpus()
/linux-6.1.9/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-6.1.9/include/linux/firmware/
Dtrusted_foundations.h67 setup_max_cpus = 0; in register_trusted_foundations()
/linux-6.1.9/arch/mips/include/asm/
Dvpe.h33 return setup_max_cpus; in aprp_cpu_index()
/linux-6.1.9/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-6.1.9/include/linux/
Dsmp.h173 extern unsigned int setup_max_cpus;
Dcpu.h103 void bringup_nonboot_cpus(unsigned int setup_max_cpus);
/linux-6.1.9/arch/parisc/kernel/
Dsmp.c446 if (num_online_cpus() < setup_max_cpus && smp_boot_one_cpu(cpu, tidle)) in __cpu_up()
/linux-6.1.9/drivers/watchdog/
Drenesas_wdt.c200 if (attr && setup_max_cpus > (uintptr_t)attr->data) { in rwdt_blacklisted()
/linux-6.1.9/init/
Dmain.c607 static const unsigned int setup_max_cpus = NR_CPUS; variable
1612 smp_prepare_cpus(setup_max_cpus); in kernel_init_freeable()
/linux-6.1.9/arch/x86/kernel/apic/
Dapic.c1344 if (!setup_max_cpus) { in __apic_intr_mode_select()