/arch/mips/netlogic/common/ |
D | smp.c | 171 int num_cpus, i, ncore, node; in nlm_smp_setup() local 182 num_cpus = 1; in nlm_smp_setup() 190 __cpu_number_map[i] = num_cpus; in nlm_smp_setup() 191 __cpu_logical_map[num_cpus] = i; in nlm_smp_setup() 192 set_cpu_possible(num_cpus, true); in nlm_smp_setup() 194 cpumask_set_cpu(num_cpus, &nlm_get_node(node)->cpumask); in nlm_smp_setup() 195 ++num_cpus; in nlm_smp_setup() 209 nlm_threads_per_core, 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 220 node->num_cpus = 1; in build_cpuinfo_tree() 230 num_cpus[level] = 1; in build_cpuinfo_tree() 253 node->num_cpus = num_cpus[level]; in build_cpuinfo_tree() 254 num_cpus[level] = 1; in build_cpuinfo_tree() 257 node->num_cpus++; in build_cpuinfo_tree() 288 num_cpus[level]++; in build_cpuinfo_tree() 368 for (i = 0; i < cpuinfo_tree->nodes[0].num_cpus; i++) in _cpu_map_rebuild() 406 if (unlikely(root_node->num_cpus != num_online_cpus())) { in _map_to_cpu() [all …]
|
/arch/parisc/kernel/ |
D | alternative.c | 27 int num_cpus = num_online_cpus(); in apply_alternatives() local 47 if ((cond & ALT_COND_NO_SMP) && (num_cpus != 1)) in apply_alternatives()
|
/arch/powerpc/platforms/pseries/ |
D | rtas-fadump.c | 309 u32 num_cpus, *note_buf; in rtas_fadump_build_cpu_notes() local 330 num_cpus = be32_to_cpu(*((__be32 *)(vaddr))); in rtas_fadump_build_cpu_notes() 331 pr_debug("NumCpus : %u\n", num_cpus); in rtas_fadump_build_cpu_notes() 335 rc = fadump_setup_cpu_notes_buf(num_cpus); in rtas_fadump_build_cpu_notes() 344 for (i = 0; i < num_cpus; i++) { in rtas_fadump_build_cpu_notes()
|
/arch/powerpc/platforms/powernv/ |
D | opal-core.c | 35 u32 num_cpus; member 245 pr_debug("NumCpus : %u\n", oc_conf->num_cpus); in opalcore_append_cpu_notes() 257 for (i = 0; i < oc_conf->num_cpus; i++, bufp += size_per_thread) { in opalcore_append_cpu_notes() 314 cpu_notes_size = ((oc_conf->num_cpus * (CRASH_CORE_NOTE_HEAD_BYTES + in create_opalcore() 554 oc_conf->num_cpus = (oc_conf->cpu_state_data_size / in opalcore_config_init()
|
D | opal-fadump.c | 423 u32 num_cpus = 1, *note_buf; in opal_fadump_build_cpu_notes() local 430 num_cpus = (fadump_conf->cpu_state_data_size / size_per_thread); in opal_fadump_build_cpu_notes() 435 rc = fadump_setup_cpu_notes_buf(num_cpus); in opal_fadump_build_cpu_notes() 455 pr_debug("NumCpus : %u\n", num_cpus); in opal_fadump_build_cpu_notes() 459 for (i = 0; i < num_cpus; i++, bufp += size_per_thread) { in opal_fadump_build_cpu_notes()
|
/arch/arm64/mm/ |
D | proc.S | 242 num_cpus .req w1 269 eor w17, w17, num_cpus 372 .unreq num_cpus
|
/arch/powerpc/platforms/85xx/ |
D | smp.c | 436 int i, num_cpus = num_present_cpus(); in mpc85xx_smp_machine_kexec() local 441 while ( (atomic_read(&kexec_down_cpus) != (num_cpus - 1)) && in mpc85xx_smp_machine_kexec()
|
/arch/powerpc/include/asm/ |
D | fadump-internal.h | 140 s32 fadump_setup_cpu_notes_buf(u32 num_cpus);
|
/arch/ia64/kernel/ |
D | iosapic.c | 650 int num_cpus, cpu_index, iosapic_index, numa_cpu, i = 0; in get_target_cpu() local 659 num_cpus = 0; in get_target_cpu() 662 num_cpus++; in get_target_cpu() 665 if (!num_cpus) in get_target_cpu() 669 cpu_index = irq % num_cpus; in get_target_cpu()
|
/arch/x86/include/asm/uv/ |
D | uv_bau.h | 591 short num_cpus; member 597 short num_cpus; member
|
/arch/x86/kernel/ |
D | jailhouse.c | 91 for (cpu = 0; cpu < setup_data.num_cpus; cpu++) { in jailhouse_get_smp_config()
|
/arch/x86/include/uapi/asm/ |
D | bootparam.h | 145 __u16 num_cpus; member
|
/arch/x86/platform/uv/ |
D | tlb_uv.c | 1972 bdp->num_cpus++; in get_cpu_topology() 1981 sdp->cpu_number[sdp->num_cpus] = cpu; in get_cpu_topology() 1982 sdp->num_cpus++; in get_cpu_topology() 1983 if (sdp->num_cpus > MAX_CPUS_PER_SOCKET) { in get_cpu_topology() 1985 sdp->num_cpus); in get_cpu_topology() 2029 for (i = 0; i < sdp->num_cpus; i++) { in scan_sock() 2038 bcp->cpus_in_uvhub = bdp->num_cpus; in scan_sock() 2039 bcp->cpus_in_socket = sdp->num_cpus; in scan_sock()
|
/arch/powerpc/kernel/ |
D | fadump.c | 770 s32 fadump_setup_cpu_notes_buf(u32 num_cpus) in fadump_setup_cpu_notes_buf() argument 773 fw_dump.cpu_notes_buf_size = num_cpus * sizeof(note_buf_t); in fadump_setup_cpu_notes_buf()
|