Home
last modified time | relevance | path

Searched refs:umount (Results 1 – 25 of 52) 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.c199 bool umount; in FIXTURE() local
203 USER_EVENT_FIXTURE_SETUP(return, self->umount); in FIXTURE_SETUP()
207 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/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/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
220 umount "$MNT"
244 umount "$MNT"
253 umount $CGROUP_ROOT
H A Dcharge_reserved_hugetlb.sh56 umount /mnt/huge || echo error
264 umount /mnt/huge
584 umount $cgroup_path
H A Dsplit_huge_page_test.c310 status = umount(tmpfs_loc); in split_file_backed_thp()
313 ksft_exit_fail_msg("Unable to umount %s\n", tmpfs_loc); in split_file_backed_thp()
325 umount(tmpfs_loc); in split_file_backed_thp()
/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/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/samples/bpf/
H A Drun_cookie_uid_helper_example.sh9 umount ${mnt_dir}
/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.c352 if (cgroup_workdir_mounted && umount(CGROUP_MOUNT_PATH)) in cleanup_cgroup_environment()
547 if (umount(CGROUP_MOUNT_DFLT)) { in setup_classid_environment()
/linux/Documentation/admin-guide/device-mapper/
H A Dlog-writes.rst116 umount /mnt/btrfs-test
135 umount /mnt/btrfs-test
/linux/tools/testing/selftests/zram/
H A Dzram_lib.sh56 umount /dev/zram$i
/linux/tools/testing/selftests/resctrl/
H A DREADME66 - teardown: umount resctrl and clear temporary files.
/linux/Documentation/admin-guide/cifs/
H A Dusage.rst94 umount shares they mount requires
119 the utility umount.cifs may be used. It may be invoked directly, or if
120 umount.cifs is placed in /sbin, umount can invoke the cifs umount helper
121 (at least for most versions of the umount utility) for umount of cifs
122 mounts, unless umount is invoked with -i (which will avoid invoking a umount
123 helper). As with mount.cifs, to enable user unmounts umount.cifs must be marked
124 as suid (e.g. ``chmod +s /sbin/umount.cifs``) or equivalent (some distributions
/linux/tools/perf/arch/powerpc/entry/syscalls/
H A Dsyscall.tbl36 22 32 umount sys_oldumount
37 22 64 umount sys_ni_syscall
38 22 spu umount sys_ni_syscall

123