Home
last modified time | relevance | path

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

/linux/lib/
A 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/arch/x86/kernel/
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()
/linux/drivers/powercap/
A 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()
A Ddtpm_cpu.c50 cpumask_and(&cpus, cpu_online_mask, to_cpumask(pd->cpus)); in set_pd_power_limit()
136 cpumask_and(&cpus, cpu_online_mask, to_cpumask(em->cpus)); in update_pd_power_uw()
/linux/include/linux/
A Denergy_model.h74 #define em_span_cpus(em) (to_cpumask((em)->cpus))
193 cpu = cpumask_first(to_cpumask(pd->cpus)); in em_cpu_energy()
A Dcpumask.h783 #define cpu_all_mask to_cpumask(cpu_all_bits)
786 #define cpu_none_mask to_cpumask(cpu_bit_bitmap[0])
850 #define to_cpumask(bitmap) \ macro
873 return to_cpumask(p); in get_cpu_mask()
/linux/drivers/acpi/
A Dacpi_pad.c87 struct cpumask *pad_busy_cpus = to_cpumask(pad_busy_cpus_bits); in round_robin_cpu()
130 struct cpumask *pad_busy_cpus = to_cpumask(pad_busy_cpus_bits); in exit_round_robin()
326 to_cpumask(pad_busy_cpus_bits)); in idlecpus_show()
/linux/include/linux/sched/
A Dtopology.h165 return to_cpumask(sd->span); in sched_domain_span()
/linux/kernel/power/
A Denergy_model.c51 seq_printf(s, "%*pbl\n", cpumask_pr_args(to_cpumask(s->private))); in em_debug_cpus_show()
/linux/kernel/sched/
A Dsched.h1812 return to_cpumask(sg->cpumask); in sched_group_span()
1820 return to_cpumask(sg->sgc->cpumask); in group_balance_mask()
2989 #define perf_domain_span(pd) (to_cpumask(((pd)->em_pd->cpus)))
A Dtopology.c1297 #define cpu_capacity_span(asym_data) to_cpumask((asym_data)->cpus)
/linux/mm/
A Dslub.c5155 to_cpumask(l->cpus)); in add_location()
5185 cpumask_clear(to_cpumask(l->cpus)); in add_location()
5186 cpumask_set_cpu(track->cpu, to_cpumask(l->cpus)); in add_location()
6084 if (num_online_cpus() > 1 && !cpumask_empty(to_cpumask(l->cpus))) in slab_debugfs_show()
6086 cpumask_pr_args(to_cpumask(l->cpus))); in slab_debugfs_show()
/linux/arch/x86/xen/
A Dmmu_pv.c1281 args->op.arg2.vcpumask = to_cpumask(args->mask); in xen_flush_tlb_multi()
1284 cpumask_and(to_cpumask(args->mask), cpus, cpu_online_mask); in xen_flush_tlb_multi()

Completed in 47 milliseconds