Home
last modified time | relevance | path

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

/linux/drivers/powercap/
H A Ddtpm_cpu.c50 nr_cpus = cpumask_weight_and(cpu_online_mask, to_cpumask(pd->cpus)); in set_pd_power_limit()
128 nr_cpus = cpumask_weight_and(cpu_online_mask, to_cpumask(em->cpus)); in update_pd_power_uw()
/linux/include/linux/
H A Dcpumask.h1124 #define cpu_all_mask to_cpumask(cpu_all_bits)
1127 #define cpu_none_mask to_cpumask(cpu_bit_bitmap[0])
1179 #define to_cpumask(bitmap) \ macro
1202 return to_cpumask(p); in get_cpu_mask()
/linux/kernel/power/
H A Dem_netlink.c33 nr_cpus = cpumask_weight(to_cpumask(pd->cpus)); in __em_nl_get_pd_size()
63 cpumask = to_cpumask(pd->cpus); in __em_nl_get_pd()
H A Denergy_model.c115 seq_printf(s, "%*pbl\n", cpumask_pr_args(to_cpumask(s->private))); in em_debug_cpus_show()
/linux/kernel/sched/
H A Dsched.h128 #define cpu_capacity_span(asym_data) to_cpumask((asym_data)->cpus)
2289 return to_cpumask(sg->cpumask); in sched_group_span()
2297 return to_cpumask(sg->sgc->cpumask); in group_balance_mask()
3821 #define perf_domain_span(pd) (to_cpumask(((pd)->em_pd->cpus)))
/linux/arch/x86/xen/
H A Dmmu_pv.c1355 args->op.arg2.vcpumask = to_cpumask(args->mask); in xen_flush_tlb_multi()
1358 cpumask_and(to_cpumask(args->mask), cpus, cpu_online_mask); in xen_flush_tlb_multi()
/linux/mm/
H A Dslub.c9009 to_cpumask(l->cpus)); in add_location()
9046 cpumask_clear(to_cpumask(l->cpus)); in add_location()
9047 cpumask_set_cpu(track->cpu, to_cpumask(l->cpus)); in add_location()
9938 if (num_online_cpus() > 1 && !cpumask_empty(to_cpumask(l->cpus))) in slab_debugfs_show()
9940 cpumask_pr_args(to_cpumask(l->cpus))); in slab_debugfs_show()