/linux/arch/sparc/kernel/ |
A D | cpumap.c | 139 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()
|
A D | smp_64.c | 712 } 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/arch/parisc/kernel/ |
A D | smp.c | 93 if(cpu_online(cpuid) ) in ipi_init() 286 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()
|
/linux/fs/proc/ |
A D | stat.c | 32 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/arch/alpha/kernel/ |
A D | smp.c | 122 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/drivers/xen/ |
A D | cpu_hotplug.c | 25 if (cpu_online(cpu)) in disable_hotplug_cpu() 27 if (!cpu_online(cpu) && cpu_present(cpu)) { in disable_hotplug_cpu()
|
/linux/arch/arm/mach-exynos/ |
A D | pm.c | 197 if (cpu_online(1)) { in exynos_cpu0_enter_aftr() 233 if (cpu_online(1)) { in exynos_cpu0_enter_aftr()
|
/linux/kernel/ |
A D | smp.c | 524 if ((unsigned)cpu >= nr_cpu_ids || !cpu_online(cpu)) { in generic_exec_single() 581 if (unlikely(warn_cpu_offline && !cpu_online(smp_processor_id()) && in flush_smp_call_function_queue() 731 WARN_ON_ONCE(cpu_online(this_cpu) && irqs_disabled() in smp_call_function_single() 842 if (cpu_online(cpu)) in smp_call_function_any() 884 if (cpu_online(this_cpu) && !oops_in_progress && in smp_call_function_many_cond() 1175 if (cpu != smp_processor_id() && cpu_online(cpu)) in wake_up_all_idle_cpus() 1229 if (cpu >= nr_cpu_ids || !cpu_online(cpu)) in smp_call_on_cpu()
|
A D | cpu.c | 564 if (WARN_ON_ONCE((!cpu_online(cpu)))) in bringup_wait_for_ap() 820 if (!cpu_online(cpu)) in cpuhp_invoke_ap_callback() 972 WARN_ON(cpu_online(cpu)); in clear_tasks_mm_cpumask() 1051 BUG_ON(cpu_online(cpu)); in takedown_cpu() 1242 if (!cpu_online(primary_cpu)) in smp_shutdown_nonboot_cpus() 1458 if (!cpu_online(sleep_cpu)) { in bringup_hibernate_cpu() 1476 if (!cpu_online(cpu)) in bringup_nonboot_cpus() 1494 if (!cpu_online(primary)) in freeze_secondary_cpus() 2252 if (cpu_online(cpu) || !node_online(cpu_to_node(cpu))) in cpuhp_smt_enable()
|
A D | torture.c | 204 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/arch/powerpc/include/asm/ |
A D | trace.h | 83 TP_CONDITION(cpu_online(raw_smp_processor_id())), 104 TP_CONDITION(cpu_online(raw_smp_processor_id())),
|
/linux/arch/arc/kernel/ |
A D | smp.c | 221 if (cpu_online(cpu)) in __cpu_up() 225 if (!cpu_online(cpu)) { in __cpu_up()
|
/linux/arch/powerpc/platforms/pseries/ |
A D | pseries_energy.c | 214 if ((cpu_online(cpu) && !activate) || in get_best_energy_list() 215 (!cpu_online(cpu) && activate)) in get_best_energy_list()
|
/linux/drivers/thermal/intel/ |
A D | intel_powerclamp.c | 401 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/arch/mips/kernel/ |
A D | crash.c | 36 if (!cpu_online(cpu)) in crash_shutdown_secondary()
|
/linux/drivers/soc/fsl/qbman/ |
A D | dpaa_sys.h | 124 if (cpu == -1 || !cpu_online(cpu)) in dpaa_set_portal_irq_affinity()
|
/linux/arch/sh/kernel/ |
A D | smp.c | 232 if (cpu_online(cpu)) in __cpu_up() 239 if (cpu_online(cpu)) in __cpu_up()
|
/linux/arch/powerpc/platforms/85xx/ |
A D | smp.c | 302 if (cpu_online(primary)) { in smp_85xx_kick_cpu() 306 } else if (cpu_online(primary + 1)) { in smp_85xx_kick_cpu()
|
/linux/arch/x86/kernel/cpu/microcode/ |
A D | core.c | 493 if (topology_is_primary_thread(cpu) && !cpu_online(cpu)) { in check_online_cpus() 726 if (!cpu_online(cpu)) in mc_device_add() 745 if (!cpu_online(cpu)) in mc_device_remove()
|
/linux/arch/hexagon/kernel/ |
A D | setup.c | 119 if (!cpu_online(cpu)) in show_cpuinfo()
|
/linux/arch/powerpc/kernel/ |
A D | smp.c | 606 if (cpu_online(cpu)) in crash_send_ipi() 1305 spin_until_cond(cpu_online(cpu)); in __cpu_up() 1381 if (cpu_online(i)) in update_mask_by_l2() 1472 if (cpu_online(i)) in add_cpu_to_smallcore_masks() 1531 if (cpu_online(i)) in add_cpu_to_masks()
|
/linux/include/linux/ |
A D | cpumask.h | 893 static inline bool cpu_online(unsigned int cpu) in cpu_online() function 925 static inline bool cpu_online(unsigned int cpu) in cpu_online() function 952 #define cpu_is_offline(cpu) unlikely(!cpu_online(cpu))
|
/linux/drivers/cpuidle/ |
A D | coupled.c | 307 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/arch/ia64/kernel/ |
A D | iosapic.c | 643 if (!cpu_online(smp_processor_id())) in get_target_cpu() 662 if (cpu_online(numa_cpu)) in get_target_cpu() 673 if (cpu_online(numa_cpu) && i++ >= cpu_index) in get_target_cpu() 689 } while (!cpu_online(cpu) || !cpumask_test_cpu(cpu, &domain)); in get_target_cpu()
|
/linux/arch/riscv/kernel/ |
A D | smpboot.c | 139 if (!cpu_online(cpu)) { in __cpu_up()
|