Home
last modified time | relevance | path

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

/Linux-v6.1/tools/testing/selftests/cgroup/
Dcgroup_util.h32 extern int cg_read_strstr(const char *cgroup, const char *control,
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()
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()
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()
1285 if (cg_read_strstr(root, "cgroup.controllers", "memory")) in main()
1288 if (cg_read_strstr(root, "cgroup.subtree_control", "memory")) in main()
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()
Dtest_core.c379 if (cg_read_strstr(root, "cgroup.controllers", "cpu") || in test_cgcore_no_internal_process_constraint_on_threads()
868 if (cg_read_strstr(root, "cgroup.subtree_control", "memory")) in main()
Dcgroup_util.c124 int cg_read_strstr(const char *cgroup, const char *control, const char *needle) in cg_read_strstr() function