Home
last modified time | relevance | path

Searched refs:cpu_online_mask (Results 1 – 25 of 262) sorted by relevance

1234567891011

/linux-6.6.21/arch/sparc/include/asm/
Dsmp_32.h68 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/
Dqueueing.h110 !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/
Dirq.c102 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()
Dmsi_ia64.c21 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/
Dtopology.h49 #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/
Dcpuhotplug.c40 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()
Dmigration.c29 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/
Dsmp.c140 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/
Dirq.c365 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/
Dipi.c59 __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()
Dbigsmp_32.c39 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/
Dcpuidle44xx.c133 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/
Dsmp.c254 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()
Dsys_riscv.c250 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/
Dcpumask.c150 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/
Dnmi.h160 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()
Dtopology.h254 return cpumask_nth_and(cpu, cpus, cpu_online_mask); in sched_numa_find_nth_cpu()
278 cpu_online_mask, \
Dsmp.h71 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/
Ddtpm_cpu.c50 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/
Dcputopology.rst64 导致未上线的CPU。[~cpu_online_mask + cpus >= NR_CPUS]
66 online: 在线的CPU,可供调度使用。[cpu_online_mask]
/linux-6.6.21/arch/x86/kernel/
Dtsc_sync.c101 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/
Dprocessor.c324 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/
Dirq_affinity.c25 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/
Dclocksource.c288 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/
Dspeedstep-ich.c263 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()

1234567891011