| /freebsd/sys/contrib/openzfs/lib/libspl/include/os/linux/sys/ |
| H A D | mount.h | 62 #ifdef MNT_FORCE 63 #define MS_FORCE MNT_FORCE
|
| /freebsd/sys/contrib/openzfs/lib/libspl/include/os/freebsd/sys/ |
| H A D | mount.h | 70 #ifdef MNT_FORCE 71 #define MS_FORCE MNT_FORCE
|
| /freebsd/tools/test/stress2/misc/ |
| H A D | nullfs33.sh | 112 unmount(ROOT_DIR "/.setup-done", MNT_FORCE); 113 unmount(ROOT_DIR, MNT_FORCE);
|
| /freebsd/sys/contrib/openzfs/include/os/freebsd/spl/sys/ |
| H A D | mount.h | 38 #define MS_FORCE MNT_FORCE
|
| /freebsd/sbin/umount/ |
| H A D | umount.c | 109 fflag |= MNT_FORCE; in main() 136 if ((fflag & MNT_FORCE) != 0 && (fflag & MNT_NONBUSY) != 0) in main() 190 ret = unmount(*argv, MNT_FORCE); in main() 439 if (ai != NULL && !(fflag & MNT_FORCE) && do_rpc) { in umountfs()
|
| /freebsd/sys/fs/p9fs/ |
| H A D | p9fs_vfsops.c | 158 if (mntflags & MNT_FORCE) in p9fs_unmount() 167 if (error == 0 || (mntflags & MNT_FORCE) == 0) in p9fs_unmount() 470 (void) p9fs_unmount(mp, MNT_FORCE); in p9fs_mount()
|
| /freebsd/lib/libutil/ |
| H A D | mntopts.h | 64 #define MOPT_FORCE { "force", 0, MNT_FORCE, 0 }
|
| /freebsd/sys/kern/ |
| H A D | vfs_mount.c | 887 fsflags |= MNT_FORCE; in vfs_donmount() 1211 (MNT_UPDATEMASK | MNT_ROOTFS | MNT_RDONLY | MNT_FORCE)); in vfs_domount_first() 1465 mp->mnt_flag |= fsflags & (MNT_RELOAD | MNT_FORCE | MNT_UPDATE | in vfs_domount_update() 1567 mp->mnt_flag &= ~(MNT_UPDATE | MNT_RELOAD | MNT_FORCE | in vfs_domount_update() 2204 (flags & (MNT_RECURSE | MNT_FORCE)) == (MNT_RECURSE | MNT_FORCE), in dounmount() 2205 ("MNT_DEFERRED requires MNT_RECURSE | MNT_FORCE")); in dounmount() 2241 if (recursive_forced_unmount && ((flags & MNT_FORCE) != 0)) in dounmount() 2245 KASSERT((flags & MNT_FORCE) != 0, in dounmount() 2246 ("MNT_RECURSE requires MNT_FORCE")); in dounmount() [all...] |
| /freebsd/sys/fs/tmpfs/ |
| H A D | tmpfs_vfsops.c | 282 forced = (mp->mnt_flag & MNT_FORCE) != 0; in tmpfs_rw_to_ro() 525 flags = (mntflags & MNT_FORCE) != 0 ? FORCECLOSE : 0; in tmpfs_unmount() 549 if ((mntflags & MNT_FORCE) == 0) { in tmpfs_unmount()
|
| /freebsd/sys/fs/nullfs/ |
| H A D | null_vfsops.c | 279 if (mntflags & MNT_FORCE) in nullfs_unmount() 295 if ((mntflags & MNT_FORCE) == 0) in nullfs_unmount()
|
| /freebsd/sys/fs/fdescfs/ |
| H A D | fdesc_vfsops.c | 140 if (mntflags & MNT_FORCE) { in fdesc_unmount()
|
| /freebsd/contrib/netbsd-tests/fs/puffs/ |
| H A D | t_fuzz.c | 243 rump_sys_unmount("/mnt", MNT_FORCE); in testbody()
|
| /freebsd/sys/fs/devfs/ |
| H A D | devfs_vfsops.c | 182 if (mntflags & MNT_FORCE) in devfs_unmount()
|
| /freebsd/sys/fs/autofs/ |
| H A D | autofs_vfsops.c | 151 if (mntflags & MNT_FORCE) in autofs_unmount()
|
| /freebsd/sys/ufs/ffs/ |
| H A D | ffs_vfsops.c | 315 MNT_FORCE | MNT_RECURSE | MNT_DEFERRED, curthread); in ffs_fsfail_cleanup_locked() 528 if (mp->mnt_flag & MNT_FORCE) in ffs_mount() 620 if ((mp->mnt_flag & MNT_FORCE) || in ffs_mount() 932 if ((mp->mnt_flag & (MNT_ROOTFS | MNT_FORCE)) != 0) in ffs_mountfs() 959 if (ronly || (mp->mnt_flag & MNT_FORCE) || in ffs_mountfs() 974 (mp->mnt_flag & MNT_FORCE)) { in ffs_mountfs() 1264 if (mntflags & MNT_FORCE) in ffs_unmount()
|
| /freebsd/sys/fs/ext2fs/ |
| H A D | ext2_vfsops.c | 163 if (mp->mnt_flag & MNT_FORCE) in ext2_mount() 210 if (mp->mnt_flag & MNT_FORCE) { in ext2_mount() 885 if (ronly || (mp->mnt_flag & MNT_FORCE)) { in ext2_mountfs() 1008 if (mntflags & MNT_FORCE) { in ext2_unmount()
|
| /freebsd/sys/sys/ |
| H A D | mount.h | 373 { MNT_FORCE, "force" }, \ 464 #define MNT_FORCE 0x0000000000080000ULL /* force unmount or readonly */ macro 473 MNT_FORCE | MNT_SNAPSHOT | MNT_NONBUSY | \
|
| /freebsd/usr.sbin/autofs/ |
| H A D | automount.c | 75 flags |= MNT_FORCE; in unmount_by_statfs()
|
| /freebsd/sbin/mount/ |
| H A D | mount.c | 236 init_flags |= MNT_FORCE; in main() 568 if (flags & MNT_FORCE) in mountfs()
|
| /freebsd/sys/fs/msdosfs/ |
| H A D | msdosfs_vfsops.c | 261 if (mp->mnt_flag & MNT_FORCE) in msdosfs_mount() 400 msdosfs_unmount(mp, MNT_FORCE); in msdosfs_mount() 904 if ((mntflags & MNT_FORCE) != 0) in msdosfs_unmount()
|
| /freebsd/lib/libbe/ |
| H A D | be_access.c | 239 mntflags = (flags & BE_MNT_FORCE) ? MNT_FORCE : 0; in be_mount()
|
| /freebsd/sys/fs/smbfs/ |
| H A D | smbfs_vfsops.c | 269 if (mntflags & MNT_FORCE) in smbfs_unmount()
|
| /freebsd/sys/fs/nfsclient/ |
| H A D | nfs_clvfsops.c | 1978 if (mntflags & MNT_FORCE) in nfs_unmount() 1989 if (mntflags & MNT_FORCE) { in nfs_unmount() 2005 if ((mntflags & MNT_FORCE) && error != 0 && ++trycnt < 30) in nfs_unmount() 2007 } while ((mntflags & MNT_FORCE) && error != 0 && trycnt < 30); in nfs_unmount() 2014 if ((mntflags & MNT_FORCE) == 0) in nfs_unmount()
|
| /freebsd/sys/fs/fuse/ |
| H A D | fuse_device.c | 181 dounmount(fdata->mp, MNT_FORCE, curthread); in fdata_dtor()
|
| /freebsd/sys/fs/pseudofs/ |
| H A D | pseudofs.c | 449 error = vflush(mp, 0, (mntflags & MNT_FORCE) ? FORCECLOSE : 0, in pfs_unmount()
|