/linux/tools/testing/selftests/cgroup/ |
H A D | test_core.c | 87 cg_test = cg_name(root, "cg_test"); in test_cgcore_destroy() 151 cg_test_a = cg_name(root, "cg_test_a"); in test_cgcore_populated() 152 cg_test_b = cg_name(root, "cg_test_a/cg_test_b"); in test_cgcore_populated() 153 cg_test_c = cg_name(root, "cg_test_a/cg_test_b/cg_test_c"); in test_cgcore_populated() 154 cg_test_d = cg_name(root, "cg_test_a/cg_test_b/cg_test_d"); in test_cgcore_populated() 280 grandparent = cg_name(root, "cg_test_grandparent"); in test_cgcore_invalid_domain() 281 parent = cg_name(root, "cg_test_grandparent/cg_test_parent"); in test_cgcore_invalid_domain() 282 child = cg_name(root, "cg_test_grandparent/cg_test_parent/cg_test_child"); in test_cgcore_invalid_domain() 342 parent = cg_name(root, "cg_test_parent"); in test_cgcore_parent_becomes_threaded() 343 child = cg_name(roo in test_cgcore_parent_becomes_threaded() [all...] |
H A D | test_freezer.c | 142 cgroup = cg_name(root, "cg_test_simple"); in test_cgfreezer_simple() 194 cgroup[0] = cg_name(root, "cg_test_tree_A"); in test_cgfreezer_tree() 198 cgroup[1] = cg_name(cgroup[0], "B"); in test_cgfreezer_tree() 202 cgroup[2] = cg_name(cgroup[1], "C"); in test_cgfreezer_tree() 206 cgroup[3] = cg_name(cgroup[1], "D"); in test_cgfreezer_tree() 210 cgroup[4] = cg_name(cgroup[0], "E"); in test_cgfreezer_tree() 214 cgroup[5] = cg_name(cgroup[4], "F"); in test_cgfreezer_tree() 218 cgroup[6] = cg_name(cgroup[5], "G"); in test_cgfreezer_tree() 222 cgroup[7] = cg_name(cgroup[6], "H"); in test_cgfreezer_tree() 226 cgroup[8] = cg_name(cgroup[0], "I"); in test_cgfreezer_tree() [all …]
|
H A D | test_kill.c | 63 cgroup = cg_name(root, "cg_test_simple"); in test_cgkill_simple() 120 cgroup[0] = cg_name(root, "cg_test_tree_A"); in test_cgkill_tree() 124 cgroup[1] = cg_name(cgroup[0], "B"); in test_cgkill_tree() 128 cgroup[2] = cg_name(cgroup[1], "C"); in test_cgkill_tree() 132 cgroup[3] = cg_name(cgroup[1], "D"); in test_cgkill_tree() 136 cgroup[4] = cg_name(cgroup[0], "E"); in test_cgkill_tree() 140 cgroup[5] = cg_name(cgroup[4], "F"); in test_cgkill_tree() 144 cgroup[6] = cg_name(cgroup[5], "G"); in test_cgkill_tree() 148 cgroup[7] = cg_name(cgroup[6], "H"); in test_cgkill_tree() 152 cgroup[8] = cg_name(cgroup[0], "I"); in test_cgkill_tree() [all …]
|
H A D | test_cpuset.c | 73 parent = cg_name(root, "cpuset_test_0"); in test_cpuset_perms_object() 76 parent_procs = cg_name(parent, "cgroup.procs"); in test_cpuset_perms_object() 82 child_src = cg_name(parent, "cpuset_test_1"); in test_cpuset_perms_object() 85 child_src_procs = cg_name(child_src, "cgroup.procs"); in test_cpuset_perms_object() 91 child_dst = cg_name(parent, "cpuset_test_2"); in test_cpuset_perms_object() 94 child_dst_procs = cg_name(child_dst, "cgroup.procs"); in test_cpuset_perms_object() 175 parent = cg_name(root, "cpuset_test_0"); in test_cpuset_perms_subtree() 178 parent_procs = cg_name(parent, "cgroup.procs"); in test_cpuset_perms_subtree() 181 parent_subctl = cg_name(parent, "cgroup.subtree_control"); in test_cpuset_perms_subtree() 187 child = cg_name(parent, "cpuset_test_1"); in test_cpuset_perms_subtree() [all …]
|
H A D | test_cpu.c | 44 parent = cg_name(root, "cpucg_test_0"); in test_cpucg_subtree_control() 54 child = cg_name(parent, "cpucg_test_child"); in test_cpucg_subtree_control() 65 parent2 = cg_name(root, "cpucg_test_1"); in test_cpucg_subtree_control() 72 child2 = cg_name(parent2, "cpucg_test_child"); in test_cpucg_subtree_control() 191 cpucg = cg_name(root, "cpucg_test"); in test_cpucg_stats() 242 parent = cg_name(root, "cpucg_test_0"); in run_cpucg_weight_test() 425 parent = cg_name(root, "cpucg_test"); in run_cpucg_nested_weight_test() 426 child = cg_name(parent, "cpucg_child"); in run_cpucg_nested_weight_test() 579 cpucg = cg_name(root, "cpucg_test"); in test_cpucg_max() 632 parent = cg_name(roo in test_cpucg_max_nested() [all...] |
H A D | test_memcontrol.c | 38 parent = cg_name(root, "memcg_test_0"); in test_memcg_subtree_control() 39 child = cg_name(root, "memcg_test_0/memcg_test_1"); in test_memcg_subtree_control() 56 parent2 = cg_name(root, "memcg_test_1"); in test_memcg_subtree_control() 57 child2 = cg_name(root, "memcg_test_1/memcg_test_1"); in test_memcg_subtree_control() 175 memcg = cg_name(root, "memcg_test"); in test_memcg_current_peak() 415 parent[0] = cg_name(root, "memcg_test_0"); in test_memcg_protection() 419 parent[1] = cg_name(parent[0], "memcg_test_1"); in test_memcg_protection() 423 parent[2] = cg_name(parent[0], "memcg_test_2"); in test_memcg_protection() 618 memcg = cg_name(root, "memcg_test"); in test_memcg_high() 682 memcg = cg_name(root, "memcg_test"); in test_memcg_high_sync() [all …]
|
H A D | test_zswap.c | 99 char *group_name = cg_name(root, name); in setup_test_group_1M() 124 test_group = cg_name(root, "no_shrink_test"); in test_zswap_usage() 166 test_group = cg_name(root, "no_zswap_test"); in test_swapin_nozswap() 218 test_group = cg_name(root, "zswapin_test"); in test_zswapin() 358 test_group = cg_name(root, "zswap_writeback_test"); in test_zswap_writeback() 377 test_group_child = cg_name(test_group, "zswap_writeback_test_child"); in test_zswap_writeback() 526 test_group = cg_name(root, "kmem_bypass_test"); in test_no_kmem_bypass()
|
H A D | test_kmem.c | 58 cg = cg_name(root, "kmem_basic_test"); in test_kmem_basic() 173 parent = cg_name(root, "kmem_memcg_deletion_test"); in test_kmem_memcg_deletion() 282 cg = cg_name(root, "kmem_kernel_stacks_test"); in test_kmem_kernel_stacks() 312 parent = cg_name(root, "kmem_dead_cgroups_test"); in test_kmem_dead_cgroups() 359 parent = cg_name(root, "percpu_basic_test"); in test_percpu_basic()
|
H A D | test_pids.c | 35 cg_pids = cg_name(root, "pids_test"); in test_pids_max() 80 cg_parent = cg_name(root, "pids_parent"); in test_pids_events() 81 cg_child = cg_name(cg_parent, "pids_child"); in test_pids_events()
|
H A D | cgroup_util.h | 25 extern char *cg_name(const char *root, const char *name);
|
H A D | test_hugetlb_memcg.c | 174 test_group = cg_name(root, "hugetlb_memcg_test"); in test_hugetlb_memcg()
|
H A D | cgroup_util.c | 55 char *cg_name(const char *root, const char *name) in cg_name() function
|