Home
last modified time | relevance | path

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

1234

/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/proc/
H A Dproc-multiple-procfs.c42 umount(procdir1); in main()
43 umount(procdir2); in main()
/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.sh56 umount /mnt/huge || echo error
264 umount /mnt/huge
584 umount $cgroup_path
/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).
H A Dautofs-mount-control.rst23 Currently autofs uses "umount -l" (lazy umount) to clear active mounts
24 at restart. While using lazy umount works for most cases, anything that
94 to mount and umount all of the offsets as a single unit. Not really a
155 expire in the daemon has become far to complex because umount
162 the daemon until we can't umount any more mounts, then return the
/linux/samples/bpf/
H A Drun_cookie_uid_helper_example.sh9 umount ${mnt_dir}
/linux/tools/testing/selftests/filesystems/
H A Ddevpts_pts.c194 ret = umount("/dev/pts"); in verify_non_standard_devpts_mount()
201 (void)umount("/dev/ptmx"); in verify_non_standard_devpts_mount()
/linux/tools/testing/selftests/filesystems/fat/
H A Drun_fat_tests.sh73 sudo umount "${MNT_PATH}" &> /dev/null
/linux/tools/testing/selftests/bpf/
H A Dcgroup_helpers.c373 if (cgroup_workdir_mounted && umount(CGROUP_MOUNT_PATH)) in cleanup_cgroup_environment()
588 if (umount(CGROUP_MOUNT_DFLT)) { in setup_classid_environment()
/linux/tools/testing/selftests/exec/
H A Dcheck-exec.c132 umount(workdir_path); in FIXTURE_SETUP()
176 EXPECT_EQ(0, umount(workdir_path)); in FIXTURE_TEARDOWN_PARENT()
/linux/Documentation/admin-guide/device-mapper/
H A Dlog-writes.rst116 umount /mnt/btrfs-test
135 umount /mnt/btrfs-test

1234