Searched refs:CGROUP_MASK_MEMORY (Results 1 - 5 of 5) sorted by relevance

/systemd/src/test/
H A Dtest-cgroup-mask.c76 assert_se(unit_get_own_mask(parent_deep) == CGROUP_MASK_MEMORY);
85 assert_se(unit_get_members_mask(parent) == (CGROUP_MASK_CPU | CGROUP_MASK_CPUACCT | CGROUP_MASK_MEMORY));
86 assert_se(unit_get_members_mask(root) == (CGROUP_MASK_CPU | CGROUP_MASK_CPUACCT | CGROUP_MASK_BLKIO | CGROUP_MASK_MEMORY));
89 assert_se(unit_get_siblings_mask(son) == (CGROUP_MASK_CPU | CGROUP_MASK_CPUACCT | CGROUP_MASK_MEMORY));
90 assert_se(unit_get_siblings_mask(daughter) == (CGROUP_MASK_CPU | CGROUP_MASK_CPUACCT | CGROUP_MASK_MEMORY));
92 assert_se(unit_get_siblings_mask(parent_deep) == (CGROUP_MASK_CPU | CGROUP_MASK_CPUACCT | CGROUP_MASK_MEMORY));
93 assert_se(unit_get_siblings_mask(parent) == (CGROUP_MASK_CPU | CGROUP_MASK_CPUACCT | CGROUP_MASK_BLKIO | CGROUP_MASK_MEMORY));
94 assert_se(unit_get_siblings_mask(root) == (CGROUP_MASK_CPU | CGROUP_MASK_CPUACCT | CGROUP_MASK_BLKIO | CGROUP_MASK_MEMORY));
97 assert_se(unit_get_target_mask(son) == ((CGROUP_MASK_CPU | CGROUP_MASK_CPUACCT | CGROUP_MASK_MEMORY) & m->cgroup_supported));
98 assert_se(unit_get_target_mask(daughter) == ((CGROUP_MASK_CPU | CGROUP_MASK_CPUACCT | CGROUP_MASK_MEMORY)
[all...]
/systemd/src/basic/
H A Dcgroup-util.h52 CGROUP_MASK_MEMORY = CGROUP_CONTROLLER_TO_MASK(CGROUP_CONTROLLER_MEMORY), enumerator in enum:CGroupMask
H A Dcgroup-util.c2039 mask &= CGROUP_MASK_MEMORY | CGROUP_MASK_PIDS;
/systemd/src/core/
H A Ddbus-cgroup.c518 unit_invalidate_cgroup(u, CGROUP_MASK_MEMORY);
533 unit_invalidate_cgroup(u, CGROUP_MASK_MEMORY);
H A Dcgroup.c396 if ((mask & CGROUP_MASK_MEMORY) && !is_root) {
518 mask |= CGROUP_MASK_MEMORY;
1478 if ((u->cgroup_realized_mask & CGROUP_MASK_MEMORY) == 0)

Completed in 1719 milliseconds