Home
last modified time | relevance | path

Searched refs:num_cpus (Results 1 – 12 of 12) sorted by relevance

/arch/mips/netlogic/common/
Dsmp.c160 int num_cpus, i; in nlm_smp_setup() local
170 num_cpus = 1; in nlm_smp_setup()
178 __cpu_number_map[i] = num_cpus; in nlm_smp_setup()
179 __cpu_logical_map[num_cpus] = i; in nlm_smp_setup()
180 set_cpu_possible(num_cpus, true); in nlm_smp_setup()
181 ++num_cpus; in nlm_smp_setup()
189 pr_info("Detected %i Slave CPU(s)\n", num_cpus); in nlm_smp_setup()
/arch/sparc/kernel/
Dcpumap.c35 int num_cpus; /* Number of CPUs in this hierarchy */ member
190 int num_cpus[CPUINFO_LVL_MAX]; in build_cpuinfo_tree() local
221 node->num_cpus = 1; in build_cpuinfo_tree()
231 num_cpus[level] = 1; in build_cpuinfo_tree()
254 node->num_cpus = num_cpus[level]; in build_cpuinfo_tree()
255 num_cpus[level] = 1; in build_cpuinfo_tree()
258 node->num_cpus++; in build_cpuinfo_tree()
289 num_cpus[level]++; in build_cpuinfo_tree()
364 for (i = 0; i < cpuinfo_tree->nodes[0].num_cpus; i++) in _cpu_map_rebuild()
402 if (unlikely(root_node->num_cpus != num_online_cpus())) { in _map_to_cpu()
[all …]
/arch/mn10300/include/asm/
Dmmu_context.h106 int num_cpus = NR_CPUS, i; in init_new_context() local
108 for (i = 0; i < num_cpus; i++) in init_new_context()
/arch/m32r/include/asm/
Dmmu_context.h80 int num_cpus = num_online_cpus(); in init_new_context()
83 for (i = 0 ; i < num_cpus ; i++) in init_new_context()
/arch/powerpc/platforms/85xx/
Dsmp.c195 int i, num_cpus = num_present_cpus(); in mpc85xx_smp_machine_kexec() local
202 while ( (atomic_read(&kexec_down_cpus) != (num_cpus - 1)) && in mpc85xx_smp_machine_kexec()
/arch/powerpc/kernel/
Dsetup_64.c286 unsigned long num_cpus = 0; in initialize_cache_info() local
291 num_cpus += 1; in initialize_cache_info()
297 if (num_cpus == 1) { in initialize_cache_info()
Dfadump.c599 u32 num_cpus, *note_buf; in fadump_build_cpu_notes() local
619 num_cpus = *((u32 *)(vaddr)); in fadump_build_cpu_notes()
620 pr_debug("NumCpus : %u\n", num_cpus); in fadump_build_cpu_notes()
625 fw_dump.cpu_notes_buf_size = num_cpus * sizeof(note_buf_t); in fadump_build_cpu_notes()
636 (num_cpus * sizeof(note_buf_t)), note_buf); in fadump_build_cpu_notes()
641 for (i = 0; i < num_cpus; i++) { in fadump_build_cpu_notes()
/arch/x86/include/asm/uv/
Duv_bau.h558 short num_cpus; member
564 short num_cpus; member
/arch/m32r/kernel/
Dsmp.c748 int num_cpus = num_online_cpus(); in send_IPI_mask() local
750 if (num_cpus <= 1) /* NO MP */ in send_IPI_mask()
/arch/ia64/kernel/
Diosapic.c655 int num_cpus, cpu_index, iosapic_index, numa_cpu, i = 0; in get_target_cpu() local
664 num_cpus = 0; in get_target_cpu()
667 num_cpus++; in get_target_cpu()
670 if (!num_cpus) in get_target_cpu()
674 cpu_index = irq % num_cpus; in get_target_cpu()
/arch/x86/platform/uv/
Dtlb_uv.c1893 bdp->num_cpus++; in get_cpu_topology()
1902 sdp->cpu_number[sdp->num_cpus] = cpu; in get_cpu_topology()
1903 sdp->num_cpus++; in get_cpu_topology()
1904 if (sdp->num_cpus > MAX_CPUS_PER_SOCKET) { in get_cpu_topology()
1906 sdp->num_cpus); in get_cpu_topology()
1952 for (i = 0; i < sdp->num_cpus; i++) { in scan_sock()
1961 bcp->cpus_in_uvhub = bdp->num_cpus; in scan_sock()
1962 bcp->cpus_in_socket = sdp->num_cpus; in scan_sock()
/arch/tile/kernel/
Dsetup.c594 int num_cpus = smp_height * smp_width; in zone_sizes_init() local
597 for (i = 0; i < num_cpus; ++i) in zone_sizes_init()