Home
last modified time | relevance | path

Searched refs:cg_read_strstr (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/tools/testing/selftests/cgroup/
H A Dtest_cpuset.c38 if (!cg_read_strstr(child, "cgroup.controllers", "cpuset")) in do_controller_fn()
44 if (cg_read_strstr(child, "cgroup.controllers", "cpuset")) in do_controller_fn()
50 if (!cg_read_strstr(child, "cgroup.controllers", "cpuset")) in do_controller_fn()
103 if (cg_read_strstr(child_src, "cgroup.controllers", "cpuset") || in test_cpuset_perms_object()
104 cg_read_strstr(child_dst, "cgroup.controllers", "cpuset")) in test_cpuset_perms_object()
255 if (cg_read_strstr(root, "cgroup.subtree_control", "cpuset")) in main()
H A Dtest_zswap.c263 if (cg_read_strstr(root, "cgroup.controllers", "memory")) in main()
266 if (cg_read_strstr(root, "cgroup.subtree_control", "memory")) in main()
H A Dcgroup_util.h34 extern int cg_read_strstr(const char *cgroup, const char *control,
H A Dtest_kmem.c430 if (cg_read_strstr(root, "cgroup.controllers", "memory")) in main()
433 if (cg_read_strstr(root, "cgroup.subtree_control", "memory")) in main()
H A Dtest_cpu.c61 if (cg_read_strstr(child, "cgroup.controllers", "cpu")) in test_cpucg_subtree_control()
79 if (!cg_read_strstr(child2, "cgroup.controllers", "cpu")) in test_cpucg_subtree_control()
706 if (cg_read_strstr(root, "cgroup.subtree_control", "cpu")) in main()
H A Dtest_memcontrol.c52 if (cg_read_strstr(child, "cgroup.controllers", "memory")) in test_memcg_subtree_control()
70 if (!cg_read_strstr(child2, "cgroup.controllers", "memory")) in test_memcg_subtree_control()
1324 if (cg_read_strstr(root, "cgroup.controllers", "memory")) in main()
1327 if (cg_read_strstr(root, "cgroup.subtree_control", "memory")) in main()
H A Dtest_freezer.c30 if (cg_read_strstr(cgroup, "cgroup.events", "frozen 1") != 0) { in cg_check_frozen()
38 if (cg_read_strstr(cgroup, "cgroup.events", "frozen 0") != 0) { in cg_check_frozen()
H A Dtest_core.c381 if (cg_read_strstr(root, "cgroup.controllers", "cpu") || in test_cgcore_no_internal_process_constraint_on_threads()
873 if (cg_read_strstr(root, "cgroup.subtree_control", "memory")) in main()
H A Dcgroup_util.c124 int cg_read_strstr(const char *cgroup, const char *control, const char *needle) in cg_read_strstr() function