Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/mem/include/
Dmem.h67 #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/
Doom03.c46 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()
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/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/lib/
Dmem.c319 SAFE_FILE_PRINTF(MEMCG_PATH_NEW "/tasks", "%d", getpid()); in write_memcg()