/linux-6.6.21/arch/sparc/include/asm/ |
D | smp_32.h | 68 sparc32_ipi_ops->cross_call(func, *cpu_online_mask, 0, 0, 0, 0); in xc0() 73 sparc32_ipi_ops->cross_call(func, *cpu_online_mask, arg1, 0, 0, 0); in xc1() 77 sparc32_ipi_ops->cross_call(func, *cpu_online_mask, arg1, arg2, 0, 0); in xc2() 83 sparc32_ipi_ops->cross_call(func, *cpu_online_mask, in xc3() 90 sparc32_ipi_ops->cross_call(func, *cpu_online_mask, in xc4()
|
/linux-6.6.21/drivers/net/wireguard/ |
D | queueing.h | 110 !cpumask_test_cpu(cpu, cpu_online_mask))) { in wg_cpumask_choose_online() 111 cpu_index = id % cpumask_weight(cpu_online_mask); in wg_cpumask_choose_online() 112 cpu = cpumask_first(cpu_online_mask); in wg_cpumask_choose_online() 114 cpu = cpumask_next(cpu, cpu_online_mask); in wg_cpumask_choose_online() 127 int cpu = cpumask_next(*last_cpu, cpu_online_mask); in wg_cpumask_next_online() 129 cpu = cpumask_first(cpu_online_mask); in wg_cpumask_next_online()
|
/linux-6.6.21/arch/ia64/kernel/ |
D | irq.c | 102 cpu_online_mask) >= nr_cpu_ids) { in migrate_irqs() 108 new_cpu = cpumask_any(cpu_online_mask); in migrate_irqs() 141 time_keeper_id = cpumask_first(cpu_online_mask); in fixup_irqs()
|
D | msi_ia64.c | 21 int cpu = cpumask_first_and(cpu_mask, cpu_online_mask); in ia64_set_msi_irq_affinity() 58 cpu_online_mask)); in arch_setup_msi_irq() 122 int cpu = cpumask_first_and(mask, cpu_online_mask); in dmar_msi_set_affinity() 159 cpu_online_mask)); in msi_compose_msg()
|
/linux-6.6.21/include/asm-generic/ |
D | topology.h | 49 #define cpumask_of_node(node) ((node) == 0 ? cpu_online_mask : cpu_none_mask) 51 #define cpumask_of_node(node) ((void)(node), cpu_online_mask)
|
/linux-6.6.21/kernel/irq/ |
D | cpuhotplug.c | 40 cpumask_any_and(m, cpu_online_mask) >= nr_cpu_ids) { in irq_needs_fixup() 113 if (cpumask_any_and(affinity, cpu_online_mask) >= nr_cpu_ids) { in migrate_one_irq() 123 affinity = cpu_online_mask; in migrate_one_irq()
|
D | migration.c | 29 if (cpumask_any_and(desc->pending_mask, cpu_online_mask) >= nr_cpu_ids) { in irq_fixup_move_pending() 77 if (cpumask_any_and(desc->pending_mask, cpu_online_mask) < nr_cpu_ids) { in irq_move_masked_irq()
|
/linux-6.6.21/arch/x86/xen/ |
D | smp.c | 140 for_each_cpu_and(cpu, mask, cpu_online_mask) in __xen_send_IPI_mask() 211 __xen_send_IPI_mask(cpu_online_mask, xen_vector); in xen_send_IPI_all() 232 for_each_cpu_and(cpu, mask, cpu_online_mask) { in xen_send_IPI_mask_allbutself() 242 xen_send_IPI_mask_allbutself(cpu_online_mask, vector); in xen_send_IPI_allbutself()
|
/linux-6.6.21/arch/powerpc/kernel/ |
D | irq.c | 365 if (cpumask_equal(mask, cpu_online_mask)) { in irq_choose_cpu() 374 irq_rover = cpumask_next(irq_rover, cpu_online_mask); in irq_choose_cpu() 376 irq_rover = cpumask_first(cpu_online_mask); in irq_choose_cpu() 382 cpuid = cpumask_first_and(mask, cpu_online_mask); in irq_choose_cpu()
|
/linux-6.6.21/arch/x86/kernel/apic/ |
D | ipi.c | 59 __apic_send_IPI_mask_allbutself(cpu_online_mask, vector); in apic_send_IPI_allbutself() 86 if (!cpumask_or_equal(mask, cpumask_of(cpu), cpu_online_mask)) in native_send_call_func_ipi() 278 WARN_ON(mask & ~cpumask_bits(cpu_online_mask)[0]); in default_send_IPI_mask_logical()
|
D | bigsmp_32.c | 39 default_send_IPI_mask_allbutself_phys(cpu_online_mask, vector); in bigsmp_send_IPI_allbutself() 44 default_send_IPI_mask_sequence_phys(cpu_online_mask, vector); in bigsmp_send_IPI_all()
|
/linux-6.6.21/arch/arm/mach-omap2/ |
D | cpuidle44xx.c | 133 if (dev->cpu == 0 && cpumask_test_cpu(1, cpu_online_mask)) { in omap_enter_idle_coupled() 191 if (dev->cpu == 0 && cpumask_test_cpu(1, cpu_online_mask)) { in omap_enter_idle_coupled() 329 return cpuidle_register(idle_driver, cpu_online_mask); in omap4_idle_init()
|
/linux-6.6.21/arch/riscv/kernel/ |
D | smp.c | 254 cpumask_copy(&mask, cpu_online_mask); in smp_send_stop() 269 cpumask_pr_args(cpu_online_mask)); in smp_send_stop() 306 cpumask_copy(&mask, cpu_online_mask); in crash_smp_send_stop()
|
D | sys_riscv.c | 250 cpumask_copy(&cpus, cpu_online_mask); in do_riscv_hwprobe() 263 cpumask_and(&cpus, &cpus, cpu_online_mask); in do_riscv_hwprobe() 303 hwprobe_one_pair(&pair, cpu_online_mask); in init_hwprobe_vdso_data()
|
/linux-6.6.21/lib/ |
D | cpumask.c | 150 cpumask_nth(i, cpu_online_mask) : in cpumask_local_spread() 151 sched_numa_find_nth_cpu(cpu_online_mask, i, node); in cpumask_local_spread()
|
/linux-6.6.21/include/linux/ |
D | nmi.h | 160 arch_trigger_cpumask_backtrace(cpu_online_mask, -1); in trigger_all_cpu_backtrace() 166 arch_trigger_cpumask_backtrace(cpu_online_mask, exclude_cpu); in trigger_allbutcpu_cpu_backtrace()
|
D | topology.h | 254 return cpumask_nth_and(cpu, cpus, cpu_online_mask); in sched_numa_find_nth_cpu() 278 cpu_online_mask, \
|
D | smp.h | 71 on_each_cpu_cond_mask(NULL, func, info, wait, cpu_online_mask); in on_each_cpu() 105 on_each_cpu_cond_mask(cond_func, func, info, wait, cpu_online_mask); in on_each_cpu_cond()
|
/linux-6.6.21/drivers/powercap/ |
D | dtpm_cpu.c | 50 cpumask_and(&cpus, cpu_online_mask, to_cpumask(pd->cpus)); in set_pd_power_limit() 81 for_each_cpu_and(cpu, pd_mask, cpu_online_mask) in scale_pd_power_uw() 119 cpumask_and(&cpus, cpu_online_mask, to_cpumask(em->cpus)); in update_pd_power_uw()
|
/linux-6.6.21/Documentation/translations/zh_CN/admin-guide/ |
D | cputopology.rst | 64 导致未上线的CPU。[~cpu_online_mask + cpus >= NR_CPUS] 66 online: 在线的CPU,可供调度使用。[cpu_online_mask]
|
/linux-6.6.21/arch/x86/kernel/ |
D | tsc_sync.c | 101 next_cpu = cpumask_next(raw_smp_processor_id(), cpu_online_mask); in tsc_sync_check_timer_fn() 103 next_cpu = cpumask_first(cpu_online_mask); in tsc_sync_check_timer_fn() 457 smp_call_function_single(cpumask_first(cpu_online_mask), check_tsc_sync_source, in check_tsc_sync_target()
|
/linux-6.6.21/arch/s390/kernel/ |
D | processor.c | 324 unsigned long first = cpumask_first(cpu_online_mask); in show_cpuinfo() 338 *pos = cpumask_next(*pos - 1, cpu_online_mask); in c_update() 340 *pos = cpumask_first(cpu_online_mask); in c_update()
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/ |
D | irq_affinity.c | 25 for_each_cpu_and(cpu, req_mask, cpu_online_mask) { in cpu_get_least_loaded() 40 best_cpu = cpumask_first(cpu_online_mask); in cpu_get_least_loaded()
|
/linux-6.6.21/kernel/time/ |
D | clocksource.c | 288 cpumask_copy(&cpus_chosen, cpu_online_mask); in clocksource_verify_choose_cpus() 299 cpu = cpumask_first(cpu_online_mask); in clocksource_verify_choose_cpus() 301 cpu = cpumask_next(cpu, cpu_online_mask); in clocksource_verify_choose_cpus() 319 cpu = cpumask_next(cpu - 1, cpu_online_mask); in clocksource_verify_choose_cpus() 321 cpu = cpumask_first(cpu_online_mask); in clocksource_verify_choose_cpus() 567 next_cpu = cpumask_next(raw_smp_processor_id(), cpu_online_mask); in clocksource_watchdog() 569 next_cpu = cpumask_first(cpu_online_mask); in clocksource_watchdog() 589 add_timer_on(&watchdog_timer, cpumask_first(cpu_online_mask)); in clocksource_start_watchdog()
|
/linux-6.6.21/drivers/cpufreq/ |
D | speedstep-ich.c | 263 policy_cpu = cpumask_any_and(policy->cpus, cpu_online_mask); in speedstep_target() 298 policy_cpu = cpumask_any_and(policy->cpus, cpu_online_mask); in speedstep_cpu_init()
|