Lines Matching refs:new_cpus

868 static void update_cpumasks_hier(struct cpuset *cs, struct cpumask *new_cpus)  in update_cpumasks_hier()  argument
878 cpumask_and(new_cpus, cp->cpus_allowed, parent->effective_cpus); in update_cpumasks_hier()
885 cpumask_empty(new_cpus)) in update_cpumasks_hier()
886 cpumask_copy(new_cpus, parent->effective_cpus); in update_cpumasks_hier()
889 if (cpumask_equal(new_cpus, cp->effective_cpus)) { in update_cpumasks_hier()
899 cpumask_copy(cp->effective_cpus, new_cpus); in update_cpumasks_hier()
2154 struct cpumask *new_cpus, nodemask_t *new_mems, in hotplug_update_tasks_legacy() argument
2160 cpumask_copy(cs->cpus_allowed, new_cpus); in hotplug_update_tasks_legacy()
2161 cpumask_copy(cs->effective_cpus, new_cpus); in hotplug_update_tasks_legacy()
2193 struct cpumask *new_cpus, nodemask_t *new_mems, in hotplug_update_tasks() argument
2196 if (cpumask_empty(new_cpus)) in hotplug_update_tasks()
2197 cpumask_copy(new_cpus, parent_cs(cs)->effective_cpus); in hotplug_update_tasks()
2202 cpumask_copy(cs->effective_cpus, new_cpus); in hotplug_update_tasks()
2222 static cpumask_t new_cpus; in cpuset_hotplug_update_tasks() local
2240 cpumask_and(&new_cpus, cs->cpus_allowed, parent_cs(cs)->effective_cpus); in cpuset_hotplug_update_tasks()
2243 cpus_updated = !cpumask_equal(&new_cpus, cs->effective_cpus); in cpuset_hotplug_update_tasks()
2247 hotplug_update_tasks(cs, &new_cpus, &new_mems, in cpuset_hotplug_update_tasks()
2250 hotplug_update_tasks_legacy(cs, &new_cpus, &new_mems, in cpuset_hotplug_update_tasks()
2274 static cpumask_t new_cpus; in cpuset_hotplug_workfn() local
2282 cpumask_copy(&new_cpus, cpu_active_mask); in cpuset_hotplug_workfn()
2285 cpus_updated = !cpumask_equal(top_cpuset.effective_cpus, &new_cpus); in cpuset_hotplug_workfn()
2292 cpumask_copy(top_cpuset.cpus_allowed, &new_cpus); in cpuset_hotplug_workfn()
2293 cpumask_copy(top_cpuset.effective_cpus, &new_cpus); in cpuset_hotplug_workfn()