Lines Matching defs:doms_new
2655 * cpumasks in the array doms_new[] of cpumasks. This compares
2656 * doms_new[] to the current sched domain partitioning, doms_cur[].
2659 * 'doms_new' is an array of cpumask_var_t's of length 'ndoms_new'.
2663 * current 'doms_cur' domains and in the new 'doms_new', we can leave
2666 * The passed in 'doms_new' should be allocated using
2669 * alloc call, then it can pass in doms_new == NULL && ndoms_new == 1,
2673 * If doms_new == NULL it will be replaced with cpu_online_mask.
2679 void partition_sched_domains_locked(int ndoms_new, cpumask_var_t doms_new[],
2694 if (!doms_new) {
2697 doms_new = alloc_sched_domains(1);
2698 if (doms_new) {
2700 cpumask_and(doms_new[0], cpu_active_mask,
2710 if (cpumask_equal(doms_cur[i], doms_new[j]) &&
2725 /* No match - a current sched domain not in new doms_new[] */
2732 if (!doms_new) {
2734 doms_new = &fallback_doms;
2735 cpumask_and(doms_new[0], cpu_active_mask,
2742 if (cpumask_equal(doms_new[i], doms_cur[j]) &&
2746 /* No match - add a new doms_new */
2747 build_sched_domains(doms_new[i], dattr_new ? dattr_new + i : NULL);
2756 if (cpumask_equal(doms_new[i], doms_cur[j]) &&
2763 has_eas |= build_perf_domains(doms_new[i]);
2775 doms_cur = doms_new;
2785 void partition_sched_domains(int ndoms_new, cpumask_var_t doms_new[],
2789 partition_sched_domains_locked(ndoms_new, doms_new, dattr_new);