Searched refs:MNT_DETACH (Results 1 – 8 of 8) sorted by relevance
120 init_umount("/old", MNT_DETACH); in handle_initrd()
156 ret = umount2(binderfs_mntpt, MNT_DETACH); in __do_binderfs_test()428 ret = umount2(binderfs_mntpt, MNT_DETACH); in TEST()
221 (void)umount2("/proc", MNT_DETACH); in child_fdinfo_nspid_test()
202 (void)umount2("/proc", MNT_DETACH); in test_pidfd_send_signal_recycled_pid_fail()
348 if (umount2("/tmp/foo", MNT_DETACH) < 0 && errno != EINVAL) { in main()
85 umount(). This flag is considered incompatible with MNT_FORCE and MNT_DETACH.
1573 flags & (MNT_FORCE | MNT_DETACH)) in do_umount()1614 if (&mnt->mnt == current->fs->root.mnt && !(flags & MNT_DETACH)) { in do_umount()1633 if (flags & MNT_DETACH) { in do_umount()1713 if (flags & ~(MNT_FORCE | MNT_DETACH | MNT_EXPIRE | UMOUNT_NOFOLLOW)) in can_umount()
1380 #define MNT_DETACH 0x00000002 /* Just detach from the tree */ macro