Home
last modified time | relevance | path

Searched refs:to_cpumask (Results 1 – 13 of 13) sorted by relevance

/linux-6.1.9/lib/
Dnmi_backtrace.c51 cpumask_copy(to_cpumask(backtrace_mask), mask); in nmi_trigger_cpumask_backtrace()
53 cpumask_clear_cpu(this_cpu, to_cpumask(backtrace_mask)); in nmi_trigger_cpumask_backtrace()
61 if (cpumask_test_cpu(this_cpu, to_cpumask(backtrace_mask))) in nmi_trigger_cpumask_backtrace()
64 if (!cpumask_empty(to_cpumask(backtrace_mask))) { in nmi_trigger_cpumask_backtrace()
66 this_cpu, nr_cpumask_bits, to_cpumask(backtrace_mask)); in nmi_trigger_cpumask_backtrace()
67 raise(to_cpumask(backtrace_mask)); in nmi_trigger_cpumask_backtrace()
72 if (cpumask_empty(to_cpumask(backtrace_mask))) in nmi_trigger_cpumask_backtrace()
97 if (cpumask_test_cpu(cpu, to_cpumask(backtrace_mask))) { in nmi_cpu_backtrace()
114 cpumask_clear_cpu(cpu, to_cpumask(backtrace_mask)); in nmi_cpu_backtrace()
/linux-6.1.9/arch/x86/kernel/
Dnmi_selftest.c59 if (cpumask_test_and_clear_cpu(cpu, to_cpumask(nmi_ipi_mask))) in test_nmi_ipi_callback()
95 cpumask_copy(to_cpumask(nmi_ipi_mask), cpu_online_mask); in remote_ipi()
96 cpumask_clear_cpu(smp_processor_id(), to_cpumask(nmi_ipi_mask)); in remote_ipi()
97 if (!cpumask_empty(to_cpumask(nmi_ipi_mask))) in remote_ipi()
98 test_nmi_ipi(to_cpumask(nmi_ipi_mask)); in remote_ipi()
103 cpumask_clear(to_cpumask(nmi_ipi_mask)); in local_ipi()
104 cpumask_set_cpu(smp_processor_id(), to_cpumask(nmi_ipi_mask)); in local_ipi()
105 test_nmi_ipi(to_cpumask(nmi_ipi_mask)); in local_ipi()
/linux-6.1.9/drivers/powercap/
Didle_inject.c91 for_each_cpu_and(cpu, to_cpumask(ii_dev->cpumask), cpu_online_mask) { in idle_inject_wakeup()
205 cpumask_pr_args(to_cpumask(ii_dev->cpumask))); in idle_inject_start()
234 cpumask_pr_args(to_cpumask(ii_dev->cpumask))); in idle_inject_stop()
253 for_each_cpu(cpu, to_cpumask(ii_dev->cpumask)) { in idle_inject_stop()
309 cpumask_copy(to_cpumask(ii_dev->cpumask), cpumask); in idle_inject_register()
314 for_each_cpu(cpu, to_cpumask(ii_dev->cpumask)) { in idle_inject_register()
327 for_each_cpu(cpu_rb, to_cpumask(ii_dev->cpumask)) { in idle_inject_register()
352 for_each_cpu(cpu, to_cpumask(ii_dev->cpumask)) in idle_inject_unregister()
Ddtpm_cpu.c51 cpumask_and(&cpus, cpu_online_mask, to_cpumask(pd->cpus)); in set_pd_power_limit()
121 cpumask_and(&cpus, cpu_online_mask, to_cpumask(em->cpus)); in update_pd_power_uw()
/linux-6.1.9/include/linux/
Denergy_model.h78 #define em_span_cpus(em) (to_cpumask((em)->cpus))
242 cpu = cpumask_first(to_cpumask(pd->cpus)); in em_cpu_energy()
Dcpumask.h911 #define cpu_all_mask to_cpumask(cpu_all_bits)
914 #define cpu_none_mask to_cpumask(cpu_bit_bitmap[0])
985 #define to_cpumask(bitmap) \ macro
1008 return to_cpumask(p); in get_cpu_mask()
/linux-6.1.9/drivers/acpi/
Dacpi_pad.c88 struct cpumask *pad_busy_cpus = to_cpumask(pad_busy_cpus_bits); in round_robin_cpu()
131 struct cpumask *pad_busy_cpus = to_cpumask(pad_busy_cpus_bits); in exit_round_robin()
333 to_cpumask(pad_busy_cpus_bits)); in idlecpus_show()
/linux-6.1.9/include/linux/sched/
Dtopology.h167 return to_cpumask(sd->span); in sched_domain_span()
/linux-6.1.9/kernel/power/
Denergy_model.c51 seq_printf(s, "%*pbl\n", cpumask_pr_args(to_cpumask(s->private))); in em_debug_cpus_show()
/linux-6.1.9/kernel/sched/
Dsched.h1854 return to_cpumask(sg->cpumask); in sched_group_span()
1862 return to_cpumask(sg->sgc->cpumask); in group_balance_mask()
3153 #define perf_domain_span(pd) (to_cpumask(((pd)->em_pd->cpus)))
Dtopology.c1317 #define cpu_capacity_span(asym_data) to_cpumask((asym_data)->cpus)
/linux-6.1.9/mm/
Dslub.c5122 to_cpumask(l->cpus)); in add_location()
5159 cpumask_clear(to_cpumask(l->cpus)); in add_location()
5160 cpumask_set_cpu(track->cpu, to_cpumask(l->cpus)); in add_location()
6096 if (num_online_cpus() > 1 && !cpumask_empty(to_cpumask(l->cpus))) in slab_debugfs_show()
6098 cpumask_pr_args(to_cpumask(l->cpus))); in slab_debugfs_show()
/linux-6.1.9/arch/x86/xen/
Dmmu_pv.c1282 args->op.arg2.vcpumask = to_cpumask(args->mask); in xen_flush_tlb_multi()
1285 cpumask_and(to_cpumask(args->mask), cpus, cpu_online_mask); in xen_flush_tlb_multi()