Lines Matching +full:in +full:- +full:masks

1 /* SPDX-License-Identifier: GPL-2.0-or-later */
38 /* bits in struct cpuset flags field */
50 /* The various types of files and directories in a cpuset file system */
82 * The user-configured masks can only be changed by writing to
84 * parent masks.
86 * The effective masks is the real masks that apply to the tasks
87 * in the cpuset. They may be changed if the configured masks are
96 * The user-configured masks are always the same with effective masks.
99 /* user-configured CPUs and Memory Nodes allow to tasks */
112 * to sub-partitions below & hence excluded from its effective_cpus.
138 * - top_cpuset.old_mems_allowed is initialized to mems_allowed.
139 * - A new cpuset's old_mems_allowed is initialized when some
141 * - old_mems_allowed is used in cpuset_migrate_mm() when we change
151 * zeroing cpus/mems_allowed between ->can_attach() and ->attach().
198 return css_cs(cs->css.parent); in parent_cs()
204 return test_bit(CS_ONLINE, &cs->flags) && !css_is_dying(&cs->css); in is_cpuset_online()
209 return test_bit(CS_CPU_EXCLUSIVE, &cs->flags); in is_cpu_exclusive()
214 return test_bit(CS_MEM_EXCLUSIVE, &cs->flags); in is_mem_exclusive()
219 return test_bit(CS_MEM_HARDWALL, &cs->flags); in is_mem_hardwall()
224 return test_bit(CS_SCHED_LOAD_BALANCE, &cs->flags); in is_sched_load_balance()
229 return test_bit(CS_MEMORY_MIGRATE, &cs->flags); in is_memory_migrate()
234 return test_bit(CS_SPREAD_PAGE, &cs->flags); in is_spread_page()
239 return test_bit(CS_SPREAD_SLAB, &cs->flags); in is_spread_slab()
243 * cpuset_for_each_child - traverse online children of a cpuset
252 css_for_each_child((pos_css), &(parent_cs)->css) \
256 * cpuset_for_each_descendant_pre - pre-order walk of a cpuset's descendants
263 * css_rightmost_descendant() to skip subtree. @root_cs is included in the
267 css_for_each_descendant_pre((pos_css), &(root_cs)->css) \
281 * cpuset-v1.c