Home
last modified time | relevance | path

Searched refs:mount_flag (Results 1 – 25 of 30) sorted by relevance

12

/external/ltp/testcases/kernel/syscalls/umount2/
Dumount2_03.c46 static int mount_flag; variable
113 mount_flag = 1; in test_umount2()
122 if (mount_flag) { in test_umount2()
125 mount_flag = 0; in test_umount2()
133 mount_flag = 0; in verify_failure()
155 mount_flag = 0; in verify_success()
160 if (mount_flag && tst_umount(MNTPOINT)) in cleanup()
Dumount2_01.c44 static int mount_flag; variable
95 mount_flag = 1; in umount2_verify()
106 mount_flag = 0; in umount2_verify()
126 mount_flag = 1; in umount2_verify()
146 if (mount_flag) { in umount2_verify()
149 mount_flag = 0; in umount2_verify()
158 if (mount_flag && tst_umount(MNTPOINT)) in cleanup()
Dumount2_02.c50 static int mount_flag; variable
86 mount_flag = 1; in main()
91 if (mount_flag) { in main()
94 mount_flag = 0; in main()
148 mount_flag = 0; in verify_failure()
170 mount_flag = 0; in verify_success()
175 if (mount_flag && tst_umount(MNTPOINT)) in cleanup()
/external/ltp/testcases/kernel/syscalls/umount/
Dumount01.c29 static int mount_flag; variable
33 if (mount_flag != 1) { in verify_umount()
36 mount_flag = 1; in verify_umount()
53 mount_flag = 0; in verify_umount()
63 if (mount_flag) in cleanup()
Dumount03.c32 static int mount_flag; variable
57 mount_flag = 1; in setup()
68 if (mount_flag) in cleanup()
Dumount02.c39 static int mount_flag; variable
81 mount_flag = 1; in setup()
91 if (mount_flag) in cleanup()
/external/ltp/testcases/kernel/syscalls/linkat/
Dlinkat02.c53 static int mount_flag; variable
180 mount_flag = 1; in setup()
202 mount_flag = 1; in setup_erofs()
207 if (mount_flag && tst_umount("mntpoint") < 0) in cleanup()
/external/ltp/testcases/kernel/controllers/cpuset/
Dcpuset_regression_test.sh47 mount_flag=0
58 mount_flag=1
98 if [ "${mount_flag}" = "1" ]; then
/external/ltp/testcases/kernel/syscalls/inotify/
Dinotify03.c75 static int mount_flag; variable
111 mount_flag = 0; in main()
198 mount_flag = 1; in setup()
240 if (mount_flag) { in cleanup()
/external/ltp/testcases/kernel/syscalls/lchown/
Dlchown03.c50 static int mount_flag; variable
116 mount_flag = 1; in setup()
144 if (mount_flag && tst_umount(TEST_EROFS) < 0) in cleanup()
/external/ltp/testcases/kernel/syscalls/fchmod/
Dfchmod06.c50 static int mount_flag; variable
138 mount_flag = 1; in setup()
173 if (mount_flag && tst_umount("mntpoint") < 0) { in cleanup()
/external/ltp/testcases/kernel/syscalls/link/
Dlink08.c64 static int mount_flag; variable
152 mount_flag = 1; in setup()
164 if (mount_flag && tst_umount(MNT_POINT) < 0) in cleanup()
/external/ltp/testcases/kernel/syscalls/utime/
Dutime06.c62 static int mount_flag; variable
129 mount_flag = 1; in setup()
170 if (mount_flag && tst_umount(MNT_POINT) < 0) in cleanup()
/external/ltp/testcases/kernel/syscalls/mount/
Dmount06.c58 static int mount_flag; variable
144 mount_flag = 1; in setup()
160 if (mount_flag && tst_umount(path_name) != 0) in cleanup()
/external/ltp/testcases/kernel/syscalls/fchown/
Dfchown04.c56 static int mount_flag; variable
122 mount_flag = 1; in setup()
167 if (mount_flag && tst_umount("mntpoint") < 0) in cleanup()
/external/ltp/testcases/kernel/syscalls/mknod/
Dmknod07.c66 static int mount_flag; variable
136 mount_flag = 1; in setup()
177 if (mount_flag && tst_umount(MNT_POINT) < 0) in cleanup()
/external/ltp/testcases/kernel/syscalls/rename/
Drename11.c58 static int mount_flag; variable
114 mount_flag = 1; in setup()
188 if (mount_flag && tst_umount(MNTPOINT) < 0) in cleanup()
/external/ltp/testcases/kernel/syscalls/rmdir/
Drmdir02.c76 static int mount_flag; variable
152 mount_flag = 1; in setup()
199 if (mount_flag && tst_umount(MNTPOINT) == -1) in cleanup()
/external/ltp/testcases/kernel/syscalls/mkdir/
Dmkdir03.c40 static int mount_flag; variable
131 mount_flag = 1; in setup()
166 if (mount_flag && tst_umount(MNT_POINT) < 0) in cleanup()
/external/ltp/testcases/kernel/syscalls/mknodat/
Dmknodat02.c55 static int mount_flag; variable
138 mount_flag = 1; in setup()
180 if (mount_flag && tst_umount(MNT_POINT) < 0) in cleanup()
/external/ltp/testcases/kernel/syscalls/chown/
Dchown04.c72 static int mount_flag; variable
179 mount_flag = 1; in setup()
189 if (mount_flag && tst_umount("mntpoint") < 0) { in cleanup()
/external/ltp/testcases/kernel/syscalls/utimes/
Dutimes01.c67 static int mount_flag; variable
148 mount_flag = 1; in setup()
196 if (mount_flag && tst_umount(MNTPOINT) == -1) in cleanup()
/external/ltp/testcases/kernel/syscalls/mmap/
Dmmap16.c49 static int mount_flag; variable
170 mount_flag = 1; in setup()
239 if (mount_flag && tst_umount(MNTPOINT) < 0) in cleanup()
/external/ltp/testcases/kernel/syscalls/acct/
Dacct01.c56 static int mount_flag; variable
159 mount_flag = 1; in setup()
213 if (mount_flag && tst_umount("mntpoint") < 0) { in cleanup()
/external/ltp/testcases/kernel/syscalls/chmod/
Dchmod06.c77 static int mount_flag; variable
206 mount_flag = 1; in setup()
223 if (mount_flag && tst_umount(MNT_POINT) < 0) { in cleanup()

12