Home
last modified time | relevance | path

Searched refs:cpu_online (Results 1 – 25 of 131) sorted by relevance

123456

/linux-6.6.21/arch/parisc/kernel/
Dsmp.c92 if(cpu_online(cpuid) ) in ipi_init()
282 if (cpu_online(cpunum)) { in smp_cpu_init()
387 if(cpu_online(cpuid)) { in smp_boot_one_cpu()
440 if (cpu_online(cpu)) in __cpu_up()
448 return cpu_online(cpu) ? 0 : -EIO; in __cpu_up()
/linux-6.6.21/arch/sparc/kernel/
Dcpumap.c139 if (!cpu_online(i)) in enumerate_cpuinfo_nodes()
234 if (cpu_online(last_cpu)) in build_cpuinfo_tree()
239 if (!cpu_online(cpu)) in build_cpuinfo_tree()
382 if (cpu_online(cpu_rover)) { in simple_map_to_cpu()
424 while (unlikely(!cpu_online(mapped_cpu))) in map_to_cpu()
Dsmp_64.c712 } else if (status == HV_ENOCPU && !cpu_online(cpu)) { in hypervisor_xcall_deliver()
820 if (i == this_cpu || !cpu_online(i)) in xcall_deliver()
958 } else if (cpu_online(cpu)) { in smp_flush_dcache_folio_impl()
1293 while (!cpu_online(cpu)) in __cpu_up()
1295 if (!cpu_online(cpu)) { in __cpu_up()
/linux-6.6.21/arch/alpha/kernel/
Dsmp.c122 if (cpu_online(cpuid)) { in smp_callin()
480 return cpu_online(cpu) ? 0 : -ENOSYS; in __cpu_up()
490 if (cpu_online(cpu)) in smp_cpus_done()
648 if (!cpu_online(cpu) || cpu == this_cpu) in flush_tlb_mm()
695 if (!cpu_online(cpu) || cpu == this_cpu) in flush_tlb_page()
749 if (!cpu_online(cpu) || cpu == this_cpu) in flush_icache_user_page()
/linux-6.6.21/drivers/xen/
Dcpu_hotplug.c25 if (cpu_online(cpu)) in disable_hotplug_cpu()
27 if (!cpu_online(cpu) && cpu_present(cpu)) { in disable_hotplug_cpu()
/linux-6.6.21/arch/loongarch/kernel/
Dmachine_kexec.c145 if (!cpu_online(cpu)) in kexec_shutdown_secondary()
175 if (!cpu_online(cpu)) in crash_shutdown_secondary()
232 if (!cpu_online(cpu)) in machine_shutdown()
/linux-6.6.21/kernel/
Dsmp.c410 if ((unsigned)cpu >= nr_cpu_ids || !cpu_online(cpu)) { in generic_exec_single()
464 if (unlikely(warn_cpu_offline && !cpu_online(smp_processor_id()) && in __flush_smp_call_function_queue()
623 WARN_ON_ONCE(cpu_online(this_cpu) && irqs_disabled() in smp_call_function_single()
734 if (cpu_online(cpu)) in smp_call_function_any()
776 if (cpu_online(this_cpu) && !oops_in_progress && in smp_call_function_many_cond()
1063 if (cpu != smp_processor_id() && cpu_online(cpu)) in wake_up_all_idle_cpus()
1117 if (cpu >= nr_cpu_ids || !cpu_online(cpu)) in smp_call_on_cpu()
Dtorture.c209 if (!cpu_online(cpu) || !cpu_is_hotpluggable(cpu)) in torture_offline()
271 if (cpu_online(cpu) || !cpu_is_hotpluggable(cpu)) in torture_online()
324 if (cpu_online(cpu)) in torture_online_all()
/linux-6.6.21/arch/arm/mach-exynos/
Dpm.c197 if (cpu_online(1)) { in exynos_cpu0_enter_aftr()
233 if (cpu_online(1)) { in exynos_cpu0_enter_aftr()
/linux-6.6.21/drivers/tty/hvc/
Dhvc_dcc.c194 if (cpu_online(0)) in hvc_dcc0_put_chars()
235 if (!len && cpu_online(0)) in hvc_dcc0_get_chars()
/linux-6.6.21/arch/arc/kernel/
Dsmp.c222 if (cpu_online(cpu)) in __cpu_up()
226 if (!cpu_online(cpu)) { in __cpu_up()
/linux-6.6.21/arch/mips/kernel/
Dcrash.c36 if (!cpu_online(cpu)) in crash_shutdown_secondary()
/linux-6.6.21/fs/proc/
Dstat.c29 if (cpu_online(cpu)) in get_idle_time()
45 if (cpu_online(cpu)) in get_iowait_time()
/linux-6.6.21/drivers/soc/fsl/qbman/
Ddpaa_sys.h124 if (cpu == -1 || !cpu_online(cpu)) in dpaa_set_portal_irq_affinity()
/linux-6.6.21/arch/powerpc/platforms/pseries/
Dpseries_energy.c214 if ((cpu_online(cpu) && !activate) || in get_best_energy_list()
215 (!cpu_online(cpu) && activate)) in get_best_energy_list()
/linux-6.6.21/arch/hexagon/kernel/
Dsetup.c119 if (!cpu_online(cpu)) in show_cpuinfo()
/linux-6.6.21/arch/sh/kernel/
Dsmp.c232 if (cpu_online(cpu)) in __cpu_up()
239 if (cpu_online(cpu)) in __cpu_up()
/linux-6.6.21/arch/powerpc/platforms/85xx/
Dsmp.c302 if (cpu_online(primary)) { in smp_85xx_kick_cpu()
306 } else if (cpu_online(primary + 1)) { in smp_85xx_kick_cpu()
/linux-6.6.21/arch/powerpc/include/asm/
Dtrace.h83 TP_CONDITION(cpu_online(raw_smp_processor_id())),
104 TP_CONDITION(cpu_online(raw_smp_processor_id())),
/linux-6.6.21/drivers/cpuidle/
Dcoupled.c307 if (cpu_online(i) && coupled->requested_state[i] < state) in cpuidle_coupled_get_state()
353 if (cpu != this_cpu && cpu_online(cpu)) in cpuidle_coupled_poke_others()
/linux-6.6.21/arch/powerpc/kernel/
Dsmp.c608 if (cpu_online(cpu)) in crash_send_ipi()
1348 spin_until_cond(cpu_online(cpu)); in __cpu_up()
1424 if (cpu_online(i)) in update_mask_by_l2()
1515 if (cpu_online(i)) in add_cpu_to_smallcore_masks()
1574 if (cpu_online(i)) in add_cpu_to_masks()
/linux-6.6.21/kernel/debug/kdb/
Dkdb_bt.c111 if (cpu >= num_possible_cpus() || !cpu_online(cpu)) { in kdb_bt_cpu()
/linux-6.6.21/kernel/trace/
Dtrace_kdb.c115 !cpu_online(cpu_file)) in kdb_ftdump()
/linux-6.6.21/arch/mips/loongson64/
Dreset.c128 if (!cpu_online(cpu)) in loongson_kexec_shutdown()
/linux-6.6.21/arch/powerpc/platforms/cell/
Dcpufreq_spudemand.c83 if (!cpu_online(cpu)) { in spu_gov_start()

123456