Lines Matching refs:cur
720 static int validate_change_legacy(struct cpuset *cur, struct cpuset *trial) in validate_change_legacy() argument
730 cpuset_for_each_child(c, css, cur) in validate_change_legacy()
736 par = parent_cs(cur); in validate_change_legacy()
765 static int validate_change(struct cpuset *cur, struct cpuset *trial) in validate_change() argument
774 ret = validate_change_legacy(cur, trial); in validate_change()
779 if (cur == &top_cpuset) in validate_change()
782 par = parent_cs(cur); in validate_change()
789 if ((cgroup_is_populated(cur->css.cgroup) || cur->attach_in_progress)) { in validate_change()
790 if (!cpumask_empty(cur->cpus_allowed) && in validate_change()
793 if (!nodes_empty(cur->mems_allowed) && in validate_change()
803 if (is_cpu_exclusive(cur) && in validate_change()
804 !cpuset_cpumask_can_shrink(cur->cpus_allowed, in validate_change()
815 c != cur && in validate_change()
819 c != cur && in validate_change()