Lines Matching refs:old_prs
349 static inline void notify_partition_change(struct cpuset *cs, int old_prs) in notify_partition_change() argument
351 if (old_prs == cs->partition_root_state) in notify_partition_change()
1369 int old_prs, new_prs; in update_parent_subparts_cpumask() local
1392 old_prs = new_prs = cs->partition_root_state; in update_parent_subparts_cpumask()
1416 deleting = !is_prs_invalid(old_prs) && in update_parent_subparts_cpumask()
1420 if (is_prs_invalid(old_prs)) in update_parent_subparts_cpumask()
1429 if (old_prs > 0) { in update_parent_subparts_cpumask()
1430 new_prs = -old_prs; in update_parent_subparts_cpumask()
1512 new_prs = -old_prs; in update_parent_subparts_cpumask()
1517 new_prs = -old_prs; in update_parent_subparts_cpumask()
1522 if (!adding && !deleting && (new_prs == old_prs)) in update_parent_subparts_cpumask()
1529 if (old_prs != new_prs) { in update_parent_subparts_cpumask()
1530 if (is_prs_invalid(old_prs) && !is_cpu_exclusive(cs) && in update_parent_subparts_cpumask()
1562 if (old_prs != new_prs) in update_parent_subparts_cpumask()
1574 if (old_prs != new_prs) { in update_parent_subparts_cpumask()
1575 if (old_prs == PRS_ISOLATED) in update_parent_subparts_cpumask()
1580 notify_partition_change(cs, old_prs); in update_parent_subparts_cpumask()
1603 int old_prs, new_prs; in update_cpumasks_hier() local
1656 old_prs = new_prs = cp->partition_root_state; in update_cpumasks_hier()
1657 if ((cp != cs) && old_prs) { in update_cpumasks_hier()
1720 notify_partition_change(cp, old_prs); in update_cpumasks_hier()
2309 int err = PERR_NONE, old_prs = cs->partition_root_state; in update_prstate() local
2314 if (old_prs == new_prs) in update_prstate()
2321 if (new_prs && is_prs_invalid(old_prs)) { in update_prstate()
2329 if (!old_prs) { in update_prstate()
2361 } else if (old_prs && new_prs) { in update_prstate()
2421 notify_partition_change(cs, old_prs); in update_prstate()
3683 int old_prs, parent_prs; in cpuset_hotplug_update_tasks() local
3694 old_prs = cs->partition_root_state; in cpuset_hotplug_update_tasks()
3706 notify_partition_change(cs, old_prs); in cpuset_hotplug_update_tasks()