Lines Matching defs:cur
581 * (cur) with those values in the trial cpuset (trial), would
585 * 'cur' is the address of an actual, in-use cpuset. Operations
587 * cpuset in the list must use cur below, not trial.
589 * 'trial' is the address of bulk structure copy of cur, with
596 static int validate_change(struct cpuset *cur, struct cpuset *trial)
606 cpuset_for_each_child(c, css, cur) if (!is_cpuset_subset(c, trial)) goto out;
610 if (cur == &top_cpuset) {
614 par = parent_cs(cur);
628 if ((is_cpu_exclusive(trial) || is_cpu_exclusive(c)) && c != cur &&
632 if ((is_mem_exclusive(trial) || is_mem_exclusive(c)) && c != cur &&
643 if ((cgroup_is_populated(cur->css.cgroup) || cur->attach_in_progress)) {
644 if (!cpumask_empty(cur->cpus_allowed) && cpumask_empty(trial->cpus_allowed)) {
647 if (!nodes_empty(cur->mems_allowed) && nodes_empty(trial->mems_allowed)) {
657 if (is_cpu_exclusive(cur) && !cpuset_cpumask_can_shrink(cur->cpus_allowed, trial->cpus_allowed)) {