Lines Matching refs:cg_write

46 	if (cg_write(parent, "cgroup.subtree_control", "+memory"))  in test_memcg_subtree_control()
437 if (cg_write(parent[0], "cgroup.subtree_control", "+memory")) in test_memcg_protection()
440 if (cg_write(parent[0], "memory.max", "200M")) in test_memcg_protection()
443 if (cg_write(parent[0], "memory.swap.max", "0")) in test_memcg_protection()
449 if (cg_write(parent[1], "cgroup.subtree_control", "+memory")) in test_memcg_protection()
470 if (cg_write(parent[1], attribute, "50M")) in test_memcg_protection()
472 if (cg_write(children[0], attribute, "75M")) in test_memcg_protection()
474 if (cg_write(children[1], attribute, "25M")) in test_memcg_protection()
476 if (cg_write(children[2], attribute, "0")) in test_memcg_protection()
478 if (cg_write(children[3], attribute, "500M")) in test_memcg_protection()
628 if (cg_write(memcg, "memory.swap.max", "0")) in test_memcg_high()
631 if (cg_write(memcg, "memory.high", "30M")) in test_memcg_high()
694 if (cg_write(memcg, "memory.swap.max", "0")) in test_memcg_high_sync()
697 if (cg_write(memcg, "memory.high", "30M")) in test_memcg_high_sync()
700 if (cg_write(memcg, "memory.max", "140M")) in test_memcg_high_sync()
753 if (cg_write(memcg, "memory.swap.max", "0")) in test_memcg_max()
756 if (cg_write(memcg, "memory.max", "30M")) in test_memcg_max()
816 err = cg_write(memcg, "memory.reclaim", buf); in reclaim_until()
1022 if (cg_write(memcg, "memory.swap.max", "30M")) in test_memcg_swap_max_peak()
1025 if (cg_write(memcg, "memory.max", "30M")) in test_memcg_swap_max_peak()
1058 peak_reset = cg_write(memcg, "memory.swap.peak", (char *)reset_string); in test_memcg_swap_max_peak()
1062 peak_reset = cg_write(memcg, "memory.peak", (char *)reset_string); in test_memcg_swap_max_peak()
1146 if (cg_write(memcg, "memory.max", "30M")) in test_memcg_oom_events()
1149 if (cg_write(memcg, "memory.swap.max", "0")) in test_memcg_oom_events()
1383 if (cg_write(parent, "cgroup.subtree_control", "+memory")) in test_memcg_oom_group_leaf_events()
1386 if (cg_write(child, "memory.max", "50M")) in test_memcg_oom_group_leaf_events()
1389 if (cg_write(child, "memory.swap.max", "0")) in test_memcg_oom_group_leaf_events()
1392 if (cg_write(child, "memory.oom.group", "1")) in test_memcg_oom_group_leaf_events()
1454 if (cg_write(parent, "memory.max", "80M")) in test_memcg_oom_group_parent_events()
1457 if (cg_write(parent, "memory.swap.max", "0")) in test_memcg_oom_group_parent_events()
1460 if (cg_write(parent, "memory.oom.group", "1")) in test_memcg_oom_group_parent_events()
1507 if (cg_write(memcg, "memory.max", "50M")) in test_memcg_oom_group_score_events()
1510 if (cg_write(memcg, "memory.swap.max", "0")) in test_memcg_oom_group_score_events()
1513 if (cg_write(memcg, "memory.oom.group", "1")) in test_memcg_oom_group_score_events()
1578 if (cg_write(root, "cgroup.subtree_control", "+memory")) in main()