Lines Matching refs:new_prs

273 					   int old_prs, int new_prs)  in notify_partition_change()  argument
275 if (old_prs != new_prs) in notify_partition_change()
1179 int old_prs, new_prs; in update_parent_subparts_cpumask() local
1215 old_prs = new_prs = cpuset->partition_root_state; in update_parent_subparts_cpumask()
1280 new_prs = PRS_ERROR; in update_parent_subparts_cpumask()
1284 new_prs = PRS_ENABLED; in update_parent_subparts_cpumask()
1293 if (!part_error && (new_prs == PRS_ERROR)) in update_parent_subparts_cpumask()
1296 if (new_prs == PRS_ERROR) { in update_parent_subparts_cpumask()
1305 if (!adding && !deleting && (new_prs == old_prs)) in update_parent_subparts_cpumask()
1333 if (old_prs != new_prs) in update_parent_subparts_cpumask()
1334 cpuset->partition_root_state = new_prs; in update_parent_subparts_cpumask()
1337 notify_partition_change(cpuset, old_prs, new_prs); in update_parent_subparts_cpumask()
1359 int old_prs, new_prs; in update_cpumasks_hier() local
1399 old_prs = new_prs = cp->partition_root_state; in update_cpumasks_hier()
1410 new_prs = PRS_DISABLED; in update_cpumasks_hier()
1431 new_prs = PRS_ERROR; in update_cpumasks_hier()
1443 if (cp->nr_subparts_cpus && (new_prs != PRS_ENABLED)) { in update_cpumasks_hier()
1471 if (new_prs != old_prs) in update_cpumasks_hier()
1472 cp->partition_root_state = new_prs; in update_cpumasks_hier()
1475 notify_partition_change(cp, old_prs, new_prs); in update_cpumasks_hier()
1987 static int update_prstate(struct cpuset *cs, int new_prs) in update_prstate() argument
1993 if (old_prs == new_prs) in update_prstate()
2000 if (new_prs && (old_prs == PRS_ERROR)) in update_prstate()
2060 cs->partition_root_state = new_prs; in update_prstate()
2062 notify_partition_change(cs, old_prs, new_prs); in update_prstate()