Lines Matching defs:cgroup
58 static int allocate_bytes(const char *cgroup, void *arg)
75 * This was fixed with commit 0bdf0efa180a("zswap: do not shrink if cgroup may
118 static int no_kmem_bypass_child(const char *cgroup, void *arg)
138 * charged to that cgroup. This wasn't the case before commit
180 if (cg_write(root, "cgroup.subtree_control", "+memory"))
254 ksft_exit_skip("cgroup v2 isn't mounted\n");
261 * memory is listed in cgroup.controllers
263 if (cg_read_strstr(root, "cgroup.controllers", "memory"))
266 if (cg_read_strstr(root, "cgroup.subtree_control", "memory"))
267 if (cg_write(root, "cgroup.subtree_control", "+memory"))