Searched refs:setup_max_cpus (Results 1 – 14 of 14) sorted by relevance
107 if (setup_max_cpus != NR_CPUS) in vsmp_cap_cpus()125 setup_max_cpus = maxcpus; in vsmp_cap_cpus()
1483 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()
653 if (!noreplace_smp && (num_present_cpus() == 1 || setup_max_cpus <= 1)) { in alternative_instructions()
1021 unsigned int setup_max_cpus = NR_CPUS; variable1022 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()
1462 void bringup_nonboot_cpus(unsigned int setup_max_cpus) in bringup_nonboot_cpus() argument1467 if (num_online_cpus() >= setup_max_cpus) in bringup_nonboot_cpus()
67 setup_max_cpus = 0; in register_trusted_foundations()
315 if (cpu >= setup_max_cpus) in cpu_update_split_mode()431 if (setup_max_cpus % threads_per_core) in subcore_init()
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()
174 extern unsigned int setup_max_cpus;
98 void bringup_nonboot_cpus(unsigned int setup_max_cpus);
200 if (attr && setup_max_cpus > (uintptr_t)attr->data) { in rwdt_blacklisted()
612 static const unsigned int setup_max_cpus = NR_CPUS; variable1597 smp_prepare_cpus(setup_max_cpus); in kernel_init_freeable()
1339 if (!setup_max_cpus) { in __apic_intr_mode_select()