Home
last modified time | relevance | path

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

/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.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()
/external/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()
/external/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()
/external/ltp/testcases/kernel/syscalls/statx/
Dstatx05.c35 static int mount_flag; variable
97 mount_flag = 1; in setup()
113 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/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/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/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/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/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/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/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()
/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/quotactl/
Dquotactl04.c40 static int test_id, mount_flag; variable
110 mount_flag = 1; in setup()
115 if (mount_flag && tst_umount(MNTPOINT)) 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/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()
/external/ltp/doc/
Dtest-writing-guidelines.txt360 static int fd0, fd1, mount_flag;
371 mount_flag = 1;
394 if (mount_flag && tst_umouont(MNTPOINT))