Lines Matching refs:newmask
1762 * @newmask: Optional new cpumask for partcmd_update
1776 * For partcmd_update, if the optional newmask is specified, the cpu list is
1777 * to be changed from effective_xcpus to newmask. Otherwise, effective_xcpus is
1789 * The partcmd_update command is used by update_cpumasks_hier() with newmask
1790 * NULL and update_cpumask() with newmask set. The partcmd_invalidate is used
1791 * by update_cpumask() with NULL newmask. In both cases, the callers won't
1796 struct cpumask *newmask,
1844 if (!newmask && xcpus_empty(cs))
1902 } else if (newmask) {
1906 if (cpumask_empty(newmask)) {
1911 /* Check newmask again, whether cpus are available for parent/cs */
1912 nocpu |= tasks_nocpu_error(parent, cs, newmask);
1915 * partcmd_update with newmask:
1920 * addmask = effective_xcpus & ~newmask
1922 * delmask = newmask & ~effective_xcpus
1926 * delmask = newmask & parent->effective_xcpus
1932 newmask, parent->effective_xcpus);
1934 cpumask_andnot(tmp->addmask, cs->effective_xcpus, newmask);
1938 cpumask_andnot(tmp->delmask, newmask, cs->effective_xcpus);
1981 * partcmd_update w/o newmask
2099 * For partcmd_update without newmask, it is being called from
2103 if ((cmd == partcmd_update) && !newmask)