Searched refs:cpu_count (Results 1 – 15 of 15) sorted by relevance
/arch/xtensa/kernel/ |
D | jump_label.c | 27 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/ |
D | patch.c | 21 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/ |
D | hypfs_diag0c.c | 33 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/ |
D | patching.c | 119 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()
|
D | smp.c | 538 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/ |
D | platsmp.c | 56 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/ |
D | ftrace.c | 210 atomic_t cpu_count; member 217 if (atomic_inc_return(¶m->cpu_count) == 1) { in __ftrace_modify_code() 219 atomic_inc(¶m->cpu_count); in __ftrace_modify_code() 221 while (atomic_read(¶m->cpu_count) <= num_online_cpus()) in __ftrace_modify_code()
|
/arch/parisc/kernel/ |
D | processor.c | 92 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/ |
D | kprobes.c | 25 atomic_t cpu_count; member 33 if (atomic_inc_return(¶m->cpu_count) == num_online_cpus()) { in patch_text_cb() 36 atomic_inc(¶m->cpu_count); in patch_text_cb() 38 while (atomic_read(¶m->cpu_count) <= num_online_cpus()) in patch_text_cb()
|
/arch/ia64/include/asm/ |
D | smp.h | 49 int cpu_count; member
|
/arch/parisc/include/asm/ |
D | processor.h | 61 unsigned int cpu_count; member
|
/arch/ia64/kernel/ |
D | acpi.c | 602 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()
|
D | smpboot.c | 508 for (cpu = 1, i = 0; i < smp_boot_data.cpu_count; i++) { in smp_build_cpu_map()
|
/arch/sparc/include/asm/ |
D | hypervisor.h | 420 unsigned long sun4v_cpu_mondo_send(unsigned long cpu_count,
|
/arch/powerpc/platforms/powermac/ |
D | feature.c | 2507 int cpu_count = 1; in probe_motherboard() local 2511 (cpu_count > 1)) { in probe_motherboard() 2517 cpu_count++; in probe_motherboard()
|