Home
last modified time | relevance | path

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

/tools/testing/selftests/cgroup/
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()
A Dtest_pids.c156 if (cg_read_strstr(root, "cgroup.controllers", "pids")) in main()
159 if (cg_read_strstr(root, "cgroup.subtree_control", "pids")) in main()
A Dtest_kmem.c433 if (cg_read_strstr(root, "cgroup.controllers", "memory")) in main()
436 if (cg_read_strstr(root, "cgroup.subtree_control", "memory")) in main()
A Dtest_cpu.c63 if (cg_read_strstr(child, "cgroup.controllers", "cpu")) in test_cpucg_subtree_control()
81 if (!cg_read_strstr(child2, "cgroup.controllers", "cpu")) in test_cpucg_subtree_control()
804 if (cg_read_strstr(root, "cgroup.subtree_control", "cpu")) in main()
A Dtest_zswap.c612 if (cg_read_strstr(root, "cgroup.controllers", "memory")) in main()
615 if (cg_read_strstr(root, "cgroup.subtree_control", "memory")) in main()
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()
A Dtest_memcontrol.c130 if (cg_read_strstr(child, "cgroup.controllers", "memory")) in test_memcg_subtree_control()
148 if (!cg_read_strstr(child2, "cgroup.controllers", "memory")) in test_memcg_subtree_control()
1662 if (cg_read_strstr(root, "cgroup.controllers", "memory")) in main()
1665 if (cg_read_strstr(root, "cgroup.subtree_control", "memory")) in main()
A Dtest_core.c396 cg_read_strstr(root, "cgroup.controllers", "cpu") || in test_cgcore_no_internal_process_constraint_on_threads()
935 if (cg_read_strstr(root, "cgroup.subtree_control", "memory")) in main()
/tools/testing/selftests/cgroup/lib/include/
A Dcgroup_util.h42 extern int cg_read_strstr(const char *cgroup, const char *control,
/tools/testing/selftests/cgroup/lib/
A Dcgroup_util.c126 int cg_read_strstr(const char *cgroup, const char *control, const char *needle) in cg_read_strstr() function
247 cg_read_strstr(mount, "cgroup.controllers", controller)) in cg_find_root()

Completed in 15 milliseconds