Searched refs:setup_max_cpus (Results 1 – 15 of 15) sorted by relevance
107 if (setup_max_cpus != NR_CPUS) in vsmp_cap_cpus()125 setup_max_cpus = maxcpus; in vsmp_cap_cpus()
1541 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()
954 if (!noreplace_smp && (num_present_cpus() == 1 || setup_max_cpus <= 1)) { in alternative_instructions()
1039 unsigned int setup_max_cpus = NR_CPUS; variable1040 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()
1505 void bringup_nonboot_cpus(unsigned int setup_max_cpus) in bringup_nonboot_cpus() argument1510 if (num_online_cpus() >= setup_max_cpus) in bringup_nonboot_cpus()
315 if (cpu >= setup_max_cpus) in cpu_update_split_mode()431 if (setup_max_cpus % threads_per_core) in subcore_init()
67 setup_max_cpus = 0; in register_trusted_foundations()
33 return setup_max_cpus; in aprp_cpu_index()
126 if (!setup_max_cpus) in octeon_smp_hotplug_setup()178 for (id = 0; setup_max_cpus && octeon_bootloader_entry_addr && in octeon_smp_setup()
173 extern unsigned int setup_max_cpus;
103 void bringup_nonboot_cpus(unsigned int setup_max_cpus);
446 if (num_online_cpus() < setup_max_cpus && smp_boot_one_cpu(cpu, tidle)) in __cpu_up()
200 if (attr && setup_max_cpus > (uintptr_t)attr->data) { in rwdt_blacklisted()
607 static const unsigned int setup_max_cpus = NR_CPUS; variable1612 smp_prepare_cpus(setup_max_cpus); in kernel_init_freeable()
1344 if (!setup_max_cpus) { in __apic_intr_mode_select()