Lines Matching refs:nr_cpu_ids
325 if (cpumask_next(cpu_id, cpu_online_mask) >= nr_cpu_ids) in show_cpuinfo()
337 if ((*pos) < nr_cpu_ids) in c_start()
418 for (int i = 0; i < nthreads && cpu < nr_cpu_ids; i++) { in assign_threads()
460 cpu_to_phys_id = memblock_alloc(nr_cpu_ids * sizeof(u32), in smp_setup_cpu_maps()
464 __func__, nr_cpu_ids * sizeof(u32), __alignof__(u32)); in smp_setup_cpu_maps()
509 } else if (cpu >= nr_cpu_ids) { in smp_setup_cpu_maps()
514 if (cpu < nr_cpu_ids) in smp_setup_cpu_maps()
548 if (maxcpus > nr_cpu_ids) { in smp_setup_cpu_maps()
552 maxcpus, nr_cpu_ids); in smp_setup_cpu_maps()
553 maxcpus = nr_cpu_ids; in smp_setup_cpu_maps()
898 memblock_free(cpu_to_phys_id, nr_cpu_ids * sizeof(u32)); in smp_setup_pacas()