Home
last modified time | relevance | path

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

1234

/linux-6.12.1/tools/testing/selftests/user_events/
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 …]
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()
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()
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()
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-6.12.1/tools/testing/selftests/ring-buffer/
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()
258 bool umount; in FIXTURE() local
263 bool fail, umount; in FIXTURE_SETUP() local
273 if (!tracefs_enabled(&message, &fail, &umount)) { in FIXTURE_SETUP()
281 self->umount = umount; in FIXTURE_SETUP()
290 if (self->umount) in FIXTURE_TEARDOWN()
/linux-6.12.1/tools/testing/selftests/firmware/
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-6.12.1/tools/testing/selftests/filesystems/binderfs/
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-6.12.1/tools/testing/selftests/proc/
Dproc-multiple-procfs.c42 umount(procdir1); in main()
43 umount(procdir2); in main()
/linux-6.12.1/tools/testing/selftests/mm/
Dhugetlb_reparenting_test.sh54 umount "$MNT" 2>/dev/null
220 umount "$MNT"
244 umount "$MNT"
253 umount $CGROUP_ROOT
Dcharge_reserved_hugetlb.sh56 umount /mnt/huge || echo error
264 umount /mnt/huge
584 umount $cgroup_path
Dsplit_huge_page_test.c320 status = umount(tmpfs_loc); in split_file_backed_thp()
335 umount(tmpfs_loc); in split_file_backed_thp()
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dtest_bpffs.c140 umount(TDIR "/fs1"); in fn()
141 umount(TDIR "/fs2"); in fn()
144 umount(TDIR); in fn()
/linux-6.12.1/Documentation/power/
Dswsusp-dmcrypt.rst93 umount /mnt
109 umount /sys
111 umount /proc
115 umount -l /mnt
116 umount /proc
/linux-6.12.1/Documentation/filesystems/
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()
Dbfs.rst33 that modprobe is functioning. Beware that umount will not deallocate
47 # umount /stand
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-6.12.1/samples/bpf/
Drun_cookie_uid_helper_example.sh9 umount ${mnt_dir}
Dtest_cgrp2_sock.sh68 umount ${CGRP_MNT}
Dtest_cgrp2_sock2.sh50 umount /tmp/cgroupv2
Dtest_cgrp2_tc.sh54 [ "$MOUNT_CGRP2" == 'yes' ] && umount $CGRP2_ROOT
/linux-6.12.1/tools/testing/selftests/filesystems/
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-6.12.1/tools/testing/selftests/filesystems/fat/
Drun_fat_tests.sh73 sudo umount "${MNT_PATH}" &> /dev/null
/linux-6.12.1/tools/testing/selftests/bpf/
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()
Dtest_flow_dissector.sh79 umount bpffs 2> /dev/null

1234