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

1 /* SPDX-License-Identifier: GPL-2.0-or-later */
39 /* bits in struct cpuset flags field */
51 /* The various types of files and directories in a cpuset file system */
83 * The user-configured masks can only be changed by writing to
85 * parent masks.
87 * The effective masks is the real masks that apply to the tasks
88 * in the cpuset. They may be changed if the configured masks are
97 * The user-configured masks are always the same with effective masks.
100 /* user-configured CPUs and Memory Nodes allow to tasks */
113 * to sub-partitions below & hence excluded from its effective_cpus.
139 * - top_cpuset.old_mems_allowed is initialized to mems_allowed.
140 * - A new cpuset's old_mems_allowed is initialized when some
142 * - old_mems_allowed is used in cpuset_migrate_mm() when we change
152 * zeroing cpus/mems_allowed between ->can_attach() and ->attach().
199 return css_cs(cs->css.parent); in parent_cs()
205 return test_bit(CS_ONLINE, &cs->flags) && !css_is_dying(&cs->css); in is_cpuset_online()
210 return test_bit(CS_CPU_EXCLUSIVE, &cs->flags); in is_cpu_exclusive()
215 return test_bit(CS_MEM_EXCLUSIVE, &cs->flags); in is_mem_exclusive()
220 return test_bit(CS_MEM_HARDWALL, &cs->flags); in is_mem_hardwall()
225 return test_bit(CS_SCHED_LOAD_BALANCE, &cs->flags); in is_sched_load_balance()
230 return test_bit(CS_MEMORY_MIGRATE, &cs->flags); in is_memory_migrate()
235 return test_bit(CS_SPREAD_PAGE, &cs->flags); in is_spread_page()
240 return test_bit(CS_SPREAD_SLAB, &cs->flags); in is_spread_slab()
244 * cpuset_for_each_child - traverse online children of a cpuset
253 css_for_each_child((pos_css), &(parent_cs)->css) \
257 * cpuset_for_each_descendant_pre - pre-order walk of a cpuset's descendants
264 * css_rightmost_descendant() to skip subtree. @root_cs is included in the
268 css_for_each_descendant_pre((pos_css), &(root_cs)->css) \
282 * cpuset-v1.c