Lines Matching refs:mems_allowed
117 nodemask_t mems_allowed; member
584 nodes_subset(p->mems_allowed, q->mems_allowed) && in is_cpuset_subset()
757 if (!nodes_empty(cur->mems_allowed) && in validate_change()
758 nodes_empty(trial->mems_allowed)) in validate_change()
784 nodes_intersects(trial->mems_allowed, c->mems_allowed)) in validate_change()
2025 nodes_or(tsk->mems_allowed, tsk->mems_allowed, *newmems); in cpuset_change_task_nodemask()
2027 tsk->mems_allowed = *newmems; in cpuset_change_task_nodemask()
2078 mpol_rebind_mm(mm, &cs->mems_allowed); in update_tasks_nodemask()
2117 nodes_and(*new_mems, cp->mems_allowed, parent->effective_mems); in update_nodemasks_hier()
2141 !nodes_equal(cp->mems_allowed, cp->effective_mems)); in update_nodemasks_hier()
2185 nodes_clear(trialcs->mems_allowed); in update_nodemask()
2187 retval = nodelist_parse(buf, trialcs->mems_allowed); in update_nodemask()
2191 if (!nodes_subset(trialcs->mems_allowed, in update_nodemask()
2192 top_cpuset.mems_allowed)) { in update_nodemask()
2198 if (nodes_equal(cs->mems_allowed, trialcs->mems_allowed)) { in update_nodemask()
2206 check_insane_mems_config(&trialcs->mems_allowed); in update_nodemask()
2209 cs->mems_allowed = trialcs->mems_allowed; in update_nodemask()
2213 update_nodemasks_hier(cs, &trialcs->mems_allowed); in update_nodemask()
2525 (!is_in_v2_mode() && nodes_empty(cs->mems_allowed))) in cpuset_can_attach_check()
2931 seq_printf(sf, "%*pbl\n", nodemask_pr_args(&cs->mems_allowed)); in cpuset_common_seq_show()
3250 nodes_clear(cs->mems_allowed); in cpuset_css_alloc()
3326 cs->mems_allowed = parent->mems_allowed; in cpuset_css_online()
3327 cs->effective_mems = parent->mems_allowed; in cpuset_css_online()
3390 top_cpuset.mems_allowed = node_possible_map; in cpuset_bind()
3394 top_cpuset.mems_allowed = top_cpuset.effective_mems; in cpuset_bind()
3483 task->mems_allowed = current->mems_allowed; in cpuset_fork()
3531 nodes_setall(top_cpuset.mems_allowed); in cpuset_init()
3561 nodes_empty(parent->mems_allowed)) in remove_tasks_in_empty_cpuset()
3581 cs->mems_allowed = *new_mems; in hotplug_update_tasks_legacy()
3591 if (mems_updated && !nodes_empty(cs->mems_allowed)) in hotplug_update_tasks_legacy()
3595 nodes_empty(cs->mems_allowed); in hotplug_update_tasks_legacy()
3670 nodes_and(new_mems, cs->mems_allowed, parent->effective_mems); in cpuset_hotplug_update_tasks()
3843 top_cpuset.mems_allowed = new_mems; in cpuset_hotplug_workfn()
3918 top_cpuset.old_mems_allowed = top_cpuset.mems_allowed; in cpuset_init_smp()
4022 nodes_setall(current->mems_allowed); in cpuset_init_current_mems_allowed()
4057 return nodes_intersects(*nodemask, current->mems_allowed); in cpuset_nodemask_valid_mems_allowed()
4121 if (node_isset(node, current->mems_allowed)) in cpuset_node_allowed()
4140 allowed = node_isset(node, cs->mems_allowed); in cpuset_node_allowed()
4175 return *rotor = next_node_in(*rotor, current->mems_allowed); in cpuset_spread_node()
4185 node_random(¤t->mems_allowed); in cpuset_mem_spread_node()
4197 node_random(¤t->mems_allowed); in cpuset_slab_spread_node()
4217 return nodes_intersects(tsk1->mems_allowed, tsk2->mems_allowed); in cpuset_mems_allowed_intersects()
4236 nodemask_pr_args(¤t->mems_allowed)); in cpuset_print_current_mems_allowed()
4318 nodemask_pr_args(&task->mems_allowed)); in cpuset_task_status_allowed()
4320 nodemask_pr_args(&task->mems_allowed)); in cpuset_task_status_allowed()