/kernel/linux/linux-5.10/arch/x86/kernel/ |
D | smp.c | 169 if (num_online_cpus() > 1) { in native_stop_other_cpus() 186 while (num_online_cpus() > 1 && timeout--) in native_stop_other_cpus() 191 if (num_online_cpus() > 1) { in native_stop_other_cpus() 211 while (num_online_cpus() > 1 && (wait || timeout--)) in native_stop_other_cpus()
|
/kernel/linux/linux-5.10/arch/arm/mach-imx/ |
D | cpuidle-imx6q.c | 23 if (++num_idle_cpus == num_online_cpus()) in imx6q_enter_wait() 32 if (num_idle_cpus-- == num_online_cpus()) in imx6q_enter_wait()
|
/kernel/linux/linux-5.10/arch/riscv/kernel/ |
D | smp.c | 224 if (num_online_cpus() > 1) { in smp_send_stop() 237 while (num_online_cpus() > 1 && timeout--) in smp_send_stop() 240 if (num_online_cpus() > 1) in smp_send_stop()
|
D | patch.c | 113 if (atomic_inc_return(&patch->cpu_count) == num_online_cpus()) { in patch_text_cb() 119 while (atomic_read(&patch->cpu_count) <= num_online_cpus()) in patch_text_cb()
|
/kernel/linux/linux-5.10/kernel/sched/ |
D | membarrier.c | 112 if (num_online_cpus() == 1) in membarrier_global_expedited() 204 (atomic_read(&mm->mm_users) == 1 || num_online_cpus() == 1)) in membarrier_private_expedited() 300 if (atomic_read(&mm->mm_users) == 1 || num_online_cpus() == 1) { in sync_runqueues_membarrier_state() 478 if (num_online_cpus() > 1) in SYSCALL_DEFINE3()
|
/kernel/linux/linux-5.10/arch/x86/kernel/apic/ |
D | ipi.c | 41 if (apic_ipi_shorthand_off || num_online_cpus() == 1 || in apic_smt_update() 51 if (num_online_cpus() < 2) in apic_send_IPI_allbutself() 89 else if (num_online_cpus() > 1) in native_send_call_func_ipi()
|
/kernel/linux/linux-5.10/arch/xtensa/kernel/ |
D | jump_label.c | 43 if (atomic_inc_return(&patch->cpu_count) == num_online_cpus()) { in patch_text_stop_machine() 47 while (atomic_read(&patch->cpu_count) <= num_online_cpus()) in patch_text_stop_machine()
|
/kernel/linux/linux-5.10/arch/arm/kernel/ |
D | machine_kexec.c | 103 atomic_set(&waiting_for_crash_ipi, num_online_cpus() - 1); in crash_smp_send_stop() 168 BUG_ON(num_online_cpus() > 1); in machine_kexec()
|
D | hibernate.c | 36 WARN_ON(num_online_cpus() != 1); in save_processor_state()
|
D | reboot.c | 81 _soft_restart(addr, num_online_cpus() == 1); in soft_restart()
|
D | smp.c | 482 num_online_cpus(), in smp_cpus_done() 765 while (num_online_cpus() > 1 && timeout--) in smp_send_stop() 768 if (num_online_cpus() > 1) in smp_send_stop()
|
/kernel/linux/linux-5.10/drivers/nvdimm/ |
D | region.c | 19 if (nd_region->num_lanes > num_online_cpus() in nd_region_probe() 23 num_online_cpus(), nd_region->num_lanes, in nd_region_probe()
|
/kernel/linux/linux-5.10/arch/arm/mm/ |
D | l2c-common.c | 13 WARN_ON(num_online_cpus() > 1); in outer_disable()
|
/kernel/linux/linux-5.10/arch/powerpc/mm/nohash/ |
D | mmu_context.c | 251 if (nact > num_online_cpus()) in context_check_map() 253 nact, num_online_cpus()); in context_check_map() 308 if (num_online_cpus() > 1) { in switch_mmu_context()
|
/kernel/linux/linux-5.10/arch/x86/mm/ |
D | mmio-mod.c | 384 if (num_online_cpus() > 1) in enter_uniprocessor() 396 if (num_online_cpus() > 1) in enter_uniprocessor() 420 if (num_online_cpus() > 1) in enter_uniprocessor()
|
/kernel/linux/linux-5.10/arch/arm/mach-omap2/ |
D | cpuidle44xx.c | 102 if (cx->mpu_state_vote == num_online_cpus()) { in omap_enter_idle_smp() 111 if (cx->mpu_state_vote == num_online_cpus()) in omap_enter_idle_smp()
|
/kernel/linux/linux-5.10/arch/parisc/kernel/ |
D | setup.c | 320 num_online_cpus(), num_present_cpus(), in parisc_init() 330 if (num_online_cpus() == 1) in parisc_init()
|
/kernel/linux/linux-5.10/mm/ |
D | swap_slots.c | 101 if (pages > num_online_cpus() * in check_cache_active() 108 if (pages < num_online_cpus() * THRESHOLD_DEACTIVATE_SWAP_SLOTS_CACHE) in check_cache_active()
|
/kernel/linux/linux-5.10/kernel/printk/ |
D | printk_safe.c | 274 if (num_online_cpus() > 1) in printk_safe_flush_on_panic() 282 if (num_online_cpus() > 1) in printk_safe_flush_on_panic()
|
/kernel/linux/linux-5.10/lib/ |
D | percpu_counter.c | 189 int nr = num_online_cpus(); in compute_batch_value() 227 if (abs(count - rhs) > (batch * num_online_cpus())) { in __percpu_counter_compare()
|
/kernel/linux/linux-5.10/arch/mips/kernel/ |
D | crash.c | 64 ncpus = num_online_cpus() - 1;/* Excluding the panic cpu */ in crash_kexec_prepare_cpus()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
D | affinity.h | 117 int num_online_cpus; member
|
/kernel/linux/linux-5.10/drivers/cpuidle/ |
D | cpuidle-ux500.c | 29 if (atomic_inc_return(&master) == num_online_cpus()) { in ux500_enter_idle()
|
D | cpuidle-exynos.c | 65 if (num_online_cpus() > 1 || dev->cpu != 0) in exynos_enter_lowpower()
|
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
D | cq.c | 308 min_t(int, dev->num_comp_vectors, num_online_cpus()); in __ib_alloc_cq_any() 396 nr_cqs = min_t(unsigned int, dev->num_comp_vectors, num_online_cpus()); in ib_alloc_cqs() 452 min_t(unsigned int, dev->num_comp_vectors, num_online_cpus()); in ib_cq_pool_get()
|