Lines Matching refs:effective_xcpus

428 		pmask3 = &cs->effective_xcpus;
471 free_cpumask_var(cs->effective_xcpus);
500 cpumask_copy(trial->effective_xcpus, cs->effective_xcpus);
1255 cpumask_clear(cs->effective_xcpus);
1374 * scan the sibling cpusets and exclude their exclusive_cpus or effective_xcpus
1388 xcpus = cs->effective_xcpus;
1390 cpumask_and(xcpus, user_xcpus(cs), parent->effective_xcpus);
1412 if (cpumask_intersects(xcpus, sibling->effective_xcpus)) {
1413 cpumask_andnot(xcpus, xcpus, sibling->effective_xcpus);
1456 * The effective_xcpus mask can contain offline CPUs, but there must
1471 cpumask_copy(cs->effective_xcpus, tmp->new_cpus);
1499 WARN_ON_ONCE(!cpumask_subset(cs->effective_xcpus, subpartitions_cpus));
1504 NULL, cs->effective_xcpus);
1510 /* effective_xcpus may need to be changed */
1528 * @excpus: the new effective_xcpus mask
1544 WARN_ON_ONCE(!cpumask_subset(cs->effective_xcpus, subpartitions_cpus));
1551 adding = cpumask_andnot(tmp->addmask, excpus, cs->effective_xcpus);
1552 deleting = cpumask_andnot(tmp->delmask, cs->effective_xcpus, excpus);
1576 * Need to update effective_xcpus and exclusive_cpus now as
1579 cpumask_copy(cs->effective_xcpus, excpus);
1627 * root to a partition root. The effective_xcpus (cpus_allowed if
1628 * effective_xcpus not set) mask of the given cpuset will be taken away from
1630 * in effective_xcpus can be granted or an error code will be returned.
1633 * root back to a non-partition root. Any CPUs in effective_xcpus will be
1637 * to be changed from effective_xcpus to newmask. Otherwise, effective_xcpus is
1688 xcpus, parent->effective_xcpus);
1722 * effective_xcpus is empty.
1742 * (cs->effective_xcpus & cpu_active_mask) ⊆ parent->effective_cpus
1760 cpumask_copy(tmp->addmask, cs->effective_xcpus);
1784 * & parent->effective_xcpus
1786 * & parent->effective_xcpus
1789 * delmask = newmask & parent->effective_xcpus
1794 newmask, parent->effective_xcpus);
1798 parent->effective_xcpus);
1802 parent->effective_xcpus);
1822 xcpus, parent->effective_xcpus);
1828 * delmask = effective_xcpus & parent->effective_cpus
1845 xcpus, parent->effective_xcpus);
1847 cpumask_subset(xcpus, parent->effective_xcpus)) {
1918 * Change the parent's effective_cpus & effective_xcpus (top cpuset
1973 * Compute the effective_cpus of a partition root by scanning effective_xcpus
1974 * of child partition roots and excluding their effective_xcpus.
1994 * 1) child effective_xcpus not a subset of new
2013 if (!cpumask_subset(child->effective_xcpus,
2014 cs->effective_xcpus))
2017 cpumask_subset(new_ecpus, child->effective_xcpus))
2035 child->effective_xcpus);
2071 * remote_cpus_update() if effective_xcpus will be changed.
2079 if (cpumask_equal(cp->effective_xcpus, tmp->new_cpus)) {
2183 * Make sure effective_xcpus is properly set for a valid
2187 cpumask_and(cp->effective_xcpus,
2188 cp->cpus_allowed, parent->effective_xcpus);
2252 * due to a change in a child partition's effective_xcpus will impact
2316 cpumask_clear(trialcs->effective_xcpus);
2328 * by cpus_allowed and parent's effective_xcpus. Otherwise,
2329 * trialcs->effective_xcpus is used as a temporary cpumask
2346 cpumask_empty(trialcs->effective_xcpus)) {
2349 } else if (prstate_housekeeping_conflict(old_prs, trialcs->effective_xcpus)) {
2352 } else if (tasks_nocpu_error(parent, cs, trialcs->effective_xcpus)) {
2360 * effective_xcpus is to be changed.
2362 force = !cpumask_equal(cs->effective_xcpus, trialcs->effective_xcpus);
2383 cpumask_intersects(xcpus, cp->effective_xcpus)) {
2398 struct cpumask *xcpus = trialcs->effective_xcpus;
2418 cpumask_copy(cs->effective_xcpus, trialcs->effective_xcpus);
2423 /* effective_cpus/effective_xcpus will be updated here */
2454 cpumask_clear(trialcs->effective_xcpus);
2477 * effective_xcpus is to be changed.
2479 force = !cpumask_equal(cs->effective_xcpus, trialcs->effective_xcpus);
2489 if (cpumask_empty(trialcs->effective_xcpus)) {
2492 } else if (prstate_housekeeping_conflict(old_prs, trialcs->effective_xcpus)) {
2495 } else if (tasks_nocpu_error(parent, cs, trialcs->effective_xcpus)) {
2505 trialcs->effective_xcpus, &tmp);
2511 trialcs->effective_xcpus, &tmp);
2516 cpumask_copy(cs->effective_xcpus, trialcs->effective_xcpus);
2522 * Call update_cpumasks_hier() to update effective_cpus/effective_xcpus
2523 * of the subtree when it is a valid partition root or effective_xcpus
2969 isolated_cpus_update(old_prs, new_prs, cs->effective_xcpus);
2973 /* Force update if switching back to member & update effective_xcpus */
2976 /* A newly created partition must have effective_xcpus set */
2978 && cpumask_empty(cs->effective_xcpus));
3296 seq_printf(sf, "%*pbl\n", cpumask_pr_args(cs->effective_xcpus));
3617 cpumask_copy(top_cpuset.effective_xcpus, cpu_possible_mask);
3752 BUG_ON(!alloc_cpumask_var(&top_cpuset.effective_xcpus, GFP_KERNEL));
3760 cpumask_setall(top_cpuset.effective_xcpus);