Home
last modified time | relevance | path

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

12345

/kernel/linux/linux-5.10/arch/parisc/kernel/
Dsmp.c93 if(cpu_online(cpuid) ) in ipi_init()
284 if (cpu_online(cpunum)) { in smp_cpu_init()
374 if(cpu_online(cpuid)) { in smp_boot_one_cpu()
436 return cpu_online(cpu) ? 0 : -ENOSYS; in __cpu_up()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/fs/proc/
Dstat.c31 if (cpu_online(cpu) && !nr_iowait_cpu(cpu)) in get_idle_time()
41 if (cpu_online(cpu) && nr_iowait_cpu(cpu)) in get_iowait_time()
52 if (cpu_online(cpu)) in get_idle_time()
68 if (cpu_online(cpu)) in get_iowait_time()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/kernel/
Dsmp.c299 if ((unsigned)cpu >= nr_cpu_ids || !cpu_online(cpu)) { in generic_exec_single()
348 if (unlikely(warn_cpu_offline && !cpu_online(smp_processor_id()) && in flush_smp_call_function_queue()
489 WARN_ON_ONCE(cpu_online(this_cpu) && irqs_disabled() in smp_call_function_single()
598 if (cpu_online(cpu)) in smp_call_function_any()
624 WARN_ON_ONCE(cpu_online(this_cpu) && irqs_disabled() in smp_call_function_many_cond()
1008 if (cpu >= nr_cpu_ids || !cpu_online(cpu)) in smp_call_on_cpu()
Dtorture.c96 if (!cpu_online(cpu) || !cpu_is_hotpluggable(cpu)) in torture_offline()
156 if (cpu_online(cpu) || !cpu_is_hotpluggable(cpu)) in torture_online()
217 if (cpu_online(cpu)) in torture_onoff()
Dcpu.c529 if (WARN_ON_ONCE((!cpu_online(cpu)))) in bringup_wait_for_ap()
748 if (!cpu_online(cpu)) in cpuhp_invoke_ap_callback()
900 WARN_ON(cpu_online(cpu)); in clear_tasks_mm_cpumask()
980 BUG_ON(cpu_online(cpu)); in takedown_cpu()
1172 if (!cpu_online(primary_cpu)) in smp_shutdown_nonboot_cpus()
1386 if (!cpu_online(sleep_cpu)) { in bringup_hibernate_cpu()
1404 if (!cpu_online(cpu)) in bringup_nonboot_cpus()
1422 if (!cpu_online(primary)) in freeze_secondary_cpus()
2183 if (cpu_online(cpu) || !node_online(cpu_to_node(cpu))) in cpuhp_smt_enable()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dtrace.h83 TP_CONDITION(cpu_online(raw_smp_processor_id())),
104 TP_CONDITION(cpu_online(raw_smp_processor_id())),
/kernel/linux/linux-5.10/arch/arc/kernel/
Dsmp.c223 if (cpu_online(cpu)) in __cpu_up()
227 if (!cpu_online(cpu)) { in __cpu_up()
/kernel/linux/linux-5.10/arch/mips/kernel/
Dcrash.c36 if (!cpu_online(cpu)) in crash_shutdown_secondary()
/kernel/linux/linux-5.10/drivers/soc/fsl/qbman/
Ddpaa_sys.h124 if (cpu == -1 || !cpu_online(cpu)) in dpaa_set_portal_irq_affinity()
/kernel/linux/linux-5.10/arch/hexagon/kernel/
Dsetup.c119 if (!cpu_online(cpu)) in show_cpuinfo()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/arch/sh/kernel/
Dsmp.c232 if (cpu_online(cpu)) in __cpu_up()
239 if (cpu_online(cpu)) in __cpu_up()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/arch/riscv/kernel/
Dsmpboot.c128 if (!cpu_online(cpu)) { in __cpu_up()
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/microcode/
Dcore.c510 if (topology_is_primary_thread(cpu) && !cpu_online(cpu)) { in check_online_cpus()
743 if (!cpu_online(cpu)) in mc_device_add()
762 if (!cpu_online(cpu)) in mc_device_remove()
/kernel/linux/linux-5.10/include/linux/
Dcpumask.h123 #define cpu_online(cpu) cpumask_test_cpu((cpu), cpu_online_mask) macro
132 #define cpu_online(cpu) ((cpu) == 0) macro
926 #define cpu_is_offline(cpu) unlikely(!cpu_online(cpu))
/kernel/linux/linux-5.10/drivers/hwmon/
Damd_energy.c115 if (cpu_online(cpu)) in read_accumulate()
160 if (!cpu_online(cpu)) in amd_energy_read()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/kernel/trace/
Dtrace_kdb.c115 !cpu_online(cpu_file)) in kdb_ftdump()
/kernel/linux/linux-5.10/arch/powerpc/platforms/cell/
Dcpufreq_spudemand.c83 if (!cpu_online(cpu)) { in spu_gov_start()
/kernel/linux/linux-5.10/kernel/debug/kdb/
Dkdb_bt.c111 if (cpu >= num_possible_cpus() || !cpu_online(cpu)) { in kdb_bt_cpu()

12345