trialcs          1476 kernel/cgroup/cpuset.c static int update_cpumask(struct cpuset *cs, struct cpuset *trialcs,
trialcs          1493 kernel/cgroup/cpuset.c 		cpumask_clear(trialcs->cpus_allowed);
trialcs          1495 kernel/cgroup/cpuset.c 		retval = cpulist_parse(buf, trialcs->cpus_allowed);
trialcs          1499 kernel/cgroup/cpuset.c 		if (!cpumask_subset(trialcs->cpus_allowed,
trialcs          1505 kernel/cgroup/cpuset.c 	if (cpumask_equal(cs->cpus_allowed, trialcs->cpus_allowed))
trialcs          1508 kernel/cgroup/cpuset.c 	retval = validate_change(cs, trialcs);
trialcs          1517 kernel/cgroup/cpuset.c 	tmp.addmask  = trialcs->subparts_cpus;
trialcs          1518 kernel/cgroup/cpuset.c 	tmp.delmask  = trialcs->effective_cpus;
trialcs          1519 kernel/cgroup/cpuset.c 	tmp.new_cpus = trialcs->cpus_allowed;
trialcs          1524 kernel/cgroup/cpuset.c 		if (cpumask_empty(trialcs->cpus_allowed))
trialcs          1527 kernel/cgroup/cpuset.c 					trialcs->cpus_allowed, &tmp) < 0)
trialcs          1532 kernel/cgroup/cpuset.c 	cpumask_copy(cs->cpus_allowed, trialcs->cpus_allowed);
trialcs          1764 kernel/cgroup/cpuset.c static int update_nodemask(struct cpuset *cs, struct cpuset *trialcs,
trialcs          1785 kernel/cgroup/cpuset.c 		nodes_clear(trialcs->mems_allowed);
trialcs          1787 kernel/cgroup/cpuset.c 		retval = nodelist_parse(buf, trialcs->mems_allowed);
trialcs          1791 kernel/cgroup/cpuset.c 		if (!nodes_subset(trialcs->mems_allowed,
trialcs          1798 kernel/cgroup/cpuset.c 	if (nodes_equal(cs->mems_allowed, trialcs->mems_allowed)) {
trialcs          1802 kernel/cgroup/cpuset.c 	retval = validate_change(cs, trialcs);
trialcs          1807 kernel/cgroup/cpuset.c 	cs->mems_allowed = trialcs->mems_allowed;
trialcs          1811 kernel/cgroup/cpuset.c 	update_nodemasks_hier(cs, &trialcs->mems_allowed);
trialcs          1875 kernel/cgroup/cpuset.c 	struct cpuset *trialcs;
trialcs          1880 kernel/cgroup/cpuset.c 	trialcs = alloc_trial_cpuset(cs);
trialcs          1881 kernel/cgroup/cpuset.c 	if (!trialcs)
trialcs          1885 kernel/cgroup/cpuset.c 		set_bit(bit, &trialcs->flags);
trialcs          1887 kernel/cgroup/cpuset.c 		clear_bit(bit, &trialcs->flags);
trialcs          1889 kernel/cgroup/cpuset.c 	err = validate_change(cs, trialcs);
trialcs          1894 kernel/cgroup/cpuset.c 				is_sched_load_balance(trialcs));
trialcs          1896 kernel/cgroup/cpuset.c 	spread_flag_changed = ((is_spread_slab(cs) != is_spread_slab(trialcs))
trialcs          1897 kernel/cgroup/cpuset.c 			|| (is_spread_page(cs) != is_spread_page(trialcs)));
trialcs          1900 kernel/cgroup/cpuset.c 	cs->flags = trialcs->flags;
trialcs          1903 kernel/cgroup/cpuset.c 	if (!cpumask_empty(trialcs->cpus_allowed) && balance_flag_changed)
trialcs          1909 kernel/cgroup/cpuset.c 	free_cpuset(trialcs);
trialcs          2335 kernel/cgroup/cpuset.c 	struct cpuset *trialcs;
trialcs          2368 kernel/cgroup/cpuset.c 	trialcs = alloc_trial_cpuset(cs);
trialcs          2369 kernel/cgroup/cpuset.c 	if (!trialcs) {
trialcs          2376 kernel/cgroup/cpuset.c 		retval = update_cpumask(cs, trialcs, buf);
trialcs          2379 kernel/cgroup/cpuset.c 		retval = update_nodemask(cs, trialcs, buf);
trialcs          2386 kernel/cgroup/cpuset.c 	free_cpuset(trialcs);