Lines Matching refs:new_cpus
896 static void update_cpumasks_hier(struct cpuset *cs, struct cpumask *new_cpus) in update_cpumasks_hier() argument
906 cpumask_and(new_cpus, cp->cpus_allowed, parent->effective_cpus); in update_cpumasks_hier()
912 if (is_in_v2_mode() && cpumask_empty(new_cpus)) in update_cpumasks_hier()
913 cpumask_copy(new_cpus, parent->effective_cpus); in update_cpumasks_hier()
916 if (cpumask_equal(new_cpus, cp->effective_cpus)) { in update_cpumasks_hier()
926 cpumask_copy(cp->effective_cpus, new_cpus); in update_cpumasks_hier()
2172 struct cpumask *new_cpus, nodemask_t *new_mems, in hotplug_update_tasks_legacy() argument
2178 cpumask_copy(cs->cpus_allowed, new_cpus); in hotplug_update_tasks_legacy()
2179 cpumask_copy(cs->effective_cpus, new_cpus); in hotplug_update_tasks_legacy()
2211 struct cpumask *new_cpus, nodemask_t *new_mems, in hotplug_update_tasks() argument
2214 if (cpumask_empty(new_cpus)) in hotplug_update_tasks()
2215 cpumask_copy(new_cpus, parent_cs(cs)->effective_cpus); in hotplug_update_tasks()
2220 cpumask_copy(cs->effective_cpus, new_cpus); in hotplug_update_tasks()
2240 static cpumask_t new_cpus; in cpuset_hotplug_update_tasks() local
2258 cpumask_and(&new_cpus, cs->cpus_allowed, parent_cs(cs)->effective_cpus); in cpuset_hotplug_update_tasks()
2261 cpus_updated = !cpumask_equal(&new_cpus, cs->effective_cpus); in cpuset_hotplug_update_tasks()
2265 hotplug_update_tasks(cs, &new_cpus, &new_mems, in cpuset_hotplug_update_tasks()
2268 hotplug_update_tasks_legacy(cs, &new_cpus, &new_mems, in cpuset_hotplug_update_tasks()
2299 static cpumask_t new_cpus; in cpuset_hotplug_workfn() local
2307 cpumask_copy(&new_cpus, cpu_active_mask); in cpuset_hotplug_workfn()
2310 cpus_updated = !cpumask_equal(top_cpuset.effective_cpus, &new_cpus); in cpuset_hotplug_workfn()
2317 cpumask_copy(top_cpuset.cpus_allowed, &new_cpus); in cpuset_hotplug_workfn()
2318 cpumask_copy(top_cpuset.effective_cpus, &new_cpus); in cpuset_hotplug_workfn()