Searched refs:cg_open (Results 1 – 3 of 3) sorted by relevance
/linux/tools/testing/selftests/cgroup/ |
H A D | test_memcontrol.c | 202 peak_fd = cg_open(memcg, "memory.peak", O_RDWR | O_APPEND | O_CLOEXEC); in test_memcg_current_peak() 223 peak_fd2 = cg_open(memcg, "memory.peak", O_RDWR | O_APPEND | O_CLOEXEC); in test_memcg_current_peak() 228 peak_fd3 = cg_open(memcg, "memory.peak", O_RDWR | O_APPEND | O_CLOEXEC); in test_memcg_current_peak() 257 peak_fd4 = cg_open(memcg, "memory.peak", O_RDWR | O_APPEND | O_CLOEXEC); in test_memcg_current_peak() 961 swap_peak_fd = cg_open(memcg, "memory.swap.peak", in test_memcg_swap_max_peak() 983 mem_peak_fd = cg_open(memcg, "memory.peak", O_RDWR | O_APPEND | O_CLOEXEC); in test_memcg_swap_max_peak()
|
H A D | cgroup_util.h | 41 extern int cg_open(const char *cgroup, const char *control, int flags);
|
H A D | cgroup_util.c | 200 int cg_open(const char *cgroup, const char *control, int flags) in cg_open() function
|