Lines Matching refs:new_prs
280 int old_prs, int new_prs) in notify_partition_change() argument
282 if (old_prs != new_prs) in notify_partition_change()
1197 int old_prs, new_prs; in update_parent_subparts_cpumask() local
1233 old_prs = new_prs = cpuset->partition_root_state; in update_parent_subparts_cpumask()
1298 new_prs = PRS_ERROR; in update_parent_subparts_cpumask()
1302 new_prs = PRS_ENABLED; in update_parent_subparts_cpumask()
1311 if (!part_error && (new_prs == PRS_ERROR)) in update_parent_subparts_cpumask()
1314 if (new_prs == PRS_ERROR) { in update_parent_subparts_cpumask()
1323 if (!adding && !deleting && (new_prs == old_prs)) in update_parent_subparts_cpumask()
1351 if (old_prs != new_prs) in update_parent_subparts_cpumask()
1352 cpuset->partition_root_state = new_prs; in update_parent_subparts_cpumask()
1355 notify_partition_change(cpuset, old_prs, new_prs); in update_parent_subparts_cpumask()
1377 int old_prs, new_prs; in update_cpumasks_hier() local
1417 old_prs = new_prs = cp->partition_root_state; in update_cpumasks_hier()
1428 new_prs = PRS_DISABLED; in update_cpumasks_hier()
1449 new_prs = PRS_ERROR; in update_cpumasks_hier()
1461 if (cp->nr_subparts_cpus && (new_prs != PRS_ENABLED)) { in update_cpumasks_hier()
1489 if (new_prs != old_prs) in update_cpumasks_hier()
1490 cp->partition_root_state = new_prs; in update_cpumasks_hier()
1493 notify_partition_change(cp, old_prs, new_prs); in update_cpumasks_hier()
2007 static int update_prstate(struct cpuset *cs, int new_prs) in update_prstate() argument
2013 if (old_prs == new_prs) in update_prstate()
2020 if (new_prs && (old_prs == PRS_ERROR)) in update_prstate()
2080 cs->partition_root_state = new_prs; in update_prstate()
2082 notify_partition_change(cs, old_prs, new_prs); in update_prstate()