Searched refs:to_cpumask (Results 1 – 13 of 13) sorted by relevance
/linux-6.6.21/lib/ |
D | nmi_backtrace.c | 51 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 …]
|
/linux-6.6.21/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()
|
/linux-6.6.21/drivers/powercap/ |
D | idle_inject.c | 107 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()
|
D | dtpm_cpu.c | 50 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()
|
/linux-6.6.21/include/linux/ |
D | energy_model.h | 78 #define em_span_cpus(em) (to_cpumask((em)->cpus)) 242 cpu = cpumask_first(to_cpumask(pd->cpus)); in em_cpu_energy()
|
D | cpumask.h | 963 #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()
|
/linux-6.6.21/drivers/acpi/ |
D | acpi_pad.c | 89 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() 334 to_cpumask(pad_busy_cpus_bits)); in idlecpus_show()
|
/linux-6.6.21/include/linux/sched/ |
D | topology.h | 167 return to_cpumask(sd->span); in sched_domain_span()
|
/linux-6.6.21/kernel/power/ |
D | energy_model.c | 51 seq_printf(s, "%*pbl\n", cpumask_pr_args(to_cpumask(s->private))); in em_debug_cpus_show()
|
/linux-6.6.21/kernel/sched/ |
D | sched.h | 1923 return to_cpumask(sg->cpumask); in sched_group_span() 1931 return to_cpumask(sg->sgc->cpumask); in group_balance_mask() 3213 #define perf_domain_span(pd) (to_cpumask(((pd)->em_pd->cpus)))
|
D | topology.c | 1333 #define cpu_capacity_span(asym_data) to_cpumask((asym_data)->cpus)
|
/linux-6.6.21/mm/ |
D | slub.c | 5328 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()
|
/linux-6.6.21/arch/x86/xen/ |
D | mmu_pv.c | 1291 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()
|