Home
last modified time | relevance | path

Searched refs:cg_name (Results 1 – 15 of 15) sorted by relevance

/linux/tools/testing/selftests/cgroup/
H A Dtest_core.c92 cg_test = cg_name(root, "cg_test"); in test_cgcore_destroy()
159 cg_test_a = cg_name(root, "cg_test_a"); in test_cgcore_populated()
160 cg_test_b = cg_name(root, "cg_test_a/cg_test_b"); in test_cgcore_populated()
161 cg_test_c = cg_name(root, "cg_test_a/cg_test_b/cg_test_c"); in test_cgcore_populated()
162 cg_test_d = cg_name(root, "cg_test_a/cg_test_b/cg_test_d"); in test_cgcore_populated()
291 grandparent = cg_name(root, "cg_test_grandparent"); in test_cgcore_invalid_domain()
292 parent = cg_name(root, "cg_test_grandparent/cg_test_parent"); in test_cgcore_invalid_domain()
293 child = cg_name(root, "cg_test_grandparent/cg_test_parent/cg_test_child"); in test_cgcore_invalid_domain()
356 parent = cg_name(root, "cg_test_parent"); in test_cgcore_parent_becomes_threaded()
357 child = cg_name(root, "cg_test_parent/cg_test_child"); in test_cgcore_parent_becomes_threaded()
[all …]
H A Dtest_kill.c63 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 Dtest_cpuset.c73 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 Dtest_freezer.c142 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 Dtest_cpu.c46 parent = cg_name(root, "cpucg_test_0"); in test_cpucg_subtree_control()
56 child = cg_name(parent, "cpucg_test_child"); in test_cpucg_subtree_control()
67 parent2 = cg_name(root, "cpucg_test_1"); in test_cpucg_subtree_control()
74 child2 = cg_name(parent2, "cpucg_test_child"); in test_cpucg_subtree_control()
193 cpucg = cg_name(root, "cpucg_test"); in test_cpucg_stats()
248 cpucg = cg_name(root, "cpucg_test"); in test_cpucg_nice()
317 parent = cg_name(root, "cpucg_test_0"); in run_cpucg_weight_test()
500 parent = cg_name(root, "cpucg_test"); in run_cpucg_nested_weight_test()
501 child = cg_name(parent, "cpucg_child"); in run_cpucg_nested_weight_test()
660 cpucg = cg_name(root, "cpucg_test"); in test_cpucg_max()
[all …]
H A Dtest_memcontrol.c116 parent = cg_name(root, "memcg_test_0"); in test_memcg_subtree_control()
117 child = cg_name(root, "memcg_test_0/memcg_test_1"); in test_memcg_subtree_control()
134 parent2 = cg_name(root, "memcg_test_1"); in test_memcg_subtree_control()
135 child2 = cg_name(root, "memcg_test_1/memcg_test_1"); in test_memcg_subtree_control()
253 memcg = cg_name(root, "memcg_test"); in test_memcg_current_peak()
494 parent[0] = cg_name(root, "memcg_test_0"); in test_memcg_protection()
498 parent[1] = cg_name(parent[0], "memcg_test_1"); in test_memcg_protection()
502 parent[2] = cg_name(parent[0], "memcg_test_2"); in test_memcg_protection()
706 memcg = cg_name(root, "memcg_test"); in test_memcg_high()
770 memcg = cg_name(root, "memcg_test"); in test_memcg_high_sync()
[all …]
H A Dtest_pids.c35 cg_pids = cg_name(root, "pids_test"); in test_pids_max()
83 cg_parent = cg_name(root, "pids_parent"); in test_pids_events()
84 cg_child = cg_name(cg_parent, "pids_child"); in test_pids_events()
H A Dtest_zswap.c99 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 Dtest_kmem.c58 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()
313 parent = cg_name(root, "kmem_dead_cgroups_test"); in test_kmem_dead_cgroups()
362 parent = cg_name(root, "percpu_basic_test"); in test_percpu_basic()
H A Dcgroup_util.h
H A Dtest_hugetlb_memcg.c174 test_group = cg_name(root, "hugetlb_memcg_test"); in test_hugetlb_memcg()
H A Dcgroup_util.c
/linux/tools/testing/selftests/cgroup/lib/include/
H A Dcgroup_util.h53 extern char *cg_name(const char *root, const char *name);
/linux/tools/testing/selftests/kvm/
H A Daccess_tracking_perf_test.c576 new_cg = cg_name(cgroup_root, TEST_MEMCG_NAME); in main()
/linux/tools/testing/selftests/cgroup/lib/
H A Dcgroup_util.c57 char *cg_name(const char *root, const char *name) in cg_name() function