Home
last modified time | relevance | path

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

/openbmc/linux/lib/
H A Dnmi_backtrace.c51 cpumask_copy(to_cpumask(backtrace_mask), mask); in nmi_trigger_cpumask_backtrace()
53 cpumask_clear_cpu(exclude_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 nmi_backtrace_stall_snap(to_cpumask(backtrace_mask)); in nmi_trigger_cpumask_backtrace()
68 raise(to_cpumask(backtrace_mask)); in nmi_trigger_cpumask_backtrace()
73 if (cpumask_empty(to_cpumask(backtrace_mask))) in nmi_trigger_cpumask_backtrace()
78 nmi_backtrace_stall_check(to_cpumask(backtrace_mask)); in nmi_trigger_cpumask_backtrace()
99 if (cpumask_test_cpu(cpu, to_cpumask(backtrace_mask))) { in nmi_cpu_backtrace()
[all …]
/openbmc/linux/arch/x86/kernel/
H A 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()
/openbmc/linux/drivers/powercap/
H A Didle_inject.c107 for_each_cpu_and(cpu, to_cpumask(ii_dev->cpumask), cpu_online_mask) { in idle_inject_wakeup()
230 cpumask_pr_args(to_cpumask(ii_dev->cpumask))); in idle_inject_start()
260 cpumask_pr_args(to_cpumask(ii_dev->cpumask))); in idle_inject_stop()
279 for_each_cpu(cpu, to_cpumask(ii_dev->cpumask)) { in idle_inject_stop()
341 cpumask_copy(to_cpumask(ii_dev->cpumask), cpumask); in idle_inject_register_full()
347 for_each_cpu(cpu, to_cpumask(ii_dev->cpumask)) { in idle_inject_register_full()
360 for_each_cpu(cpu_rb, to_cpumask(ii_dev->cpumask)) { in idle_inject_register_full()
403 for_each_cpu(cpu, to_cpumask(ii_dev->cpumask)) in idle_inject_unregister()
H A Ddtpm_cpu.c50 cpumask_and(&cpus, cpu_online_mask, to_cpumask(pd->cpus)); in set_pd_power_limit()
119 cpumask_and(&cpus, cpu_online_mask, to_cpumask(em->cpus)); in update_pd_power_uw()
/openbmc/linux/include/linux/
H A Denergy_model.h78 #define em_span_cpus(em) (to_cpumask((em)->cpus))
242 cpu = cpumask_first(to_cpumask(pd->cpus)); in em_cpu_energy()
H A Dcpumask.h963 #define cpu_all_mask to_cpumask(cpu_all_bits)
966 #define cpu_none_mask to_cpumask(cpu_bit_bitmap[0])
1037 #define to_cpumask(bitmap) \ macro
1060 return to_cpumask(p); in get_cpu_mask()
/openbmc/linux/drivers/acpi/
H A Dacpi_pad.c89 struct cpumask *pad_busy_cpus = to_cpumask(pad_busy_cpus_bits); in round_robin_cpu()
132 struct cpumask *pad_busy_cpus = to_cpumask(pad_busy_cpus_bits); in exit_round_robin()
336 to_cpumask(pad_busy_cpus_bits)); in idlecpus_show()
/openbmc/linux/include/linux/sched/
H A Dtopology.h167 return to_cpumask(sd->span); in sched_domain_span()
/openbmc/linux/kernel/power/
H A Denergy_model.c51 seq_printf(s, "%*pbl\n", cpumask_pr_args(to_cpumask(s->private))); in em_debug_cpus_show()
/openbmc/linux/kernel/sched/
H A Dsched.h1926 return to_cpumask(sg->cpumask); in sched_group_span()
1934 return to_cpumask(sg->sgc->cpumask); in group_balance_mask()
3216 #define perf_domain_span(pd) (to_cpumask(((pd)->em_pd->cpus)))
H A Dtopology.c1333 #define cpu_capacity_span(asym_data) to_cpumask((asym_data)->cpus)
/openbmc/linux/mm/
H A Dslub.c5328 to_cpumask(l->cpus)); in add_location()
5365 cpumask_clear(to_cpumask(l->cpus)); in add_location()
5366 cpumask_set_cpu(track->cpu, to_cpumask(l->cpus)); in add_location()
6313 if (num_online_cpus() > 1 && !cpumask_empty(to_cpumask(l->cpus))) in slab_debugfs_show()
6315 cpumask_pr_args(to_cpumask(l->cpus))); in slab_debugfs_show()
/openbmc/linux/arch/x86/xen/
H A Dmmu_pv.c1291 args->op.arg2.vcpumask = to_cpumask(args->mask); in xen_flush_tlb_multi()
1294 cpumask_and(to_cpumask(args->mask), cpus, cpu_online_mask); in xen_flush_tlb_multi()