Home
last modified time | relevance | path

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

123456

/linux-5.19.10/arch/parisc/kernel/
Dsmp.c92 if(cpu_online(cpuid) ) in ipi_init()
285 if (cpu_online(cpunum)) { in smp_cpu_init()
390 if(cpu_online(cpuid)) { in smp_boot_one_cpu()
443 if (cpu_online(cpu)) in __cpu_up()
449 return cpu_online(cpu) ? 0 : -EIO; in __cpu_up()
/linux-5.19.10/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()
952 } else if (cpu_online(cpu)) { in smp_flush_dcache_page_impl()
1283 while (!cpu_online(cpu)) in __cpu_up()
1285 if (!cpu_online(cpu)) { in __cpu_up()
/linux-5.19.10/fs/proc/
Dstat.c32 if (cpu_online(cpu) && !nr_iowait_cpu(cpu)) in get_idle_time()
42 if (cpu_online(cpu) && nr_iowait_cpu(cpu)) in get_iowait_time()
53 if (cpu_online(cpu)) in get_idle_time()
69 if (cpu_online(cpu)) in get_iowait_time()
/linux-5.19.10/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()
654 if (!cpu_online(cpu) || cpu == this_cpu) in flush_tlb_mm()
701 if (!cpu_online(cpu) || cpu == this_cpu) in flush_tlb_page()
755 if (!cpu_online(cpu) || cpu == this_cpu) in flush_icache_user_page()
/linux-5.19.10/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-5.19.10/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-5.19.10/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-5.19.10/arch/powerpc/include/asm/
Dtrace.h83 TP_CONDITION(cpu_online(raw_smp_processor_id())),
104 TP_CONDITION(cpu_online(raw_smp_processor_id())),
/linux-5.19.10/kernel/
Dsmp.c527 if ((unsigned)cpu >= nr_cpu_ids || !cpu_online(cpu)) { in generic_exec_single()
584 if (unlikely(warn_cpu_offline && !cpu_online(smp_processor_id()) && in __flush_smp_call_function_queue()
750 WARN_ON_ONCE(cpu_online(this_cpu) && irqs_disabled() in smp_call_function_single()
861 if (cpu_online(cpu)) in smp_call_function_any()
903 if (cpu_online(this_cpu) && !oops_in_progress && in smp_call_function_many_cond()
1194 if (cpu != smp_processor_id() && cpu_online(cpu)) in wake_up_all_idle_cpus()
1248 if (cpu >= nr_cpu_ids || !cpu_online(cpu)) in smp_call_on_cpu()
Dcpu.c567 if (WARN_ON_ONCE((!cpu_online(cpu)))) in bringup_wait_for_ap()
814 if (!cpu_online(cpu)) in cpuhp_invoke_ap_callback()
978 WARN_ON(cpu_online(cpu)); in clear_tasks_mm_cpumask()
1057 BUG_ON(cpu_online(cpu)); in takedown_cpu()
1254 if (!cpu_online(primary_cpu)) in smp_shutdown_nonboot_cpus()
1470 if (!cpu_online(sleep_cpu)) { in bringup_hibernate_cpu()
1488 if (!cpu_online(cpu)) in bringup_nonboot_cpus()
1506 if (!cpu_online(primary)) in freeze_secondary_cpus()
2274 if (cpu_online(cpu) || !node_online(cpu_to_node(cpu))) in cpuhp_smt_enable()
Dtorture.c204 if (!cpu_online(cpu) || !cpu_is_hotpluggable(cpu)) in torture_offline()
266 if (cpu_online(cpu) || !cpu_is_hotpluggable(cpu)) in torture_online()
319 if (cpu_online(cpu)) in torture_online_all()
/linux-5.19.10/arch/arc/kernel/
Dsmp.c221 if (cpu_online(cpu)) in __cpu_up()
225 if (!cpu_online(cpu)) { in __cpu_up()
/linux-5.19.10/arch/mips/kernel/
Dcrash.c36 if (!cpu_online(cpu)) in crash_shutdown_secondary()
/linux-5.19.10/drivers/soc/fsl/qbman/
Ddpaa_sys.h124 if (cpu == -1 || !cpu_online(cpu)) in dpaa_set_portal_irq_affinity()
/linux-5.19.10/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-5.19.10/arch/x86/kernel/cpu/microcode/
Dcore.c402 if (topology_is_primary_thread(cpu) && !cpu_online(cpu)) { in check_online_cpus()
642 if (!cpu_online(cpu)) in mc_device_add()
661 if (!cpu_online(cpu)) in mc_device_remove()
/linux-5.19.10/arch/hexagon/kernel/
Dsetup.c119 if (!cpu_online(cpu)) in show_cpuinfo()
/linux-5.19.10/drivers/thermal/intel/
Dintel_powerclamp.c401 if (clamping && w_data->clamping && cpu_online(w_data->cpu)) in clamp_balancing_func()
433 if (clamping && w_data->clamping && cpu_online(w_data->cpu)) in clamp_idle_injection_func()
535 if (!cpu_online(control_cpu)) in start_power_clamp()
/linux-5.19.10/arch/sh/kernel/
Dsmp.c232 if (cpu_online(cpu)) in __cpu_up()
239 if (cpu_online(cpu)) in __cpu_up()
/linux-5.19.10/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-5.19.10/arch/riscv/kernel/
Dsmpboot.c135 if (!cpu_online(cpu)) { in __cpu_up()
/linux-5.19.10/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-5.19.10/include/linux/
Dcpumask.h919 static inline bool cpu_online(unsigned int cpu) in cpu_online() function
951 static inline bool cpu_online(unsigned int cpu) in cpu_online() function
978 #define cpu_is_offline(cpu) unlikely(!cpu_online(cpu))
/linux-5.19.10/kernel/debug/kdb/
Dkdb_bt.c111 if (cpu >= num_possible_cpus() || !cpu_online(cpu)) { in kdb_bt_cpu()

123456