Home
last modified time | relevance | path

Searched refs:SAFE_CG_PRINT (Results 1 – 16 of 16) sorted by relevance

/third_party/ltp/testcases/kernel/controllers/memcg/
Dmemcontrol04.c139 SAFE_CG_PRINT(trunk_cg[A], "cgroup.subtree_control", "+memory"); in test_memcg_low()
141 SAFE_CG_PRINT(trunk_cg[A], "memory.max", "200M"); in test_memcg_low()
142 SAFE_CG_PRINT(trunk_cg[A], "memory.swap.max", "0"); in test_memcg_low()
146 SAFE_CG_PRINT(trunk_cg[B], "cgroup.subtree_control", "+memory"); in test_memcg_low()
160 SAFE_CG_PRINT(trunk_cg[A], "memory.low", "50M"); in test_memcg_low()
161 SAFE_CG_PRINT(trunk_cg[B], "memory.low", "50M"); in test_memcg_low()
162 SAFE_CG_PRINT(leaf_cg[C], "memory.low", "75M"); in test_memcg_low()
163 SAFE_CG_PRINT(leaf_cg[D], "memory.low", "25M"); in test_memcg_low()
164 SAFE_CG_PRINT(leaf_cg[E], "memory.low", "500M"); in test_memcg_low()
165 SAFE_CG_PRINT(leaf_cg[F], "memory.low", "0"); in test_memcg_low()
Dmemcontrol03.c168 SAFE_CG_PRINT(trunk_cg[A], "cgroup.subtree_control", "+memory"); in test_memcg_min()
170 SAFE_CG_PRINT(trunk_cg[A], "memory.max", "200M"); in test_memcg_min()
171 SAFE_CG_PRINT(trunk_cg[A], "memory.swap.max", "0"); in test_memcg_min()
175 SAFE_CG_PRINT(trunk_cg[B], "cgroup.subtree_control", "+memory"); in test_memcg_min()
189 SAFE_CG_PRINT(trunk_cg[A], "memory.min", "50M"); in test_memcg_min()
190 SAFE_CG_PRINT(trunk_cg[B], "memory.min", "50M"); in test_memcg_min()
191 SAFE_CG_PRINT(leaf_cg[C], "memory.min", "75M"); in test_memcg_min()
192 SAFE_CG_PRINT(leaf_cg[D], "memory.min", "25M"); in test_memcg_min()
193 SAFE_CG_PRINT(leaf_cg[E], "memory.min", "500M"); in test_memcg_min()
194 SAFE_CG_PRINT(leaf_cg[F], "memory.min", "0"); in test_memcg_min()
Dmemcontrol01.c30 SAFE_CG_PRINT(parent2, "cgroup.subtree_control", "-memory"); in test_memcg_subtree_control()
/third_party/ltp/scripts/coccinelle/
Dkselftest-cgroup-to-ltp.cocci15 + SAFE_CG_PRINT(cg, fname, data);
23 - SAFE_CG_PRINT(cg, "cgroup.subtree_control", "+memory");
25 + SAFE_CG_PRINT(cg, "cgroup.subtree_control", "+memory");
/third_party/ltp/lib/newlib_tests/
Dtst_cgroup02.c25 SAFE_CG_PRINT(tst_cg, "cgroup.subtree_control", "+memory"); in do_test()
27 SAFE_CG_PRINT(tst_cg, "cgroup.subtree_control", "+cpuset"); in do_test()
42 SAFE_CG_PRINT(cg_child, "cpuset.mems", buf); in do_test()
/third_party/ltp/testcases/kernel/mem/oom/
Doom05.c55 SAFE_CG_PRINT(tst_cg, "cpuset.memory_migrate", "1"); in verify_oom()
76 SAFE_CG_PRINT(tst_cg, "memory.swap.max", "max"); in verify_oom()
Doom04.c54 SAFE_CG_PRINT(tst_cg, "cpuset.memory_migrate", "1"); in verify_oom()
Doom03.c68 SAFE_CG_PRINT(tst_cg, "memory.swap.max", "max"); in verify_oom()
/third_party/ltp/testcases/kernel/mem/cpuset/
Dcpuset01.c55 SAFE_CG_PRINT(tst_cg, "cpuset.cpus", buf); in test_cpuset()
57 SAFE_CG_PRINT(tst_cg, "cpuset.mems", buf); in test_cpuset()
/third_party/ltp/testcases/kernel/controllers/memcg/regression/
Dmemcg_test_3.c70 SAFE_CG_PRINT(tst_cg, "cgroup.subtree_control", "+memory"); in setup()
/third_party/ltp/testcases/kernel/controllers/cgroup/
Dcgroup_core01.c45 SAFE_CG_PRINT(cg_child_a, "cgroup.procs", "0"); in test_lesser_euid_open()
Dcgroup_core02.c63 SAFE_CG_PRINT(cg_child_a, "cgroup.procs", "0"); in test_lesser_ns_open()
/third_party/ltp/include/
Dtst_cgroup.h202 #define SAFE_CG_PRINT(cg, file_name, str) \ macro
/third_party/ltp/testcases/kernel/syscalls/madvise/
Dmadvise06.c126 SAFE_CG_PRINT(tst_cg, "memory.swappiness", "60"); in setup()
/third_party/ltp/testcases/kernel/mem/lib/
Dmem.c586 SAFE_CG_PRINT(cg, "cpuset.cpus", cpus); in write_cpusets()
590 SAFE_CG_PRINT(cg, "cpuset.cpus", "0"); in write_cpusets()
/third_party/ltp/doc/
DC-Test-API.asciidoc2220 SAFE_CG_PRINT(tst_cg, "cgroup.subtree_control", "+memory");
2222 SAFE_CG_PRINT(tst_cg, "cgroup.subtree_control", "+cpuset");
2314 SAFE_CG_PRINT(tst_cg, "memory.swap.max", "max");