Home
last modified time | relevance | path

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

123

/linux/tools/testing/selftests/user_events/
H A Duser_events_selftests.h16 umount("/sys/kernel/tracing"); in tracefs_unmount()
19 static inline bool tracefs_enabled(char **message, bool *fail, bool *umount) in tracefs_enabled() argument
26 *umount = false; in tracefs_enabled()
46 *umount = true; in tracefs_enabled()
60 static inline bool user_events_enabled(char **message, bool *fail, bool *umount) in user_events_enabled() argument
67 *umount = false; in user_events_enabled()
75 if (!tracefs_enabled(message, fail, umount)) in user_events_enabled()
97 #define USER_EVENT_FIXTURE_SETUP(statement, umount) do { \ argument
100 if (!user_events_enabled(&message, &fail, &(umount))) { \
109 #define USER_EVENT_FIXTURE_TEARDOWN(umount) do { \ argument
[all …]
H A Ddyn_test.c201 bool umount; in FIXTURE() local
205 USER_EVENT_FIXTURE_SETUP(return, self->umount); in FIXTURE_SETUP()
209 USER_EVENT_FIXTURE_TEARDOWN(self->umount); in FIXTURE_TEARDOWN()
H A Dperf_test.c114 bool umount; in FIXTURE() local
118 USER_EVENT_FIXTURE_SETUP(return, self->umount); in FIXTURE_SETUP()
125 USER_EVENT_FIXTURE_TEARDOWN(self->umount); in FIXTURE_TEARDOWN()
H A Dabi_test.c219 bool umount; in FIXTURE() local
223 USER_EVENT_FIXTURE_SETUP(return, self->umount); in FIXTURE_SETUP()
231 USER_EVENT_FIXTURE_TEARDOWN(self->umount); in FIXTURE_TEARDOWN()
H A Dftrace_test.c207 bool umount; in FIXTURE() local
211 USER_EVENT_FIXTURE_SETUP(return, self->umount); in FIXTURE_SETUP()
223 USER_EVENT_FIXTURE_TEARDOWN(self->umount); in FIXTURE_TEARDOWN()
/linux/tools/testing/selftests/ring-buffer/
H A Dmap_test.c122 bool umount; in FIXTURE() local
141 bool fail, umount; in FIXTURE_SETUP() local
147 if (!tracefs_enabled(&message, &fail, &umount)) { in FIXTURE_SETUP()
155 self->umount = umount; in FIXTURE_SETUP()
177 if (self->umount) in FIXTURE_TEARDOWN()
264 bool umount; in FIXTURE() local
269 bool fail, umount; in FIXTURE_SETUP() local
279 if (!tracefs_enabled(&message, &fail, &umount)) { in FIXTURE_SETUP()
287 self->umount = umount; in FIXTURE_SETUP()
296 if (self->umount) in FIXTURE_TEARDOWN()
/linux/tools/testing/selftests/firmware/
H A Dfw_namespace.c31 umount("/lib/firmware"); in die()
93 umount("/lib/firmware"); in test_fw_in_ns()
108 umount("/lib/firmware"); in test_fw_in_ns()
146 umount("/lib/firmware"); in main()
/linux/tools/testing/selftests/filesystems/binderfs/
H A Dbinderfs_test.c96 goto umount; in __do_binderfs_test()
106 goto umount; in __do_binderfs_test()
119 goto umount; in __do_binderfs_test()
129 goto umount; in __do_binderfs_test()
140 goto umount; in __do_binderfs_test()
149 goto umount; in __do_binderfs_test()
154 goto umount; in __do_binderfs_test()
166 goto umount; in __do_binderfs_test()
174 umount: in __do_binderfs_test()
/linux/tools/testing/selftests/filesystems/mount-notify/
H A Dmount-notify_test.c267 ret = umount("/"); in TEST_F()
297 ret = umount("/b"); in TEST_F()
360 ret = umount("/a"); in TEST_F()
412 ret = umount("/a"); in TEST_F()
430 ret = umount("/b"); in TEST_F()
433 ret = umount("/a"); in TEST_F()
436 ret = umount("/b"); in TEST_F()
519 ret = umount("/a/new"); in TEST_F()
522 ret = umount("/a"); in TEST_F()
H A Dmount-notify_test_ns.c294 ret = umount("/"); in TEST_F()
324 ret = umount("/b"); in TEST_F()
387 ret = umount("/a"); in TEST_F()
439 ret = umount("/a"); in TEST_F()
457 ret = umount("/b"); in TEST_F()
460 ret = umount("/a"); in TEST_F()
463 ret = umount("/b"); in TEST_F()
546 ret = umount("/a/new"); in TEST_F()
549 ret = umount("/a"); in TEST_F()
/linux/tools/testing/selftests/mm/
H A Dhugetlb_reparenting_test.sh54 umount "$MNT" 2>/dev/null
207 umount "$MNT"
230 umount "$MNT"
239 umount $CGROUP_ROOT
H A Dcharge_reserved_hugetlb.sh61 umount /mnt/huge || echo error
278 umount /mnt/huge
598 umount $cgroup_path
/linux/tools/testing/selftests/proc/
H A Dproc-multiple-procfs.c42 umount(procdir1); in main()
43 umount(procdir2); in main()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtest_bpffs.c140 umount(TDIR "/fs1"); in fn()
141 umount(TDIR "/fs2"); in fn()
144 umount(TDIR); in fn()
/linux/Documentation/power/
H A Dswsusp-dmcrypt.rst93 umount /mnt
109 umount /sys
111 umount /proc
115 umount -l /mnt
116 umount /proc
/linux/Documentation/filesystems/
H A Dautomount-support.rst85 umount(). This flag is considered incompatible with MNT_FORCE and MNT_DETACH.
88 umount() or its parent mountpoint, an EBUSY error will be returned and the
97 Again, the expiration flag is cleared every time anything other than umount()
H A Dbfs.rst33 that modprobe is functioning. Beware that umount will not deallocate
47 # umount /stand
H A Dnilfs2.rst27 "mount.nilfs2", "umount.nilfs2", and "nilfs_cleanerd" (so called
183 # umount /dir
185 Then, the cleaner daemon is automatically shut down by the umount
186 helper program (umount.nilfs2).
/linux/tools/testing/selftests/filesystems/
H A Ddevpts_pts.c192 ret = umount("/dev/pts"); in verify_non_standard_devpts_mount()
199 (void)umount("/dev/ptmx"); in verify_non_standard_devpts_mount()
/linux/samples/bpf/
H A Drun_cookie_uid_helper_example.sh9 umount ${mnt_dir}
/linux/tools/testing/selftests/ublk/
H A Dtest_shmemzc_03.sh63 umount "$HTLB_MNT"
H A Dtest_shmemzc_02.sh62 umount "$HTLB_MNT"
H A Dtest_shmemzc_04.sh66 umount "$HTLB_MNT"
H A Dtest_shmemzc_01.sh66 umount "$HTLB_MNT"
/linux/tools/testing/selftests/filesystems/fat/
H A Drun_fat_tests.sh73 sudo umount "${MNT_PATH}" &> /dev/null

123