Searched refs:MNT_DETACH (Results 1 – 11 of 11) sorted by relevance
/linux-6.6.21/tools/testing/selftests/move_mount_set_group/ |
D | move_mount_set_group_test.c | 223 umount2("/tmp", MNT_DETACH); in move_mount_set_group_supported() 244 umount2("/tmp", MNT_DETACH); in FIXTURE_SETUP() 264 umount2("/tmp", MNT_DETACH); in FIXTURE_TEARDOWN()
|
/linux-6.6.21/tools/testing/selftests/mount_setattr/ |
D | mount_setattr_test.c | 387 (void)umount2("/mnt", MNT_DETACH); in FIXTURE_SETUP() 388 (void)umount2("/tmp", MNT_DETACH); in FIXTURE_SETUP() 436 (void)umount2("/mnt/A", MNT_DETACH); in FIXTURE_TEARDOWN() 437 (void)umount2("/tmp", MNT_DETACH); in FIXTURE_TEARDOWN() 1008 (void)umount2("/mnt", MNT_DETACH); in FIXTURE_SETUP() 1009 (void)umount2("/tmp", MNT_DETACH); in FIXTURE_SETUP() 1062 (void)umount2("/mnt/A", MNT_DETACH); in FIXTURE_TEARDOWN() 1063 (void)umount2("/tmp", MNT_DETACH); in FIXTURE_TEARDOWN()
|
/linux-6.6.21/init/ |
D | do_mounts_initrd.c | 133 init_umount("/old", MNT_DETACH); in handle_initrd()
|
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/ |
D | connect_ping.c | 177 umount2("/sys", MNT_DETACH); in test_connect_ping()
|
/linux-6.6.21/tools/testing/selftests/filesystems/binderfs/ |
D | binderfs_test.c | 174 ret = umount2(binderfs_mntpt, MNT_DETACH); in __do_binderfs_test() 447 ret = umount2(binderfs_mntpt, MNT_DETACH); in TEST()
|
/linux-6.6.21/samples/seccomp/ |
D | user-trap.c | 348 if (umount2("/tmp/foo", MNT_DETACH) < 0 && errno != EINVAL) { in main()
|
/linux-6.6.21/tools/testing/selftests/pidfd/ |
D | pidfd_fdinfo_test.c | 236 (void)umount2("/proc", MNT_DETACH); in child_fdinfo_nspid_test()
|
D | pidfd_test.c | 203 (void)umount2("/proc", MNT_DETACH); in test_pidfd_send_signal_recycled_pid_fail()
|
/linux-6.6.21/Documentation/filesystems/ |
D | automount-support.rst | 85 umount(). This flag is considered incompatible with MNT_FORCE and MNT_DETACH.
|
/linux-6.6.21/fs/ |
D | namespace.c | 1724 flags & (MNT_FORCE | MNT_DETACH)) in do_umount() 1765 if (&mnt->mnt == current->fs->root.mnt && !(flags & MNT_DETACH)) { in do_umount() 1784 if (flags & MNT_DETACH) { in do_umount() 1909 if (flags & ~(MNT_FORCE | MNT_DETACH | MNT_EXPIRE | UMOUNT_NOFOLLOW)) in ksys_umount()
|
/linux-6.6.21/include/linux/ |
D | fs.h | 1151 #define MNT_DETACH 0x00000002 /* Just detach from the tree */ macro
|