Home
last modified time | relevance | path

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

123456

/linux/arch/sparc/kernel/
A 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()
A 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/arch/parisc/kernel/
A Dsmp.c93 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 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/arch/alpha/kernel/
A 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/drivers/xen/
A Dcpu_hotplug.c25 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 Dpm.c197 if (cpu_online(1)) { in exynos_cpu0_enter_aftr()
233 if (cpu_online(1)) { in exynos_cpu0_enter_aftr()
/linux/kernel/
A Dsmp.c524 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 Dcpu.c564 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 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/arch/powerpc/include/asm/
A Dtrace.h83 TP_CONDITION(cpu_online(raw_smp_processor_id())),
104 TP_CONDITION(cpu_online(raw_smp_processor_id())),
/linux/arch/arc/kernel/
A Dsmp.c221 if (cpu_online(cpu)) in __cpu_up()
225 if (!cpu_online(cpu)) { in __cpu_up()
/linux/arch/powerpc/platforms/pseries/
A Dpseries_energy.c214 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 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/arch/mips/kernel/
A Dcrash.c36 if (!cpu_online(cpu)) in crash_shutdown_secondary()
/linux/drivers/soc/fsl/qbman/
A Ddpaa_sys.h124 if (cpu == -1 || !cpu_online(cpu)) in dpaa_set_portal_irq_affinity()
/linux/arch/sh/kernel/
A Dsmp.c232 if (cpu_online(cpu)) in __cpu_up()
239 if (cpu_online(cpu)) in __cpu_up()
/linux/arch/powerpc/platforms/85xx/
A Dsmp.c302 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 Dcore.c493 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 Dsetup.c119 if (!cpu_online(cpu)) in show_cpuinfo()
/linux/arch/powerpc/kernel/
A Dsmp.c606 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 Dcpumask.h893 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 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/arch/ia64/kernel/
A Diosapic.c643 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 Dsmpboot.c139 if (!cpu_online(cpu)) { in __cpu_up()

Completed in 45 milliseconds

123456