Home
last modified time | relevance | path

Searched refs:cpu_active_mask (Results 1 – 14 of 14) sorted by relevance

/linux-6.6.21/include/linux/
Dcpumask.h133 #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/
Dcpupri.c104 cpumask_and(lowest_mask, lowest_mask, cpu_active_mask); in __cpupri_find()
Ddeadline.c118 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()
Dtopology.c515 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()
Dcore.c3118 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()
Dfair.c11165 cpumask_and(cpus, sched_domain_span(sd), cpu_active_mask); in load_balance()
/linux-6.6.21/arch/mips/kernel/
Dmips-mt-fpaff.c181 cpumask_and(&mask, &allowed, cpu_active_mask); in mipsmt_sys_sched_getaffinity()
/linux-6.6.21/kernel/cgroup/
Dcpuset.c1163 !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/
Dstop_machine.c696 queue_stop_cpus_work(cpu_active_mask, multi_cpu_stop, &msdata, in stop_machine_from_inactive_cpu()
Dworkqueue.c2238 if (cpumask_intersects(wq_unbound_cpumask, cpu_active_mask)) in unbind_worker()
/linux-6.6.21/arch/powerpc/perf/
Dhv-gpci.c837 target = cpumask_last(cpu_active_mask); in ppc_hv_gpci_cpu_offline()
Dhv-24x7.c1682 target = cpumask_last(cpu_active_mask); in ppc_hv_24x7_cpu_offline()
/linux-6.6.21/kernel/time/
Dhrtimer.c2227 int i, ncpu = cpumask_first(cpu_active_mask); in hrtimers_cpu_dying()
/linux-6.6.21/arch/arm64/kernel/
Dcpufeature.c3400 cpu_active_mask); in enable_mismatched_32bit_el0()