Home
last modified time | relevance | path

Searched refs:mount_flag (Results 1 – 25 of 26) 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/inotify/
Dinotify03.c68 static int mount_flag; variable
78 mount_flag = 1; in verify_inotify()
102 mount_flag = 0; in verify_inotify()
160 mount_flag = 1; in setup()
185 mount_flag = 0; in setup()
193 if (mount_flag) { in cleanup()
/external/ltp/testcases/kernel/controllers/memcg/regression/
Dmemcg_test_3.c36 static int mount_flag; variable
87 mount_flag = 1; in setup()
95 if (mount_flag) in cleanup()
/external/ltp/testcases/kernel/syscalls/linkat/
Dlinkat02.c53 static int mount_flag; variable
177 mount_flag = 1; in setup()
196 mount_flag = 1; in setup_erofs()
201 if (mount_flag && tst_umount("mntpoint") < 0) in cleanup()
/external/ltp/testcases/kernel/syscalls/statx/
Dstatx05.c35 static int mount_flag; variable
96 mount_flag = 1; in setup()
112 if (mount_flag) 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/lchown/
Dlchown03.c50 static int mount_flag; variable
113 mount_flag = 1; in setup()
141 if (mount_flag && tst_umount(TEST_EROFS) < 0) in cleanup()
/external/ltp/testcases/kernel/syscalls/mount/
Dmount06.c58 static int mount_flag; variable
141 mount_flag = 1; in setup()
156 if (mount_flag && tst_umount(path_name) != 0) in cleanup()
/external/ltp/testcases/kernel/syscalls/fchown/
Dfchown04.c56 static int mount_flag; variable
119 mount_flag = 1; in setup()
161 if (mount_flag && tst_umount("mntpoint") < 0) in cleanup()
/external/ltp/testcases/kernel/syscalls/rename/
Drename11.c58 static int mount_flag; variable
111 mount_flag = 1; in setup()
180 if (mount_flag && tst_umount(MNTPOINT) < 0) in cleanup()
/external/ltp/testcases/kernel/syscalls/utime/
Dutime06.c62 static int mount_flag; variable
126 mount_flag = 1; in setup()
167 if (mount_flag && tst_umount(MNT_POINT) < 0) in cleanup()
/external/ltp/testcases/kernel/syscalls/mknod/
Dmknod07.c66 static int mount_flag; variable
133 mount_flag = 1; in setup()
174 if (mount_flag && tst_umount(MNT_POINT) < 0) in cleanup()
/external/ltp/testcases/kernel/syscalls/chown/
Dchown04.c72 static int mount_flag; variable
176 mount_flag = 1; in setup()
186 if (mount_flag && tst_umount("mntpoint") < 0) { in cleanup()
/external/ltp/testcases/kernel/syscalls/mknodat/
Dmknodat02.c55 static int mount_flag; variable
135 mount_flag = 1; in setup()
177 if (mount_flag && tst_umount(MNT_POINT) < 0) in cleanup()
/external/ltp/testcases/kernel/syscalls/mmap/
Dmmap16.c49 static int mount_flag; variable
171 mount_flag = 1; in setup()
240 if (mount_flag && tst_umount(MNTPOINT) < 0) in cleanup()
/external/ltp/testcases/kernel/syscalls/acct/
Dacct01.c56 static int mount_flag; variable
156 mount_flag = 1; in setup()
207 if (mount_flag && tst_umount("mntpoint") < 0) { in cleanup()
/external/ltp/testcases/kernel/syscalls/ftruncate/
Dftruncate04.c65 static int mount_flag; variable
249 mount_flag = 1; in setup()
264 if (mount_flag && tst_umount(MOUNT_DIR)) in cleanup()
/external/ltp/testcases/kernel/syscalls/open/
Dopen12.c45 static unsigned int mount_flag, skip_noatime; variable
113 mount_flag = 1; in setup()
262 if (mount_flag && tst_umount(MNTPOINT) == -1) in cleanup()
/external/ltp/testcases/kernel/syscalls/renameat/
Drenameat01.c85 static int mount_flag; variable
188 mount_flag = 1; in setup()
246 if (mount_flag && tst_umount(MNTPOINT) < 0) in cleanup()
/external/ltp/testcases/kernel/io/direct_io/
Ddma_thread_diotest.c136 static int mount_flag; variable
405 mount_flag = 1; in setup()
430 if (mount_flag && tst_umount(MNT_POINT) < 0) in cleanup()

12