Searched refs:MNT_DETACH (Results 1 – 10 of 10) sorted by relevance
48 #define MNT_DETACH 2 macro
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()
348 if (umount2("/tmp/foo", MNT_DETACH) < 0 && errno != EINVAL) { in main()
235 (void)umount2("/proc", MNT_DETACH); in child_fdinfo_nspid_test()
202 (void)umount2("/proc", MNT_DETACH); in test_pidfd_send_signal_recycled_pid_fail()
85 umount(). This flag is considered incompatible with MNT_FORCE and MNT_DETACH.
1577 flags & (MNT_FORCE | MNT_DETACH)) in do_umount()1618 if (&mnt->mnt == current->fs->root.mnt && !(flags & MNT_DETACH)) { in do_umount()1637 if (flags & MNT_DETACH) { in do_umount()1757 if (flags & ~(MNT_FORCE | MNT_DETACH | MNT_EXPIRE | UMOUNT_NOFOLLOW)) in ksys_umount()
335 flags = MNT_FORCE | MNT_DETACH | MNT_EXPIRE | UMOUNT_NOFOLLOW; in FatfsUmount2()
1387 #define MNT_DETACH 0x00000002 /* Just detach from the tree */ macro