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.c283 peak_fd = cg_open(memcg, "memory.peak", O_RDWR | O_APPEND | O_CLOEXEC); in test_memcg_current_peak()
304 peak_fd2 = cg_open(memcg, "memory.peak", O_RDWR | O_APPEND | O_CLOEXEC); in test_memcg_current_peak()
309 peak_fd3 = cg_open(memcg, "memory.peak", O_RDWR | O_APPEND | O_CLOEXEC); in test_memcg_current_peak()
338 peak_fd4 = cg_open(memcg, "memory.peak", O_RDWR | O_APPEND | O_CLOEXEC); in test_memcg_current_peak()
1052 swap_peak_fd = cg_open(memcg, "memory.swap.peak", in test_memcg_swap_max_peak()
1074 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.c239 int cg_open(const char *cgroup, const char *control, int flags) in cg_open() function