Searched refs:MEMCG_PATH_NEW (Results 1 – 6 of 6) sorted by relevance
/external/ltp/testcases/kernel/mem/include/ |
D | mem.h | 72 #define MEMCG_PATH_NEW MEMCG_PATH "/1" macro 73 #define MEMCG_LIMIT MEMCG_PATH_NEW "/memory.limit_in_bytes" 74 #define MEMCG_SW_LIMIT MEMCG_PATH_NEW "/memory.memsw.limit_in_bytes" 76 #define PATH_OOMCTRL MEMCG_PATH_NEW "/memory.oom_control" 77 #define PATH_EVTCTRL MEMCG_PATH_NEW "/cgroup.event_control"
|
/external/ltp/testcases/kernel/mem/oom/ |
D | oom03.c | 61 SAFE_FILE_PRINTF(cleanup, MEMCG_PATH_NEW "/tasks", in main() 99 mount_mem("memcg", "cgroup", "memory", MEMCG_PATH, MEMCG_PATH_NEW); in setup() 105 umount_mem(MEMCG_PATH, MEMCG_PATH_NEW); in cleanup()
|
D | oom05.c | 119 mount_mem("memcg", "cgroup", "memory", MEMCG_PATH, MEMCG_PATH_NEW); in setup() 140 umount_mem(MEMCG_PATH, MEMCG_PATH_NEW); in cleanup()
|
/external/ltp/testcases/kernel/mem/ksm/ |
D | ksm03.c | 118 mount_mem("memcg", "cgroup", "memory", MEMCG_PATH, MEMCG_PATH_NEW); in setup() 131 umount_mem(MEMCG_PATH, MEMCG_PATH_NEW); in cleanup()
|
D | ksm04.c | 133 umount_mem(MEMCG_PATH, MEMCG_PATH_NEW); in cleanup() 156 mount_mem("memcg", "cgroup", "memory", MEMCG_PATH, MEMCG_PATH_NEW); in setup()
|
/external/ltp/testcases/kernel/mem/lib/ |
D | mem.c | 359 SAFE_FILE_PRINTF(NULL, MEMCG_PATH_NEW "/tasks", "%d", getpid()); in write_memcg()
|