Home
last modified time | relevance | path

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

/third_party/ltp/testscripts/
Dsysfs.sh44 MNT_POINT="/tmp/sysfs_$$"
84 mkdir -p -m 777 $MNT_POINT
85 mount -t sysfs sysfs $MNT_POINT
95 umount $MNT_POINT
96 rm -rf $MNT_POINT
104 umount $MNT_POINT
105 rm -rf $MNT_POINT
117 umount $MNT_POINT
118 rm -rf $MNT_POINT
/third_party/ltp/testcases/kernel/syscalls/utime/
Dutime06.c56 #define MNT_POINT "mntpoint" macro
76 {MNT_POINT, EROFS, NULL, NULL, NULL},
124 SAFE_MKDIR(cleanup, MNT_POINT, 0644); in setup()
125 SAFE_MOUNT(cleanup, dev, MNT_POINT, fs_type, MS_RDONLY, NULL); in setup()
167 if (mount_flag && tst_umount(MNT_POINT) < 0) in cleanup()
/third_party/ltp/testcases/kernel/syscalls/mknodat/
Dmknodat02.c47 #define MNT_POINT "mntpoint" macro
132 SAFE_MKDIR(cleanup, MNT_POINT, DIR_MODE); in setup()
133 SAFE_MOUNT(cleanup, device, MNT_POINT, fs_type, MS_RDONLY, NULL); in setup()
135 dir_fd = SAFE_OPEN(cleanup, MNT_POINT, O_DIRECTORY); in setup()
176 if (mount_flag && tst_umount(MNT_POINT) < 0) in cleanup()
/third_party/ltp/testcases/kernel/syscalls/mknod/
Dmknod07.c55 #define MNT_POINT "mntpoint" macro
133 SAFE_MKDIR(cleanup, MNT_POINT, DIR_MODE); in setup()
134 SAFE_MOUNT(cleanup, device, MNT_POINT, fs_type, MS_RDONLY, NULL); in setup()
177 if (mount_flag && tst_umount(MNT_POINT) < 0) in cleanup()
/third_party/ltp/testcases/kernel/syscalls/fchown/
Dfchown04.c28 #define MNT_POINT "mntpoint" macro
51 fd3 = SAFE_OPEN(MNT_POINT, O_RDONLY); in setup()
81 .mntpoint = MNT_POINT,
/third_party/ltp/testcases/kernel/syscalls/fchmod/
Dfchmod06.c19 #define MNT_POINT "mntpoint" macro
61 fd3 = SAFE_OPEN(MNT_POINT"/file", O_RDONLY); in setup()
85 .mntpoint = MNT_POINT,
/third_party/ltp/testcases/kernel/syscalls/access/
Daccess04.c41 #define MNT_POINT "mntpoint" macro
56 {MNT_POINT, W_OK, EROFS}
103 .mntpoint = MNT_POINT,
/third_party/ltp/testcases/kernel/syscalls/rmdir/
Drmdir02.c29 #define MNT_POINT "mntpoint" macro
48 {MNT_POINT, EBUSY},
107 .mntpoint = MNT_POINT,
/third_party/ltp/testcases/kernel/syscalls/chmod/
Dchmod06.c38 #define MNT_POINT "mntpoint" macro
64 {MNT_POINT, FILE_MODE, EROFS, NULL, NULL},
147 .mntpoint = MNT_POINT,
/third_party/ltp/testcases/kernel/io/direct_io/
Ddma_thread_diotest.c111 #define MNT_POINT "mntpoint" macro
112 #define FILE_BASEPATH MNT_POINT "/_dma_thread_test_%.04d.tmp"
388 SAFE_MKDIR(cleanup, MNT_POINT, DIR_MODE); in setup()
404 SAFE_MOUNT(NULL, device, MNT_POINT, "ext3", 0, NULL); in setup()
430 if (mount_flag && tst_umount(MNT_POINT) < 0) in cleanup()
/third_party/ltp/testcases/kernel/syscalls/link/
Dlink08.c26 #define MNT_POINT "mntpoint" macro
86 .mntpoint = MNT_POINT,
/third_party/ltp/testcases/kernel/syscalls/mkdirat/
Dmkdirat02.c16 #define MNT_POINT "mntpoint" macro
81 .mntpoint = MNT_POINT,
/third_party/ltp/testcases/kernel/syscalls/mkdir/
Dmkdir03.c27 #define MNT_POINT "mntpoint" macro
92 .mntpoint = MNT_POINT,
/third_party/ltp/testcases/kernel/syscalls/chown/
Dchown04.c44 #define MNT_POINT "mntpoint" macro
103 .mntpoint = MNT_POINT,
/third_party/ltp/testcases/kernel/syscalls/utimes/
Dutimes01.c31 #define MNT_POINT "mntpoint" macro
101 .mntpoint = MNT_POINT,