Searched refs:MEMCG_PATH_NEW (Results 1 – 6 of 6) sorted by relevance
/external/ltp/testcases/kernel/mem/include/ |
D | mem.h | 67 #define MEMCG_PATH_NEW MEMCG_PATH "/1" macro 68 #define MEMCG_LIMIT MEMCG_PATH_NEW "/memory.limit_in_bytes" 69 #define MEMCG_SW_LIMIT MEMCG_PATH_NEW "/memory.memsw.limit_in_bytes" 71 #define PATH_OOMCTRL MEMCG_PATH_NEW "/memory.oom_control" 72 #define PATH_EVTCTRL MEMCG_PATH_NEW "/cgroup.event_control"
|
/external/ltp/testcases/kernel/mem/oom/ |
D | oom03.c | 46 SAFE_FILE_PRINTF(MEMCG_PATH_NEW "/tasks", "%d", getpid()); in verify_oom() 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/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/lib/ |
D | mem.c | 319 SAFE_FILE_PRINTF(MEMCG_PATH_NEW "/tasks", "%d", getpid()); in write_memcg()
|