Searched refs:cg_read_strcmp (Results 1 – 7 of 7) sorted by relevance
/linux/tools/testing/selftests/cgroup/ |
H A D | test_core.c | 182 if (cg_read_strcmp(cg_test_a, "cgroup.events", "populated 1\n")) in test_cgcore_populated() 185 if (cg_read_strcmp(cg_test_b, "cgroup.events", "populated 1\n")) in test_cgcore_populated() 188 if (cg_read_strcmp(cg_test_c, "cgroup.events", "populated 1\n")) in test_cgcore_populated() 191 if (cg_read_strcmp(cg_test_d, "cgroup.events", "populated 0\n")) in test_cgcore_populated() 197 if (cg_read_strcmp(cg_test_a, "cgroup.events", "populated 0\n")) in test_cgcore_populated() 200 if (cg_read_strcmp(cg_test_b, "cgroup.events", "populated 0\n")) in test_cgcore_populated() 203 if (cg_read_strcmp(cg_test_c, "cgroup.events", "populated 0\n")) in test_cgcore_populated() 206 if (cg_read_strcmp(cg_test_d, "cgroup.events", "populated 0\n")) in test_cgcore_populated() 227 err = cg_read_strcmp(cg_test_d, "cgroup.events", "populated 1\n"); in test_cgcore_populated() 236 if (cg_read_strcmp(cg_test_ in test_cgcore_populated() [all...] |
H A D | test_kill.c | 76 if (cg_read_strcmp(cgroup, "cgroup.events", "populated 1\n")) in test_cgkill_simple() 89 cg_read_strcmp(cgroup, "cgroup.events", "populated 0\n")) in test_cgkill_simple() 193 cg_read_strcmp(cgroup[0], "cgroup.events", "populated 0\n")) in test_cgkill_tree() 254 cg_read_strcmp(cgroup, "cgroup.events", "populated 0\n")) in test_cgkill_forkbomb()
|
H A D | test_pids.c | 42 if (cg_read_strcmp(cg_pids, "pids.max", "max\n")) in test_pids_max() 95 if (cg_read_strcmp(cg_child, "pids.max", "max\n")) in test_pids_events()
|
H A D | test_memcontrol.c | 433 if (cg_read_strcmp(cgroup, "cgroup.procs", "") == 0) in cg_test_proc_killed() 713 if (cg_read_strcmp(memcg, "memory.high", "max\n")) in test_memcg_high() 838 if (cg_read_strcmp(memcg, "memory.max", "max\n")) in test_memcg_max() 1104 if (cg_read_strcmp(memcg, "memory.max", "max\n")) in test_memcg_swap_max_peak() 1107 if (cg_read_strcmp(memcg, "memory.swap.max", "max\n")) in test_memcg_swap_max_peak() 1243 if (cg_read_strcmp(memcg, "cgroup.procs", "")) in test_memcg_oom_events()
|
H A D | test_zswap.c | 355 if (cg_read_strcmp(root, "memory.zswap.writeback", "1")) in test_zswap_writeback()
|
/linux/tools/testing/selftests/cgroup/lib/include/ |
H A D | cgroup_util.h | 40 extern int cg_read_strcmp(const char *cgroup, const char *control,
|
/linux/tools/testing/selftests/cgroup/lib/ |
H A D | cgroup_util.c | 99 int cg_read_strcmp(const char *cgroup, const char *control, in cg_read_strcmp() function
|