Lines Matching defs:root
136 static int test_cgfreezer_simple(const char *root)
142 cgroup = cg_name(root, "cg_test_simple");
188 static int test_cgfreezer_tree(const char *root)
194 cgroup[0] = cg_name(root, "cg_test_tree_A");
360 static int test_cgfreezer_forkbomb(const char *root)
365 cgroup = cg_name(root, "cg_forkbomb_test");
399 static int test_cgfreezer_mkdir(const char *root)
405 parent = cg_name(root, "cg_test_mkdir_A");
453 static int test_cgfreezer_rmdir(const char *root)
458 parent = cg_name(root, "cg_test_rmdir_A");
508 static int test_cgfreezer_migrate(const char *root)
514 cgroup[0] = cg_name(root, "cg_test_migrate_A");
518 cgroup[1] = cg_name(root, "cg_test_migrate_B");
583 static int test_cgfreezer_ptrace(const char *root)
590 cgroup = cg_name(root, "cg_test_ptrace");
665 static int test_cgfreezer_stopped(const char *root)
670 cgroup = cg_name(root, "cg_test_stopped");
709 static int test_cgfreezer_ptraced(const char *root)
715 cgroup = cg_name(root, "cg_test_ptraced");
778 static int test_cgfreezer_vfork(const char *root)
783 cgroup = cg_name(root, "cg_test_vfork");
809 int (*fn)(const char *root);
827 char root[PATH_MAX];
830 if (cg_find_unified_root(root, sizeof(root)))
833 switch (tests[i].fn(root)) {