Lines Matching refs:effective_cpus
120 cpumask_var_t effective_cpus; member
513 while (!cpumask_intersects(cs->effective_cpus, pmask)) { in guarantee_online_cpus()
526 cpumask_and(pmask, pmask, cs->effective_cpus); in guarantee_online_cpus()
603 pmask2 = &cs->effective_cpus; in alloc_cpumasks()
638 free_cpumask_var(cs->effective_cpus); in free_cpumasks()
666 cpumask_copy(trial->effective_cpus, cs->effective_cpus); in alloc_trial_cpuset()
801 return cpumask_intersects(a->effective_cpus, b->effective_cpus); in cpusets_overlap()
922 cpumask_and(doms[0], top_cpuset.effective_cpus, in generate_sched_domains()
957 cpumask_subset(cp->cpus_allowed, top_cpuset.effective_cpus)) in generate_sched_domains()
961 !cpumask_empty(cp->effective_cpus)) in generate_sched_domains()
1041 cpumask_or(dp, dp, b->effective_cpus); in generate_sched_domains()
1104 if (cpumask_empty(cs->effective_cpus)) { in dl_rebuild_rd_accounting()
1163 !cpumask_equal(top_cpuset.effective_cpus, cpu_active_mask)) in rebuild_sched_domains_locked()
1178 if (!cpumask_subset(cs->effective_cpus, in rebuild_sched_domains_locked()
1237 cpumask_and(new_cpus, possible_mask, cs->effective_cpus); in update_tasks_cpumask()
1259 cpumask_or(new_cpus, parent->effective_cpus, in compute_effective_cpumask()
1264 cpumask_and(new_cpus, cs->cpus_allowed, parent->effective_cpus); in compute_effective_cpumask()
1406 if (cpumask_subset(parent->effective_cpus, cs->cpus_allowed) && in update_parent_subparts_cpumask()
1461 cpumask_subset(parent->effective_cpus, tmp->addmask) && in update_parent_subparts_cpumask()
1495 cpumask_subset(parent->effective_cpus, tmp->addmask) && in update_parent_subparts_cpumask()
1551 cpumask_andnot(parent->effective_cpus, in update_parent_subparts_cpumask()
1552 parent->effective_cpus, tmp->addmask); in update_parent_subparts_cpumask()
1561 cpumask_or(parent->effective_cpus, in update_parent_subparts_cpumask()
1562 parent->effective_cpus, tmp->delmask); in update_parent_subparts_cpumask()
1638 cpumask_copy(tmp->new_cpus, parent->effective_cpus); in update_cpumasks_hier()
1657 cpumask_equal(tmp->new_cpus, cp->effective_cpus) && in update_cpumasks_hier()
1722 cpumask_copy(cp->effective_cpus, tmp->new_cpus); in update_cpumasks_hier()
1728 cpumask_andnot(cp->effective_cpus, cp->effective_cpus, in update_cpumasks_hier()
1738 !cpumask_equal(cp->cpus_allowed, cp->effective_cpus)); in update_cpumasks_hier()
1899 compute_effective_cpumask(trialcs->effective_cpus, trialcs, in update_cpumask()
1911 (cpumask_subset(trialcs->effective_cpus, cs->subparts_cpus) && in update_cpumask()
2369 compute_effective_cpumask(cs->effective_cpus, cs, parent); in update_prstate()
2514 if (cpumask_empty(cs->effective_cpus) || in cpuset_can_attach_check()
2547 cpus_updated = !cpumask_equal(cs->effective_cpus, oldcs->effective_cpus); in cpuset_can_attach()
2576 if (!cpumask_intersects(oldcs->effective_cpus, cs->effective_cpus)) { in cpuset_can_attach()
2577 int cpu = cpumask_any_and(cpu_active_mask, cs->effective_cpus); in cpuset_can_attach()
2617 int cpu = cpumask_any(cs->effective_cpus); in cpuset_cancel_attach()
2667 cpus_updated = !cpumask_equal(cs->effective_cpus, in cpuset_attach()
2668 oldcs->effective_cpus); in cpuset_attach()
2924 seq_printf(sf, "%*pbl\n", cpumask_pr_args(cs->effective_cpus)); in cpuset_common_seq_show()
3275 cpumask_copy(cs->effective_cpus, parent->effective_cpus); in cpuset_css_online()
3319 cpumask_copy(cs->effective_cpus, parent->cpus_allowed); in cpuset_css_online()
3383 top_cpuset.effective_cpus); in cpuset_bind()
3517 BUG_ON(!alloc_cpumask_var(&top_cpuset.effective_cpus, GFP_KERNEL)); in cpuset_init()
3522 cpumask_setall(top_cpuset.effective_cpus); in cpuset_init()
3570 cpumask_copy(cs->effective_cpus, new_cpus); in hotplug_update_tasks_legacy()
3606 cpumask_copy(new_cpus, parent_cs(cs)->effective_cpus); in hotplug_update_tasks()
3611 cpumask_copy(cs->effective_cpus, new_cpus); in hotplug_update_tasks()
3735 cpus_updated = !cpumask_equal(&new_cpus, cs->effective_cpus); in cpuset_hotplug_update_tasks()
3793 cpus_updated = !cpumask_equal(top_cpuset.effective_cpus, &new_cpus); in cpuset_hotplug_workfn()
3824 cpumask_copy(top_cpuset.effective_cpus, &new_cpus); in cpuset_hotplug_workfn()
3910 cpumask_copy(top_cpuset.effective_cpus, cpu_active_mask); in cpuset_init_smp()