Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/cgroup/
H A Dtest_memcontrol.c282 peak_fd = cg_open(memcg, "memory.peak", O_RDWR | O_APPEND | O_CLOEXEC); in test_memcg_current_peak()
303 peak_fd2 = cg_open(memcg, "memory.peak", O_RDWR | O_APPEND | O_CLOEXEC); in test_memcg_current_peak()
308 peak_fd3 = cg_open(memcg, "memory.peak", O_RDWR | O_APPEND | O_CLOEXEC); in test_memcg_current_peak()
337 peak_fd4 = cg_open(memcg, "memory.peak", O_RDWR | O_APPEND | O_CLOEXEC); in test_memcg_current_peak()
1051 swap_peak_fd = cg_open(memcg, "memory.swap.peak", in test_memcg_swap_max_peak()
1073 mem_peak_fd = cg_open(memcg, "memory.peak", O_RDWR | O_APPEND | O_CLOEXEC); in test_memcg_swap_max_peak()
H A Dcgroup_util.h
H A Dcgroup_util.c
/linux/tools/testing/selftests/cgroup/lib/include/
H A Dcgroup_util.h76 extern int cg_open(const char *cgroup, const char *control, int flags);
/linux/tools/testing/selftests/cgroup/lib/
H A Dcgroup_util.c238 int cg_open(const char *cgroup, const char *control, int flags) in cg_open() function