Lines Matching refs:cg_write
46 if (cg_write(parent, "cgroup.subtree_control", "+memory")) in test_memcg_subtree_control()
325 if (cg_write(parent[0], "cgroup.subtree_control", "+memory")) in test_memcg_protection()
328 if (cg_write(parent[0], "memory.max", "200M")) in test_memcg_protection()
331 if (cg_write(parent[0], "memory.swap.max", "0")) in test_memcg_protection()
337 if (cg_write(parent[1], "cgroup.subtree_control", "+memory")) in test_memcg_protection()
358 if (cg_write(parent[1], attribute, "50M")) in test_memcg_protection()
360 if (cg_write(children[0], attribute, "75M")) in test_memcg_protection()
362 if (cg_write(children[1], attribute, "25M")) in test_memcg_protection()
364 if (cg_write(children[2], attribute, "0")) in test_memcg_protection()
366 if (cg_write(children[3], attribute, "500M")) in test_memcg_protection()
516 if (cg_write(memcg, "memory.swap.max", "0")) in test_memcg_high()
519 if (cg_write(memcg, "memory.high", "30M")) in test_memcg_high()
582 if (cg_write(memcg, "memory.swap.max", "0")) in test_memcg_high_sync()
585 if (cg_write(memcg, "memory.high", "30M")) in test_memcg_high_sync()
588 if (cg_write(memcg, "memory.max", "140M")) in test_memcg_high_sync()
641 if (cg_write(memcg, "memory.swap.max", "0")) in test_memcg_max()
644 if (cg_write(memcg, "memory.max", "30M")) in test_memcg_max()
704 err = cg_write(memcg, "memory.reclaim", buf); in reclaim_until()
847 if (cg_write(memcg, "memory.swap.max", "30M")) in test_memcg_swap_max()
850 if (cg_write(memcg, "memory.max", "30M")) in test_memcg_swap_max()
896 if (cg_write(memcg, "memory.max", "30M")) in test_memcg_oom_events()
899 if (cg_write(memcg, "memory.swap.max", "0")) in test_memcg_oom_events()
1133 if (cg_write(parent, "cgroup.subtree_control", "+memory")) in test_memcg_oom_group_leaf_events()
1136 if (cg_write(child, "memory.max", "50M")) in test_memcg_oom_group_leaf_events()
1139 if (cg_write(child, "memory.swap.max", "0")) in test_memcg_oom_group_leaf_events()
1142 if (cg_write(child, "memory.oom.group", "1")) in test_memcg_oom_group_leaf_events()
1204 if (cg_write(parent, "memory.max", "80M")) in test_memcg_oom_group_parent_events()
1207 if (cg_write(parent, "memory.swap.max", "0")) in test_memcg_oom_group_parent_events()
1210 if (cg_write(parent, "memory.oom.group", "1")) in test_memcg_oom_group_parent_events()
1257 if (cg_write(memcg, "memory.max", "50M")) in test_memcg_oom_group_score_events()
1260 if (cg_write(memcg, "memory.swap.max", "0")) in test_memcg_oom_group_score_events()
1263 if (cg_write(memcg, "memory.oom.group", "1")) in test_memcg_oom_group_score_events()
1328 if (cg_write(root, "cgroup.subtree_control", "+memory")) in main()