Searched refs:cg_read_strstr (Results 1 – 10 of 10) sorted by relevance
| /tools/testing/selftests/cgroup/ |
| A D | test_cpuset.c | 38 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 D | test_pids.c | 156 if (cg_read_strstr(root, "cgroup.controllers", "pids")) in main() 159 if (cg_read_strstr(root, "cgroup.subtree_control", "pids")) in main()
|
| A D | test_kmem.c | 433 if (cg_read_strstr(root, "cgroup.controllers", "memory")) in main() 436 if (cg_read_strstr(root, "cgroup.subtree_control", "memory")) in main()
|
| A D | test_cpu.c | 63 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 D | test_zswap.c | 612 if (cg_read_strstr(root, "cgroup.controllers", "memory")) in main() 615 if (cg_read_strstr(root, "cgroup.subtree_control", "memory")) in main()
|
| A D | test_freezer.c | 30 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 D | test_memcontrol.c | 130 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 D | test_core.c | 396 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 D | cgroup_util.h | 42 extern int cg_read_strstr(const char *cgroup, const char *control,
|
| /tools/testing/selftests/cgroup/lib/ |
| A D | cgroup_util.c | 126 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 23 milliseconds