Home
last modified time | relevance | path

Searched refs:cg_open (Results 1 – 3 of 3) sorted by relevance

/linux/tools/testing/selftests/cgroup/
H A Dtest_memcontrol.c202 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 Dcgroup_util.h41 extern int cg_open(const char *cgroup, const char *control, int flags);
H A Dcgroup_util.c200 int cg_open(const char *cgroup, const char *control, int flags) in cg_open() function