top_cpuset 266 kernel/cgroup/cpuset.c static struct cpuset top_cpuset = { top_cpuset 579 kernel/cgroup/cpuset.c if (cur == &top_cpuset) top_cpuset 745 kernel/cgroup/cpuset.c bool root_load_balance = is_sched_load_balance(&top_cpuset); top_cpuset 752 kernel/cgroup/cpuset.c if (root_load_balance && !top_cpuset.nr_subparts_cpus) { top_cpuset 761 kernel/cgroup/cpuset.c update_domain_attr_tree(dattr, &top_cpuset); top_cpuset 763 kernel/cgroup/cpuset.c cpumask_and(doms[0], top_cpuset.effective_cpus, top_cpuset 776 kernel/cgroup/cpuset.c csa[csn++] = &top_cpuset; top_cpuset 777 kernel/cgroup/cpuset.c cpuset_for_each_descendant_pre(cp, pos_css, &top_cpuset) { top_cpuset 778 kernel/cgroup/cpuset.c if (cp == &top_cpuset) top_cpuset 798 kernel/cgroup/cpuset.c cpumask_subset(cp->cpus_allowed, top_cpuset.effective_cpus)) top_cpuset 942 kernel/cgroup/cpuset.c cpuset_for_each_descendant_pre(cs, pos_css, &top_cpuset) { top_cpuset 996 kernel/cgroup/cpuset.c if (!top_cpuset.nr_subparts_cpus && top_cpuset 997 kernel/cgroup/cpuset.c !cpumask_equal(top_cpuset.effective_cpus, cpu_active_mask)) top_cpuset 1000 kernel/cgroup/cpuset.c if (top_cpuset.nr_subparts_cpus && top_cpuset 1001 kernel/cgroup/cpuset.c !cpumask_subset(top_cpuset.effective_cpus, cpu_active_mask)) top_cpuset 1483 kernel/cgroup/cpuset.c if (cs == &top_cpuset) top_cpuset 1500 kernel/cgroup/cpuset.c top_cpuset.cpus_allowed)) top_cpuset 1773 kernel/cgroup/cpuset.c if (cs == &top_cpuset) { top_cpuset 1792 kernel/cgroup/cpuset.c top_cpuset.mems_allowed)) { top_cpuset 1989 kernel/cgroup/cpuset.c if (parent != &top_cpuset) top_cpuset 2178 kernel/cgroup/cpuset.c if (cs == &top_cpuset) top_cpuset 2704 kernel/cgroup/cpuset.c return &top_cpuset.css; top_cpuset 2843 kernel/cgroup/cpuset.c cpumask_copy(top_cpuset.cpus_allowed, cpu_possible_mask); top_cpuset 2844 kernel/cgroup/cpuset.c top_cpuset.mems_allowed = node_possible_map; top_cpuset 2846 kernel/cgroup/cpuset.c cpumask_copy(top_cpuset.cpus_allowed, top_cpuset 2847 kernel/cgroup/cpuset.c top_cpuset.effective_cpus); top_cpuset 2848 kernel/cgroup/cpuset.c top_cpuset.mems_allowed = top_cpuset.effective_mems; top_cpuset 2896 kernel/cgroup/cpuset.c BUG_ON(!alloc_cpumask_var(&top_cpuset.cpus_allowed, GFP_KERNEL)); top_cpuset 2897 kernel/cgroup/cpuset.c BUG_ON(!alloc_cpumask_var(&top_cpuset.effective_cpus, GFP_KERNEL)); top_cpuset 2898 kernel/cgroup/cpuset.c BUG_ON(!zalloc_cpumask_var(&top_cpuset.subparts_cpus, GFP_KERNEL)); top_cpuset 2900 kernel/cgroup/cpuset.c cpumask_setall(top_cpuset.cpus_allowed); top_cpuset 2901 kernel/cgroup/cpuset.c nodes_setall(top_cpuset.mems_allowed); top_cpuset 2902 kernel/cgroup/cpuset.c cpumask_setall(top_cpuset.effective_cpus); top_cpuset 2903 kernel/cgroup/cpuset.c nodes_setall(top_cpuset.effective_mems); top_cpuset 2905 kernel/cgroup/cpuset.c fmeter_init(&top_cpuset.fmeter); top_cpuset 2906 kernel/cgroup/cpuset.c set_bit(CS_SCHED_LOAD_BALANCE, &top_cpuset.flags); top_cpuset 2907 kernel/cgroup/cpuset.c top_cpuset.relax_domain_level = -1; top_cpuset 3143 kernel/cgroup/cpuset.c cpus_updated = !cpumask_equal(top_cpuset.effective_cpus, &new_cpus); top_cpuset 3144 kernel/cgroup/cpuset.c mems_updated = !nodes_equal(top_cpuset.effective_mems, new_mems); top_cpuset 3150 kernel/cgroup/cpuset.c cpumask_copy(top_cpuset.cpus_allowed, &new_cpus); top_cpuset 3157 kernel/cgroup/cpuset.c if (top_cpuset.nr_subparts_cpus) { top_cpuset 3159 kernel/cgroup/cpuset.c top_cpuset.subparts_cpus)) { top_cpuset 3160 kernel/cgroup/cpuset.c top_cpuset.nr_subparts_cpus = 0; top_cpuset 3161 kernel/cgroup/cpuset.c cpumask_clear(top_cpuset.subparts_cpus); top_cpuset 3164 kernel/cgroup/cpuset.c top_cpuset.subparts_cpus); top_cpuset 3167 kernel/cgroup/cpuset.c cpumask_copy(top_cpuset.effective_cpus, &new_cpus); top_cpuset 3176 kernel/cgroup/cpuset.c top_cpuset.mems_allowed = new_mems; top_cpuset 3177 kernel/cgroup/cpuset.c top_cpuset.effective_mems = new_mems; top_cpuset 3179 kernel/cgroup/cpuset.c update_tasks_nodemask(&top_cpuset); top_cpuset 3190 kernel/cgroup/cpuset.c cpuset_for_each_descendant_pre(cs, pos_css, &top_cpuset) { top_cpuset 3191 kernel/cgroup/cpuset.c if (cs == &top_cpuset || !css_tryget_online(&cs->css)) top_cpuset 3251 kernel/cgroup/cpuset.c cpumask_copy(top_cpuset.cpus_allowed, cpu_active_mask); top_cpuset 3252 kernel/cgroup/cpuset.c top_cpuset.mems_allowed = node_states[N_MEMORY]; top_cpuset 3253 kernel/cgroup/cpuset.c top_cpuset.old_mems_allowed = top_cpuset.mems_allowed; top_cpuset 3255 kernel/cgroup/cpuset.c cpumask_copy(top_cpuset.effective_cpus, cpu_active_mask); top_cpuset 3256 kernel/cgroup/cpuset.c top_cpuset.effective_mems = node_states[N_MEMORY];