Lines Matching refs:cg_write
42 if (cg_write(parent, "cgroup.subtree_control", "+memory")) in test_memcg_subtree_control()
297 if (cg_write(parent[0], "cgroup.subtree_control", "+memory")) in test_memcg_min()
300 if (cg_write(parent[0], "memory.max", "200M")) in test_memcg_min()
303 if (cg_write(parent[0], "memory.swap.max", "0")) in test_memcg_min()
309 if (cg_write(parent[1], "cgroup.subtree_control", "+memory")) in test_memcg_min()
330 if (cg_write(parent[0], "memory.min", "50M")) in test_memcg_min()
332 if (cg_write(parent[1], "memory.min", "50M")) in test_memcg_min()
334 if (cg_write(children[0], "memory.min", "75M")) in test_memcg_min()
336 if (cg_write(children[1], "memory.min", "25M")) in test_memcg_min()
338 if (cg_write(children[2], "memory.min", "500M")) in test_memcg_min()
340 if (cg_write(children[3], "memory.min", "0")) in test_memcg_min()
452 if (cg_write(parent[0], "cgroup.subtree_control", "+memory")) in test_memcg_low()
455 if (cg_write(parent[0], "memory.max", "200M")) in test_memcg_low()
458 if (cg_write(parent[0], "memory.swap.max", "0")) in test_memcg_low()
464 if (cg_write(parent[1], "cgroup.subtree_control", "+memory")) in test_memcg_low()
485 if (cg_write(parent[0], "memory.low", "50M")) in test_memcg_low()
487 if (cg_write(parent[1], "memory.low", "50M")) in test_memcg_low()
489 if (cg_write(children[0], "memory.low", "75M")) in test_memcg_low()
491 if (cg_write(children[1], "memory.low", "25M")) in test_memcg_low()
493 if (cg_write(children[2], "memory.low", "500M")) in test_memcg_low()
495 if (cg_write(children[3], "memory.low", "0")) in test_memcg_low()
603 if (cg_write(memcg, "memory.swap.max", "0")) in test_memcg_high()
606 if (cg_write(memcg, "memory.high", "30M")) in test_memcg_high()
652 if (cg_write(memcg, "memory.swap.max", "0")) in test_memcg_max()
655 if (cg_write(memcg, "memory.max", "30M")) in test_memcg_max()
740 if (cg_write(memcg, "memory.swap.max", "30M")) in test_memcg_swap_max()
743 if (cg_write(memcg, "memory.max", "30M")) in test_memcg_swap_max()
789 if (cg_write(memcg, "memory.max", "30M")) in test_memcg_oom_events()
792 if (cg_write(memcg, "memory.swap.max", "0")) in test_memcg_oom_events()
1024 if (cg_write(parent, "cgroup.subtree_control", "+memory")) in test_memcg_oom_group_leaf_events()
1027 if (cg_write(child, "memory.max", "50M")) in test_memcg_oom_group_leaf_events()
1030 if (cg_write(child, "memory.swap.max", "0")) in test_memcg_oom_group_leaf_events()
1033 if (cg_write(child, "memory.oom.group", "1")) in test_memcg_oom_group_leaf_events()
1086 if (cg_write(parent, "memory.max", "80M")) in test_memcg_oom_group_parent_events()
1089 if (cg_write(parent, "memory.swap.max", "0")) in test_memcg_oom_group_parent_events()
1092 if (cg_write(parent, "memory.oom.group", "1")) in test_memcg_oom_group_parent_events()
1139 if (cg_write(memcg, "memory.max", "50M")) in test_memcg_oom_group_score_events()
1142 if (cg_write(memcg, "memory.swap.max", "0")) in test_memcg_oom_group_score_events()
1145 if (cg_write(memcg, "memory.oom.group", "1")) in test_memcg_oom_group_score_events()
1209 if (cg_write(root, "cgroup.subtree_control", "+memory")) in main()