Home
last modified time | relevance | path

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

/external/autotest/site_utils/
Dbind_mysql_to_cpuset.sh19 MOUNT_DIR='/dev/cpuset'
117 if (mount | grep "on ${MOUNT_DIR} type" > /dev/null)
119 print_info "${MOUNT_DIR} already mounted."
121 print_info "Mounting cpuset to $MOUNT_DIR."
122 run_cmd "mkdir -p ${MOUNT_DIR}"
123 run_cmd "mount -t cpuset none ${MOUNT_DIR}"
143 if [ -d "${MOUNT_DIR}/${MYSQL_CPUSET}" ]; then
144 proc_list=$(cat ${MOUNT_DIR}/${MYSQL_CPUSET}/cgroup.procs)
149 run_cmd "rmdir ${MOUNT_DIR}/${MYSQL_CPUSET}"
151 run_cmd "umount ${MOUNT_DIR}"
[all …]
/external/ltp/testcases/kernel/fs/fs-bench/
Dmodaltr.sh40 MOUNT_DIR=/mnt
93 mount -t jffs2 $BLOCK_DIR/0 $MOUNT_DIR
100 cd $MOUNT_DIR
111 echo "unmounting $MOUNT_DIR "
112 umount $MOUNT_DIR
/external/ltp/testcases/kernel/syscalls/ftruncate/
Dftruncate04.c52 #define MOUNT_DIR "dir/" macro
85 sprintf(filename, MOUNT_DIR"%s.%d.%d\n", TCID, getpid(), lc); in main()
225 SAFE_MKDIR(tst_rmdir, MOUNT_DIR, 0777); in setup()
248 SAFE_MOUNT(cleanup, device, MOUNT_DIR, fs_type, 0, NULL); in setup()
251 if (mount(NULL, MOUNT_DIR, NULL, MS_REMOUNT|MS_MANDLOCK, NULL) == -1) { in setup()
264 if (mount_flag && tst_umount(MOUNT_DIR)) in cleanup()
/external/ltp/testcases/kernel/mem/hugetlb/hugemmap/
Dhugemmap05.c66 #define MOUNT_DIR "hugemmap05" macro
67 #define TEST_FILE MOUNT_DIR "/file"
189 tst_umount(MOUNT_DIR); in cleanup()
254 SAFE_MKDIR(MOUNT_DIR, 0700); in setup()
255 SAFE_MOUNT(NULL, MOUNT_DIR, "hugetlbfs", 0, NULL); in setup()