Home
last modified time | relevance | path

Searched refs:umount (Results 1 - 25 of 64) sorted by relevance

123

/kernel/linux/linux-6.6/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 { \
100 if (!user_events_enabled(&message, &fail, &(umount))) { \
109 #define USER_EVENT_FIXTURE_TEARDOWN(umount) d
[all...]
H A Ddyn_test.c147 bool umount; in FIXTURE() local
151 USER_EVENT_FIXTURE_SETUP(return, self->umount); in FIXTURE_SETUP()
155 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.c95 bool umount; in FIXTURE() local
99 USER_EVENT_FIXTURE_SETUP(return, self->umount); in FIXTURE_SETUP()
107 USER_EVENT_FIXTURE_TEARDOWN(self->umount); in FIXTURE_TEARDOWN()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
H A Dtest_bpffs.c42 err = umount(TDIR); in fn()
43 if (CHECK(err, "umount " TDIR, "failed: %d\n", errno)) in fn()
71 umount(TDIR "/fs1"); in fn()
72 umount(TDIR "/fs2"); in fn()
75 umount(TDIR); in fn()
/kernel/linux/linux-5.10/tools/testing/selftests/firmware/
H A Dfw_namespace.c35 umount("/lib/firmware"); in die()
97 umount("/lib/firmware"); in test_fw_in_ns()
112 umount("/lib/firmware"); in test_fw_in_ns()
150 umount("/lib/firmware"); in main()
/kernel/linux/linux-6.6/tools/testing/selftests/firmware/
H A Dfw_namespace.c35 umount("/lib/firmware"); in die()
97 umount("/lib/firmware"); in test_fw_in_ns()
112 umount("/lib/firmware"); in test_fw_in_ns()
150 umount("/lib/firmware"); in main()
/kernel/linux/linux-6.6/tools/testing/selftests/filesystems/binderfs/
H A Dbinderfs_test.c95 goto umount; in __do_binderfs_test()
105 goto umount; in __do_binderfs_test()
118 goto umount; in __do_binderfs_test()
128 goto umount; in __do_binderfs_test()
139 goto umount; in __do_binderfs_test()
148 goto umount; in __do_binderfs_test()
153 goto umount; in __do_binderfs_test()
165 goto umount; in __do_binderfs_test()
173 umount: in __do_binderfs_test()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/
H A Dtest_bpffs.c46 err = umount(TDIR); in fn()
47 if (!ASSERT_OK(err, "umount " TDIR)) in fn()
136 umount(TDIR "/fs1"); in fn()
137 umount(TDIR "/fs2"); in fn()
140 umount(TDIR); in fn()
/kernel/linux/linux-5.10/tools/testing/selftests/filesystems/binderfs/
H A Dbinderfs_test.c91 goto umount; in __do_binderfs_test()
101 goto umount; in __do_binderfs_test()
114 goto umount; in __do_binderfs_test()
124 goto umount; in __do_binderfs_test()
135 goto umount; in __do_binderfs_test()
144 goto umount; in __do_binderfs_test()
149 goto umount; in __do_binderfs_test()
155 umount: in __do_binderfs_test()
/kernel/linux/linux-5.10/tools/testing/selftests/proc/
H A Dproc-multiple-procfs.c42 umount(procdir1); in main()
43 umount(procdir2); in main()
/kernel/linux/linux-6.6/tools/testing/selftests/proc/
H A Dproc-multiple-procfs.c42 umount(procdir1); in main()
43 umount(procdir2); in main()
/kernel/linux/linux-5.10/tools/testing/selftests/vm/
H A Dhugetlb_reparenting_test.sh50 umount "$MNT" 2>/dev/null
216 umount "$MNT"
240 umount "$MNT"
248 umount $CGROUP_ROOT
/kernel/linux/linux-6.6/tools/testing/selftests/mm/
H A Dhugetlb_reparenting_test.sh53 umount "$MNT" 2>/dev/null
219 umount "$MNT"
243 umount "$MNT"
251 umount $CGROUP_ROOT
/kernel/liteos_a/testsuites/unittest/container/smoke/
H A DIt_mnt_container_002.cpp47 ret = umount(USERDATA_DIR_NAME); in ChildFunc()
62 ret = umount(USERDATA_DIR_NAME); in ChildFunc()
70 /* mount container clone test: mount in parent, clone with NEW_NS, umount in child */
H A DIt_mnt_container_004.cpp67 ret = umount(USERDATA_DIR_NAME); in ItMntContainer004()
86 ret = umount(USERDATA_DIR_NAME); in ItMntContainer004()
H A DIt_mnt_container_003.cpp68 ret = umount(USERDATA_DIR_NAME); in ItMntContainer003()
89 ret = umount(USERDATA_DIR_NAME); in ItMntContainer003()
H A DIt_mnt_container_007.cpp62 * unshare in child with NEW_NS, umount in child
76 ret = umount(USERDATA_DIR_NAME); in ItMntContainer007()
95 ret = umount(USERDATA_DIR_NAME); in ItMntContainer007()
H A DIt_container_chroot_001.cpp82 ret = umount(USERDATA_DIR_NAME); in ItContainerChroot001()
101 ret = umount(USERDATA_DIR_NAME); in ItContainerChroot001()
/kernel/liteos_m/kal/libc/newlib/porting/include/sys/
H A Dmount.h54 int umount(const char *target);
/kernel/linux/linux-5.10/samples/bpf/
H A Drun_cookie_uid_helper_example.sh9 umount ${mnt_dir}
/kernel/linux/linux-6.6/samples/bpf/
H A Drun_cookie_uid_helper_example.sh9 umount ${mnt_dir}
/kernel/liteos_m/components/fs/vfs/
H A Dvfs_mount.c309 int umount(const char *target) in umount() function
325 (mp->mFs->fsMops->umount == NULL)) { in umount()
329 ret = mp->mFs->fsMops->umount(mp); in umount()
H A Dvfs_mount.h49 int (*umount)(struct MountPoint *mp); member
/kernel/uniproton/src/fs/vfs/
H A Dvfs_mount.h27 S32 (*umount)(struct TagMountPoint *mp); member

Completed in 8 milliseconds

123