Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/syscalls/madvise/
Dmadvise06.c46 #define MNT_NAME "memory" macro
79 SAFE_MKDIR(MNT_NAME, 0700); in setup()
80 if (mount("memory", MNT_NAME, "cgroup", 0, "memory") == -1) { in setup()
84 SAFE_MKDIR(MNT_NAME"/"GROUP_NAME, 0700); in setup()
87 check_path(MNT_NAME"/"GROUP_NAME"/memory.limit_in_bytes"); in setup()
88 check_path(MNT_NAME"/"GROUP_NAME"/memory.swappiness"); in setup()
89 check_path(MNT_NAME"/"GROUP_NAME"/tasks"); in setup()
92 SAFE_FILE_PRINTF(MNT_NAME"/"GROUP_NAME"/memory.limit_in_bytes", "%ld\n", in setup()
94 SAFE_FILE_PRINTF(MNT_NAME"/"GROUP_NAME"/memory.swappiness", "60"); in setup()
95 SAFE_FILE_PRINTF(MNT_NAME"/"GROUP_NAME"/tasks", "%d\n", getpid()); in setup()
[all …]