Lines Matching refs:effective_cpus
374 while (!cpumask_intersects(cs->effective_cpus, pmask)) in guarantee_online_cpus()
377 cpumask_and(pmask, pmask, cs->effective_cpus); in guarantee_online_cpus()
413 pmask2 = &cs->effective_cpus; in alloc_cpumasks()
456 free_cpumask_var(cs->effective_cpus); in free_cpumasks()
485 cpumask_copy(trial->effective_cpus, cs->effective_cpus); in alloc_trial_cpuset()
601 !cpuset_cpumask_can_shrink(cur->effective_cpus, user_xcpus(trial))) in validate_change()
658 return cpumask_intersects(a->effective_cpus, b->effective_cpus); in cpusets_overlap()
779 cpumask_and(doms[0], top_cpuset.effective_cpus, in generate_sched_domains()
816 !cpumask_empty(cp->effective_cpus)) in generate_sched_domains()
829 !cpumask_empty(cp->effective_cpus)) in generate_sched_domains()
898 cpumask_and(doms[i], csa[i]->effective_cpus, in generate_sched_domains()
901 cpumask_copy(doms[i], csa[i]->effective_cpus); in generate_sched_domains()
920 cpumask_or(dp, dp, csa[j]->effective_cpus); in generate_sched_domains()
984 if (cpumask_empty(cs->effective_cpus)) { in dl_rebuild_rd_accounting()
1034 !cpumask_equal(top_cpuset.effective_cpus, cpu_active_mask)) in rebuild_sched_domains_locked()
1049 if (!cpumask_subset(cs->effective_cpus, in rebuild_sched_domains_locked()
1127 cpumask_and(new_cpus, possible_mask, cs->effective_cpus); in cpuset_update_tasks_cpumask()
1145 cpumask_and(new_cpus, cs->cpus_allowed, parent->effective_cpus); in compute_effective_cpumask()
1224 return (cpumask_subset(parent->effective_cpus, xcpus) && in tasks_nocpu_error()
1245 if (!cpumask_and(cs->effective_cpus, parent->effective_cpus, cs->cpus_allowed)) in reset_partition_data()
1246 cpumask_copy(cs->effective_cpus, parent->effective_cpus); in reset_partition_data()
1292 cpumask_andnot(parent->effective_cpus, parent->effective_cpus, xcpus); in partition_xcpus_add()
1324 cpumask_or(parent->effective_cpus, parent->effective_cpus, xcpus); in partition_xcpus_del()
1451 cpumask_subset(top_cpuset.effective_cpus, tmp->new_cpus)) in remote_partition_enable()
1549 cpumask_subset(top_cpuset.effective_cpus, tmp->addmask)) in remote_cpus_update()
1833 xcpus, parent->effective_cpus); in update_parent_effective_cpumask()
2082 cpumask_copy(tmp->new_cpus, parent->effective_cpus); in update_cpumasks_hier()
2092 cpumask_equal(tmp->new_cpus, cp->effective_cpus) && in update_cpumasks_hier()
2142 cpumask_copy(cp->effective_cpus, tmp->new_cpus); in update_cpumasks_hier()
2161 !cpumask_equal(cp->cpus_allowed, cp->effective_cpus)); in update_cpumasks_hier()
2163 cpuset_update_tasks_cpumask(cp, cp->effective_cpus); in update_cpumasks_hier()
2231 if (cpumask_equal(tmp->new_cpus, sibling->effective_cpus)) in update_sibling_cpumasks()
2965 if (cpumask_empty(cs->effective_cpus) || in cpuset_can_attach_check()
2998 cpus_updated = !cpumask_equal(cs->effective_cpus, oldcs->effective_cpus); in cpuset_can_attach()
3026 if (!cpumask_intersects(oldcs->effective_cpus, cs->effective_cpus)) { in cpuset_can_attach()
3027 int cpu = cpumask_any_and(cpu_active_mask, cs->effective_cpus); in cpuset_can_attach()
3065 int cpu = cpumask_any(cs->effective_cpus); in cpuset_cancel_attach()
3115 cpus_updated = !cpumask_equal(cs->effective_cpus, in cpuset_attach()
3116 oldcs->effective_cpus); in cpuset_attach()
3252 seq_printf(sf, "%*pbl\n", cpumask_pr_args(cs->effective_cpus)); in cpuset_common_seq_show()
3481 cpumask_copy(cs->effective_cpus, parent->effective_cpus); in cpuset_css_online()
3515 cpumask_copy(cs->effective_cpus, parent->cpus_allowed); in cpuset_css_online()
3585 top_cpuset.effective_cpus); in cpuset_bind()
3715 BUG_ON(!alloc_cpumask_var(&top_cpuset.effective_cpus, GFP_KERNEL)); in cpuset_init()
3723 cpumask_setall(top_cpuset.effective_cpus); in cpuset_init()
3750 cpumask_copy(new_cpus, parent_cs(cs)->effective_cpus); in hotplug_update_tasks()
3755 cpumask_copy(cs->effective_cpus, new_cpus); in hotplug_update_tasks()
3851 cpus_updated = !cpumask_equal(&new_cpus, cs->effective_cpus); in cpuset_hotplug_update_tasks()
3911 cpus_updated = !cpumask_equal(top_cpuset.effective_cpus, &new_cpus) || in cpuset_handle_hotplug()
3936 cpumask_copy(top_cpuset.effective_cpus, &new_cpus); in cpuset_handle_hotplug()
4015 cpumask_copy(top_cpuset.effective_cpus, cpu_active_mask); in cpuset_init_smp()