Home
last modified time | relevance | path

Searched refs:cpu_count (Results 1 – 11 of 11) sorted by relevance

/arch/s390/hypfs/
Dhypfs_diag0c.c46 unsigned int cpu_count, cpu, i; in diag0c_store() local
50 cpu_count = num_online_cpus(); in diag0c_store()
56 cpu_count * sizeof(struct hypfs_diag0c_entry), in diag0c_store()
68 *count = cpu_count; in diag0c_store()
/arch/arm64/kernel/
Dsmp.c411 static unsigned int cpu_count = 1; variable
435 if (is_mpidr_duplicate(cpu_count, hwid)) { in acpi_map_gic_cpu_interface()
451 if (cpu_count >= NR_CPUS) in acpi_map_gic_cpu_interface()
455 cpu_logical_map(cpu_count) = hwid; in acpi_map_gic_cpu_interface()
466 acpi_set_mailbox_entry(cpu_count, processor); in acpi_map_gic_cpu_interface()
468 cpu_count++; in acpi_map_gic_cpu_interface()
506 if (is_mpidr_duplicate(cpu_count, hwid)) { in of_parse_and_init_cpus()
536 if (cpu_count >= NR_CPUS) in of_parse_and_init_cpus()
540 cpu_logical_map(cpu_count) = hwid; in of_parse_and_init_cpus()
542 cpu_count++; in of_parse_and_init_cpus()
[all …]
Dinsn.c202 atomic_t cpu_count; member
211 if (atomic_inc_return(&pp->cpu_count) == 1) { in aarch64_insn_patch_text_cb()
221 atomic_inc(&pp->cpu_count); in aarch64_insn_patch_text_cb()
223 while (atomic_read(&pp->cpu_count) <= num_online_cpus()) in aarch64_insn_patch_text_cb()
237 .cpu_count = ATOMIC_INIT(0), in aarch64_insn_patch_text_sync()
/arch/arm/mach-axxia/
Dplatsmp.c58 int cpu_count = 0; in axxia_smp_prepare_cpus() local
75 if (cpu_count < max_cpus) { in axxia_smp_prepare_cpus()
77 cpu_count++; in axxia_smp_prepare_cpus()
/arch/tile/kernel/
Dsmpboot.c59 int cpu, cpu_count; in smp_prepare_cpus() local
84 cpu_count = 1; in smp_prepare_cpus()
112 ++cpu_count; in smp_prepare_cpus()
114 BUG_ON(cpu_count > (max_cpus ? max_cpus : 1)); in smp_prepare_cpus()
/arch/parisc/kernel/
Dprocessor.c107 if (boot_cpu_data.cpu_count > 0) { in processor_probe()
116 cpuid = boot_cpu_data.cpu_count; in processor_probe()
163 boot_cpu_data.cpu_count--; in processor_probe()
173 boot_cpu_data.cpu_count++; in processor_probe()
/arch/ia64/include/asm/
Dsmp.h54 int cpu_count; member
/arch/parisc/include/asm/
Dprocessor.h74 unsigned int cpu_count; member
/arch/ia64/kernel/
Dacpi.c685 smp_boot_data.cpu_count = available_cpus; in early_acpi_boot_init()
760 for (cpu = 0; cpu < smp_boot_data.cpu_count; cpu++) in acpi_boot_init()
Dsmpboot.c519 for (cpu = 1, i = 0; i < smp_boot_data.cpu_count; i++) { in smp_build_cpu_map()
/arch/sparc/include/asm/
Dhypervisor.h397 unsigned long sun4v_cpu_mondo_send(unsigned long cpu_count,