Searched refs:to_cpumask (Results 1 – 11 of 11) sorted by relevance
/kernel/linux/linux-5.10/lib/ |
D | nmi_backtrace.c | 51 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() 96 if (cpumask_test_cpu(cpu, to_cpumask(backtrace_mask))) { in nmi_cpu_backtrace() 107 cpumask_clear_cpu(cpu, to_cpumask(backtrace_mask)); in nmi_cpu_backtrace()
|
/kernel/linux/linux-5.10/arch/x86/kernel/ |
D | nmi_selftest.c | 59 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()
|
/kernel/linux/linux-5.10/drivers/powercap/ |
D | idle_inject.c | 91 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()
|
/kernel/linux/linux-5.10/include/linux/ |
D | energy_model.h | 49 #define em_span_cpus(em) (to_cpumask((em)->cpus)) 127 cpu = cpumask_first(to_cpumask(pd->cpus)); in em_cpu_energy()
|
D | cpumask.h | 828 #define cpu_all_mask to_cpumask(cpu_all_bits) 831 #define cpu_none_mask to_cpumask(cpu_bit_bitmap[0]) 900 #define to_cpumask(bitmap) \ macro 923 return to_cpumask(p); in get_cpu_mask()
|
/kernel/linux/linux-5.10/drivers/acpi/ |
D | acpi_pad.c | 87 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() 322 to_cpumask(pad_busy_cpus_bits)); in idlecpus_show()
|
/kernel/linux/linux-5.10/include/linux/sched/ |
D | topology.h | 158 return to_cpumask(sd->span); in sched_domain_span()
|
/kernel/linux/linux-5.10/kernel/power/ |
D | energy_model.c | 49 seq_printf(s, "%*pbl\n", cpumask_pr_args(to_cpumask(s->private))); in em_debug_cpus_show()
|
/kernel/linux/linux-5.10/kernel/sched/ |
D | sched.h | 1633 return to_cpumask(sg->cpumask); in sched_group_span() 1641 return to_cpumask(sg->sgc->cpumask); in group_balance_mask() 2768 #define perf_domain_span(pd) (to_cpumask(((pd)->em_pd->cpus)))
|
/kernel/linux/linux-5.10/arch/x86/xen/ |
D | mmu_pv.c | 1268 args->op.arg2.vcpumask = to_cpumask(args->mask); in xen_flush_tlb_others() 1271 cpumask_and(to_cpumask(args->mask), cpus, cpu_online_mask); in xen_flush_tlb_others() 1272 cpumask_clear_cpu(smp_processor_id(), to_cpumask(args->mask)); in xen_flush_tlb_others()
|
/kernel/linux/linux-5.10/mm/ |
D | slub.c | 4681 to_cpumask(l->cpus)); in add_location() 4711 cpumask_clear(to_cpumask(l->cpus)); in add_location() 4712 cpumask_set_cpu(track->cpu, to_cpumask(l->cpus)); in add_location() 4792 !cpumask_empty(to_cpumask(l->cpus)) && in list_locations() 4796 cpumask_pr_args(to_cpumask(l->cpus))); in list_locations()
|