Lines Matching full:newmask
1659 * @newmask: Optional new cpumask for partcmd_update
1673 * For partcmd_update, if the optional newmask is specified, the cpu list is
1674 * to be changed from effective_xcpus to newmask. Otherwise, effective_xcpus is
1686 * The partcmd_update command is used by update_cpumasks_hier() with newmask
1687 * NULL and update_cpumask() with newmask set. The partcmd_invalidate is used
1688 * by update_cpumask() with NULL newmask. In both cases, the callers won't
1693 struct cpumask *newmask,
1741 if (!newmask && xcpus_empty(cs))
1799 } else if (newmask) {
1803 if (cpumask_empty(newmask)) {
1808 /* Check newmask again, whether cpus are available for parent/cs */
1809 nocpu |= tasks_nocpu_error(parent, cs, newmask);
1812 * partcmd_update with newmask:
1817 * addmask = effective_xcpus & ~newmask
1819 * delmask = newmask & ~effective_xcpus
1823 * delmask = newmask & parent->effective_xcpus
1829 newmask, parent->effective_xcpus);
1831 cpumask_andnot(tmp->addmask, cs->effective_xcpus, newmask);
1835 cpumask_andnot(tmp->delmask, newmask, cs->effective_xcpus);
1878 * partcmd_update w/o newmask
1996 * For partcmd_update without newmask, it is being called from
2000 if ((cmd == partcmd_update) && !newmask)