• Home
  • Raw
  • Download

Lines Matching refs:root

38 static int test_cpucg_subtree_control(const char *root)  in test_cpucg_subtree_control()  argument
44 parent = cg_name(root, "cpucg_test_0"); in test_cpucg_subtree_control()
65 parent2 = cg_name(root, "cpucg_test_1"); in test_cpucg_subtree_control()
183 static int test_cpucg_stats(const char *root) in test_cpucg_stats() argument
191 cpucg = cg_name(root, "cpucg_test"); in test_cpucg_stats()
234 const char *root, in run_cpucg_weight_test() argument
242 parent = cg_name(root, "cpucg_test_0"); in run_cpucg_weight_test()
355 static int test_cpucg_weight_overprovisioned(const char *root) in test_cpucg_weight_overprovisioned() argument
357 return run_cpucg_weight_test(root, weight_hog_all_cpus, in test_cpucg_weight_overprovisioned()
395 static int test_cpucg_weight_underprovisioned(const char *root) in test_cpucg_weight_underprovisioned() argument
402 return run_cpucg_weight_test(root, weight_hog_one_cpu, in test_cpucg_weight_underprovisioned()
407 run_cpucg_nested_weight_test(const char *root, bool overprovisioned) in run_cpucg_nested_weight_test() argument
425 parent = cg_name(root, "cpucg_test"); in run_cpucg_nested_weight_test()
542 test_cpucg_nested_weight_overprovisioned(const char *root) in test_cpucg_nested_weight_overprovisioned() argument
544 return run_cpucg_nested_weight_test(root, true); in test_cpucg_nested_weight_overprovisioned()
562 test_cpucg_nested_weight_underprovisioned(const char *root) in test_cpucg_nested_weight_underprovisioned() argument
564 return run_cpucg_nested_weight_test(root, false); in test_cpucg_nested_weight_underprovisioned()
571 static int test_cpucg_max(const char *root) in test_cpucg_max() argument
579 cpucg = cg_name(root, "cpucg_test"); in test_cpucg_max()
624 static int test_cpucg_max_nested(const char *root) in test_cpucg_max_nested() argument
632 parent = cg_name(root, "cpucg_parent"); in test_cpucg_max_nested()
684 int (*fn)(const char *root);
700 char root[PATH_MAX]; in main() local
703 if (cg_find_unified_root(root, sizeof(root), NULL)) in main()
706 if (cg_read_strstr(root, "cgroup.subtree_control", "cpu")) in main()
707 if (cg_write(root, "cgroup.subtree_control", "+cpu")) in main()
711 switch (tests[i].fn(root)) { in main()