Home
last modified time | relevance | path

Searched refs:MEMCG_PATH (Results 1 – 6 of 6) sorted by relevance

/external/ltp/testcases/kernel/syscalls/madvise/
Dmadvise09.c60 #define MEMCG_PATH "/sys/fs/cgroup/memory/" macro
108 MEMCG_PATH "ltp_madvise09_%i/", pid); in setup_cgroup_paths()
319 if (access(MEMCG_PATH, F_OK)) { in setup()
320 tst_brk(TCONF, "'" MEMCG_PATH in setup()
324 if (!access(MEMCG_PATH "memory.memsw.limit_in_bytes", F_OK)) in setup()
/external/ltp/testcases/kernel/mem/ksm/
Dksm03.c82 mount_mem("memcg", "cgroup", "memory", MEMCG_PATH, MEMCG_PATH_NEW); in setup()
93 umount_mem(MEMCG_PATH, MEMCG_PATH_NEW); in cleanup()
Dksm04.c97 umount_mem(MEMCG_PATH, MEMCG_PATH_NEW); in cleanup()
115 mount_mem("memcg", "cgroup", "memory", MEMCG_PATH, MEMCG_PATH_NEW); in setup()
/external/ltp/testcases/kernel/mem/oom/
Doom03.c75 mount_mem("memcg", "cgroup", "memory", MEMCG_PATH, MEMCG_PATH_NEW); in setup()
84 umount_mem(MEMCG_PATH, MEMCG_PATH_NEW); in cleanup()
Doom05.c95 mount_mem("memcg", "cgroup", "memory", MEMCG_PATH, MEMCG_PATH_NEW); in setup()
121 umount_mem(MEMCG_PATH, MEMCG_PATH_NEW); in cleanup()
/external/ltp/testcases/kernel/mem/include/
Dmem.h66 #define MEMCG_PATH "/dev/cgroup" macro
67 #define MEMCG_PATH_NEW MEMCG_PATH "/1"