Home
last modified time | relevance | path

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

/arch/xtensa/kernel/
Djump_label.c27 atomic_t cpu_count; member
43 if (atomic_inc_return(&patch->cpu_count) == num_online_cpus()) { in patch_text_stop_machine()
45 atomic_inc(&patch->cpu_count); in patch_text_stop_machine()
47 while (atomic_read(&patch->cpu_count) <= num_online_cpus()) in patch_text_stop_machine()
58 .cpu_count = ATOMIC_INIT(0), in patch_text()
/arch/riscv/kernel/
Dpatch.c21 atomic_t cpu_count; member
126 if (atomic_inc_return(&patch->cpu_count) == num_online_cpus()) { in patch_text_cb()
130 atomic_inc(&patch->cpu_count); in patch_text_cb()
132 while (atomic_read(&patch->cpu_count) <= num_online_cpus()) in patch_text_cb()
147 .cpu_count = ATOMIC_INIT(0), in patch_text()
/arch/s390/hypfs/
Dhypfs_diag0c.c33 unsigned int cpu_count, cpu, i; in diag0c_store() local
37 cpu_count = num_online_cpus(); in diag0c_store()
43 diag0c_data = kzalloc(struct_size(diag0c_data, entry, cpu_count), in diag0c_store()
55 *count = cpu_count; in diag0c_store()
/arch/arm64/kernel/
Dpatching.c119 atomic_t cpu_count; member
128 if (atomic_inc_return(&pp->cpu_count) == num_online_cpus()) { in aarch64_insn_patch_text_cb()
133 atomic_inc(&pp->cpu_count); in aarch64_insn_patch_text_cb()
135 while (atomic_read(&pp->cpu_count) <= num_online_cpus()) in aarch64_insn_patch_text_cb()
149 .cpu_count = ATOMIC_INIT(0), in aarch64_insn_patch_text()
Dsmp.c538 static unsigned int cpu_count = 1; variable
569 if (is_mpidr_duplicate(cpu_count, hwid)) { in acpi_map_gic_cpu_interface()
586 if (cpu_count >= NR_CPUS) in acpi_map_gic_cpu_interface()
590 set_cpu_logical_map(cpu_count, hwid); in acpi_map_gic_cpu_interface()
592 cpu_madt_gicc[cpu_count] = *processor; in acpi_map_gic_cpu_interface()
603 acpi_set_mailbox_entry(cpu_count, processor); in acpi_map_gic_cpu_interface()
605 cpu_count++; in acpi_map_gic_cpu_interface()
669 if (is_mpidr_duplicate(cpu_count, hwid)) { in of_parse_and_init_cpus()
700 if (cpu_count >= NR_CPUS) in of_parse_and_init_cpus()
704 set_cpu_logical_map(cpu_count, hwid); in of_parse_and_init_cpus()
[all …]
/arch/arm/mach-axxia/
Dplatsmp.c56 int cpu_count = 0; in axxia_smp_prepare_cpus() local
73 if (cpu_count < max_cpus) { in axxia_smp_prepare_cpus()
75 cpu_count++; in axxia_smp_prepare_cpus()
/arch/csky/kernel/
Dftrace.c210 atomic_t cpu_count; member
217 if (atomic_inc_return(&param->cpu_count) == 1) { in __ftrace_modify_code()
219 atomic_inc(&param->cpu_count); in __ftrace_modify_code()
221 while (atomic_read(&param->cpu_count) <= num_online_cpus()) in __ftrace_modify_code()
/arch/parisc/kernel/
Dprocessor.c92 if (boot_cpu_data.cpu_count > 0) { in processor_probe()
101 cpuid = boot_cpu_data.cpu_count; in processor_probe()
150 boot_cpu_data.cpu_count--; in processor_probe()
160 boot_cpu_data.cpu_count++; in processor_probe()
/arch/csky/kernel/probes/
Dkprobes.c25 atomic_t cpu_count; member
33 if (atomic_inc_return(&param->cpu_count) == num_online_cpus()) { in patch_text_cb()
36 atomic_inc(&param->cpu_count); in patch_text_cb()
38 while (atomic_read(&param->cpu_count) <= num_online_cpus()) in patch_text_cb()
/arch/ia64/include/asm/
Dsmp.h49 int cpu_count; member
/arch/parisc/include/asm/
Dprocessor.h61 unsigned int cpu_count; member
/arch/ia64/kernel/
Dacpi.c602 smp_boot_data.cpu_count = available_cpus; in early_acpi_boot_init()
676 for (cpu = 0; cpu < smp_boot_data.cpu_count; cpu++) in acpi_boot_init()
Dsmpboot.c508 for (cpu = 1, i = 0; i < smp_boot_data.cpu_count; i++) { in smp_build_cpu_map()
/arch/sparc/include/asm/
Dhypervisor.h420 unsigned long sun4v_cpu_mondo_send(unsigned long cpu_count,
/arch/powerpc/platforms/powermac/
Dfeature.c2507 int cpu_count = 1; in probe_motherboard() local
2511 (cpu_count > 1)) { in probe_motherboard()
2517 cpu_count++; in probe_motherboard()