Searched refs:cpu_active_mask (Results 1 – 14 of 14) sorted by relevance
/linux-6.6.21/include/linux/ |
D | cpumask.h | 133 #define cpu_active_mask ((const struct cpumask *)&__cpu_active_mask) macro 1078 #define num_active_cpus() cpumask_weight(cpu_active_mask) 1097 return cpumask_test_cpu(cpu, cpu_active_mask); in cpu_active()
|
/linux-6.6.21/kernel/sched/ |
D | cpupri.c | 104 cpumask_and(lowest_mask, lowest_mask, cpu_active_mask); in __cpupri_find()
|
D | deadline.c | 118 if (cpumask_subset(rd->span, cpu_active_mask)) in dl_bw_cpus() 123 for_each_cpu_and(i, rd->span, cpu_active_mask) in dl_bw_cpus() 134 for_each_cpu_and(i, mask, cpu_active_mask) in __dl_bw_capacity() 176 for_each_cpu_and(i, rd->span, cpu_active_mask) { in __dl_update() 676 cpu = cpumask_any_and(cpu_active_mask, p->cpus_ptr); in dl_task_offline_migration() 689 cpu = cpumask_any(cpu_active_mask); in dl_task_offline_migration()
|
D | topology.c | 515 if (cpumask_test_cpu(rq->cpu, cpu_active_mask)) in rq_attach_root() 2669 cpumask_and(doms_new[0], cpu_active_mask, in partition_sched_domains_locked() 2704 cpumask_and(doms_new[0], cpu_active_mask, in partition_sched_domains_locked()
|
D | core.c | 3118 const struct cpumask *cpu_valid_mask = cpu_active_mask; in __set_cpus_allowed_ptr_locked() 8483 cpumask_and(mask, &p->cpus_mask, cpu_active_mask); in sched_getaffinity() 9864 sched_init_domains(cpu_active_mask); in sched_init_smp()
|
D | fair.c | 11165 cpumask_and(cpus, sched_domain_span(sd), cpu_active_mask); in load_balance()
|
/linux-6.6.21/arch/mips/kernel/ |
D | mips-mt-fpaff.c | 181 cpumask_and(&mask, &allowed, cpu_active_mask); in mipsmt_sys_sched_getaffinity()
|
/linux-6.6.21/kernel/cgroup/ |
D | cpuset.c | 1163 !cpumask_equal(top_cpuset.effective_cpus, cpu_active_mask)) in rebuild_sched_domains_locked() 1179 cpu_active_mask)) { in rebuild_sched_domains_locked() 1262 cpumask_and(new_cpus, new_cpus, cpu_active_mask); in compute_effective_cpumask() 1472 !cpumask_intersects(tmp->delmask, cpu_active_mask) && in update_parent_subparts_cpumask() 1570 cpumask_and(tmp->delmask, tmp->delmask, cpu_active_mask); in update_parent_subparts_cpumask() 1727 cpu_active_mask); in update_cpumasks_hier() 2587 int cpu = cpumask_any_and(cpu_active_mask, cs->effective_cpus); in cpuset_can_attach() 3795 cpumask_copy(&new_cpus, cpu_active_mask); in cpuset_hotplug_workfn() 3920 cpumask_copy(top_cpuset.effective_cpus, cpu_active_mask); in cpuset_init_smp()
|
/linux-6.6.21/kernel/ |
D | stop_machine.c | 696 queue_stop_cpus_work(cpu_active_mask, multi_cpu_stop, &msdata, in stop_machine_from_inactive_cpu()
|
D | workqueue.c | 2238 if (cpumask_intersects(wq_unbound_cpumask, cpu_active_mask)) in unbind_worker()
|
/linux-6.6.21/arch/powerpc/perf/ |
D | hv-gpci.c | 837 target = cpumask_last(cpu_active_mask); in ppc_hv_gpci_cpu_offline()
|
D | hv-24x7.c | 1682 target = cpumask_last(cpu_active_mask); in ppc_hv_24x7_cpu_offline()
|
/linux-6.6.21/kernel/time/ |
D | hrtimer.c | 2227 int i, ncpu = cpumask_first(cpu_active_mask); in hrtimers_cpu_dying()
|
/linux-6.6.21/arch/arm64/kernel/ |
D | cpufeature.c | 3400 cpu_active_mask); in enable_mismatched_32bit_el0()
|