Searched refs:MEMCG_PATH (Results 1 – 6 of 6) sorted by relevance
/external/ltp/testcases/kernel/syscalls/madvise/ |
D | madvise09.c | 60 #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/ |
D | ksm03.c | 82 mount_mem("memcg", "cgroup", "memory", MEMCG_PATH, MEMCG_PATH_NEW); in setup() 93 umount_mem(MEMCG_PATH, MEMCG_PATH_NEW); in cleanup()
|
D | ksm04.c | 97 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/ |
D | oom03.c | 75 mount_mem("memcg", "cgroup", "memory", MEMCG_PATH, MEMCG_PATH_NEW); in setup() 84 umount_mem(MEMCG_PATH, MEMCG_PATH_NEW); in cleanup()
|
D | oom05.c | 95 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/ |
D | mem.h | 66 #define MEMCG_PATH "/dev/cgroup" macro 67 #define MEMCG_PATH_NEW MEMCG_PATH "/1"
|