Searched refs:cg_open (Results 1 – 3 of 3) sorted by relevance
| /tools/testing/selftests/cgroup/lib/include/ |
| A D | cgroup_util.h | 49 extern int cg_open(const char *cgroup, const char *control, int flags);
|
| /tools/testing/selftests/cgroup/ |
| A D | test_memcontrol.c | 280 peak_fd = cg_open(memcg, "memory.peak", O_RDWR | O_APPEND | O_CLOEXEC); in test_memcg_current_peak() 301 peak_fd2 = cg_open(memcg, "memory.peak", O_RDWR | O_APPEND | O_CLOEXEC); in test_memcg_current_peak() 306 peak_fd3 = cg_open(memcg, "memory.peak", O_RDWR | O_APPEND | O_CLOEXEC); in test_memcg_current_peak() 335 peak_fd4 = cg_open(memcg, "memory.peak", O_RDWR | O_APPEND | O_CLOEXEC); in test_memcg_current_peak() 1049 swap_peak_fd = cg_open(memcg, "memory.swap.peak", in test_memcg_swap_max_peak() 1071 mem_peak_fd = cg_open(memcg, "memory.peak", O_RDWR | O_APPEND | O_CLOEXEC); in test_memcg_swap_max_peak()
|
| /tools/testing/selftests/cgroup/lib/ |
| A D | cgroup_util.c | 202 int cg_open(const char *cgroup, const char *control, int flags) in cg_open() function
|
Completed in 7 milliseconds