Home
last modified time | relevance | path

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

/third_party/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()
/third_party/ltp/testcases/kernel/syscalls/umount/
Dumount01.c16 static int mount_flag; variable
20 if (mount_flag != 1) { in verify_umount()
23 mount_flag = 1; in verify_umount()
40 mount_flag = 0; in verify_umount()
50 if (mount_flag) in cleanup()
Dumount03.c19 static int mount_flag; variable
44 mount_flag = 1; in setup()
55 if (mount_flag) in cleanup()
Dumount02.c25 static int mount_flag; variable
67 mount_flag = 1; in setup()
77 if (mount_flag) in cleanup()
/third_party/ltp/testcases/kernel/syscalls/quotactl/
Dquotactl07.c30 static int mount_flag; variable
59 mount_flag = 1; in setup()
61 mount_flag = 0; in setup()
63 mount_flag = 1; in setup()
72 if (mount_flag && tst_umount(MNTPOINT)) in cleanup()
Dquotactl04.c35 static int test_id, mount_flag; variable
117 mount_flag = 1; in do_mount()
134 if (mount_flag && tst_umount(MNTPOINT)) in cleanup()
Dquotactl08.c46 static int test_id, mount_flag; variable
161 mount_flag = 1; in setup()
174 if (mount_flag && tst_umount(MNTPOINT)) in cleanup()
/third_party/ltp/testcases/kernel/syscalls/inotify/
Dinotify03.c49 static int mount_flag; variable
59 mount_flag = 1; in verify_inotify()
78 mount_flag = 0; in verify_inotify()
136 mount_flag = 1; in setup()
153 mount_flag = 0; in setup()
161 if (mount_flag) { in cleanup()
/third_party/ltp/testcases/kernel/controllers/memcg/regression/
Dmemcg_test_3.c24 static int mount_flag; variable
75 mount_flag = 1; in setup()
83 if (mount_flag) in cleanup()
/third_party/ltp/testcases/kernel/syscalls/linkat/
Dlinkat02.c52 static int mount_flag; variable
176 mount_flag = 1; in setup()
195 mount_flag = 1; in setup_erofs()
200 if (mount_flag && tst_umount("mntpoint") < 0) in cleanup()
/third_party/ltp/testcases/kernel/syscalls/statx/
Dstatx05.c35 static int mount_flag; variable
97 mount_flag = 1; in setup()
110 if (mount_flag) in cleanup()
/third_party/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()
/third_party/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()
/third_party/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()
/third_party/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()
/third_party/ltp/testcases/kernel/syscalls/mknod/
Dmknod07.c67 static int mount_flag; variable
135 mount_flag = 1; in setup()
177 if (mount_flag && tst_umount(MNT_POINT) < 0) in cleanup()
/third_party/ltp/testcases/kernel/syscalls/mknodat/
Dmknodat02.c54 static int mount_flag; variable
134 mount_flag = 1; in setup()
176 if (mount_flag && tst_umount(MNT_POINT) < 0) in cleanup()
/third_party/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()
/third_party/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()
/third_party/ltp/testcases/kernel/syscalls/renameat/
Drenameat01.c84 static int mount_flag; variable
187 mount_flag = 1; in setup()
245 if (mount_flag && tst_umount(MNTPOINT) < 0) in cleanup()
/third_party/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()
/third_party/ltp/doc/
Dc-test-api.txt144 static int fd0, fd1, mount_flag;
155 mount_flag = 1;
178 if (mount_flag && tst_umouont(MNTPOINT))