Lines Matching refs:cg_write
124 if (cg_write(parent, "cgroup.subtree_control", "+memory")) in test_memcg_subtree_control()
516 if (cg_write(parent[0], "cgroup.subtree_control", "+memory")) in test_memcg_protection()
519 if (cg_write(parent[0], "memory.max", "200M")) in test_memcg_protection()
522 if (cg_write(parent[0], "memory.swap.max", "0")) in test_memcg_protection()
528 if (cg_write(parent[1], "cgroup.subtree_control", "+memory")) in test_memcg_protection()
549 if (cg_write(parent[1], attribute, "50M")) in test_memcg_protection()
551 if (cg_write(children[0], attribute, "75M")) in test_memcg_protection()
553 if (cg_write(children[1], attribute, "25M")) in test_memcg_protection()
555 if (cg_write(children[2], attribute, "0")) in test_memcg_protection()
557 if (cg_write(children[3], attribute, "500M")) in test_memcg_protection()
716 if (cg_write(memcg, "memory.swap.max", "0")) in test_memcg_high()
719 if (cg_write(memcg, "memory.high", "30M")) in test_memcg_high()
782 if (cg_write(memcg, "memory.swap.max", "0")) in test_memcg_high_sync()
785 if (cg_write(memcg, "memory.high", "30M")) in test_memcg_high_sync()
788 if (cg_write(memcg, "memory.max", "140M")) in test_memcg_high_sync()
841 if (cg_write(memcg, "memory.swap.max", "0")) in test_memcg_max()
844 if (cg_write(memcg, "memory.max", "30M")) in test_memcg_max()
904 err = cg_write(memcg, "memory.reclaim", buf); in reclaim_until()
1110 if (cg_write(memcg, "memory.swap.max", "30M")) in test_memcg_swap_max_peak()
1113 if (cg_write(memcg, "memory.max", "30M")) in test_memcg_swap_max_peak()
1146 peak_reset = cg_write(memcg, "memory.swap.peak", (char *)reset_string); in test_memcg_swap_max_peak()
1150 peak_reset = cg_write(memcg, "memory.peak", (char *)reset_string); in test_memcg_swap_max_peak()
1234 if (cg_write(memcg, "memory.max", "30M")) in test_memcg_oom_events()
1237 if (cg_write(memcg, "memory.swap.max", "0")) in test_memcg_oom_events()
1471 if (cg_write(parent, "cgroup.subtree_control", "+memory")) in test_memcg_oom_group_leaf_events()
1474 if (cg_write(child, "memory.max", "50M")) in test_memcg_oom_group_leaf_events()
1477 if (cg_write(child, "memory.swap.max", "0")) in test_memcg_oom_group_leaf_events()
1480 if (cg_write(child, "memory.oom.group", "1")) in test_memcg_oom_group_leaf_events()
1542 if (cg_write(parent, "memory.max", "80M")) in test_memcg_oom_group_parent_events()
1545 if (cg_write(parent, "memory.swap.max", "0")) in test_memcg_oom_group_parent_events()
1548 if (cg_write(parent, "memory.oom.group", "1")) in test_memcg_oom_group_parent_events()
1595 if (cg_write(memcg, "memory.max", "50M")) in test_memcg_oom_group_score_events()
1598 if (cg_write(memcg, "memory.swap.max", "0")) in test_memcg_oom_group_score_events()
1601 if (cg_write(memcg, "memory.oom.group", "1")) in test_memcg_oom_group_score_events()
1666 if (cg_write(root, "cgroup.subtree_control", "+memory")) in main()