Searched refs:num_cpus (Results 1 – 12 of 12) sorted by relevance
/arch/mips/netlogic/common/ |
D | smp.c | 160 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/ |
D | cpumap.c | 35 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/ |
D | mmu_context.h | 106 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/ |
D | mmu_context.h | 80 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/ |
D | smp.c | 195 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/ |
D | setup_64.c | 286 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()
|
D | fadump.c | 599 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/ |
D | uv_bau.h | 558 short num_cpus; member 564 short num_cpus; member
|
/arch/m32r/kernel/ |
D | smp.c | 748 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/ |
D | iosapic.c | 655 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/ |
D | tlb_uv.c | 1893 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/ |
D | setup.c | 594 int num_cpus = smp_height * smp_width; in zone_sizes_init() local 597 for (i = 0; i < num_cpus; ++i) in zone_sizes_init()
|