Lines Matching refs:effective_cpus

111 	cpumask_var_t effective_cpus;  member
386 while (!cpumask_intersects(cs->effective_cpus, cpu_online_mask)) { in guarantee_online_cpus()
400 cpumask_and(pmask, cs->effective_cpus, cpu_online_mask); in guarantee_online_cpus()
470 pmask2 = &cs->effective_cpus; in alloc_cpumasks()
505 free_cpumask_var(cs->effective_cpus); in free_cpumasks()
533 cpumask_copy(trial->effective_cpus, cs->effective_cpus); in alloc_trial_cpuset()
646 return cpumask_intersects(a->effective_cpus, b->effective_cpus); in cpusets_overlap()
767 cpumask_and(doms[0], top_cpuset.effective_cpus, in generate_sched_domains()
802 cpumask_subset(cp->cpus_allowed, top_cpuset.effective_cpus)) in generate_sched_domains()
806 !cpumask_empty(cp->effective_cpus)) in generate_sched_domains()
886 cpumask_or(dp, dp, b->effective_cpus); in generate_sched_domains()
946 if (cpumask_empty(cs->effective_cpus)) { in rebuild_root_domains()
999 !cpumask_equal(top_cpuset.effective_cpus, cpu_active_mask)) in rebuild_sched_domains_locked()
1003 !cpumask_subset(top_cpuset.effective_cpus, cpu_active_mask)) in rebuild_sched_domains_locked()
1042 set_cpus_allowed_ptr(task, cs->effective_cpus); in update_tasks_cpumask()
1061 cpumask_or(new_cpus, parent->effective_cpus, in compute_effective_cpumask()
1066 cpumask_and(new_cpus, cs->cpus_allowed, parent->effective_cpus); in compute_effective_cpumask()
1155 (!cpumask_subset(cpuset->cpus_allowed, parent->effective_cpus) || in update_parent_subparts_cpumask()
1156 cpumask_equal(cpuset->cpus_allowed, parent->effective_cpus))) in update_parent_subparts_cpumask()
1181 cpumask_and(tmp->addmask, newmask, parent->effective_cpus); in update_parent_subparts_cpumask()
1188 cpumask_equal(parent->effective_cpus, tmp->addmask)) { in update_parent_subparts_cpumask()
1199 cpumask_copy(tmp->addmask, parent->effective_cpus); in update_parent_subparts_cpumask()
1212 parent->effective_cpus); in update_parent_subparts_cpumask()
1214 parent->effective_cpus); in update_parent_subparts_cpumask()
1264 cpumask_andnot(parent->effective_cpus, in update_parent_subparts_cpumask()
1265 parent->effective_cpus, tmp->addmask); in update_parent_subparts_cpumask()
1274 cpumask_or(parent->effective_cpus, in update_parent_subparts_cpumask()
1275 parent->effective_cpus, tmp->delmask); in update_parent_subparts_cpumask()
1313 cpumask_copy(tmp->new_cpus, parent->effective_cpus); in update_cpumasks_hier()
1329 cpumask_equal(tmp->new_cpus, cp->effective_cpus)) { in update_cpumasks_hier()
1386 cpumask_copy(cp->effective_cpus, tmp->new_cpus); in update_cpumasks_hier()
1401 cpumask_andnot(cp->effective_cpus, cp->effective_cpus, in update_cpumasks_hier()
1403 if (cpumask_empty(cp->effective_cpus)) { in update_cpumasks_hier()
1404 cpumask_copy(cp->effective_cpus, tmp->new_cpus); in update_cpumasks_hier()
1418 !cpumask_equal(cp->cpus_allowed, cp->effective_cpus)); in update_cpumasks_hier()
1520 tmp.delmask = trialcs->effective_cpus; in update_cpumask()
2422 seq_printf(sf, "%*pbl\n", cpumask_pr_args(cs->effective_cpus)); in cpuset_common_seq_show()
2749 cpumask_copy(cs->effective_cpus, parent->effective_cpus); in cpuset_css_online()
2785 cpumask_copy(cs->effective_cpus, parent->cpus_allowed); in cpuset_css_online()
2849 top_cpuset.effective_cpus); in cpuset_bind()
2899 BUG_ON(!alloc_cpumask_var(&top_cpuset.effective_cpus, GFP_KERNEL)); in cpuset_init()
2904 cpumask_setall(top_cpuset.effective_cpus); in cpuset_init()
2952 cpumask_copy(cs->effective_cpus, new_cpus); in hotplug_update_tasks_legacy()
2988 cpumask_copy(new_cpus, parent_cs(cs)->effective_cpus); in hotplug_update_tasks()
2993 cpumask_copy(cs->effective_cpus, new_cpus); in hotplug_update_tasks()
3094 cpus_updated = !cpumask_equal(&new_cpus, cs->effective_cpus); in cpuset_hotplug_update_tasks()
3145 cpus_updated = !cpumask_equal(top_cpuset.effective_cpus, &new_cpus); in cpuset_hotplug_workfn()
3169 cpumask_copy(top_cpuset.effective_cpus, &new_cpus); in cpuset_hotplug_workfn()
3257 cpumask_copy(top_cpuset.effective_cpus, cpu_active_mask); in cpuset_init_smp()