| /freebsd-12.1/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-12.1/sys/cddl/compat/opensolaris/sys/ |
| H A D | mount.h | 36 #define MS_FORCE MNT_FORCE
|
| /freebsd-12.1/sbin/mount/ |
| H A D | mntopts.h | 64 #define MOPT_FORCE { "force", 0, MNT_FORCE, 0 }
|
| H A D | mount.c | 284 init_flags |= MNT_FORCE; in main() 591 if (flags & MNT_FORCE) in mountfs()
|
| /freebsd-12.1/sys/fs/tmpfs/ |
| H A D | tmpfs_vfsops.c | 328 forced = (mp->mnt_flag & MNT_FORCE) != 0; in tmpfs_rw_to_ro() 527 flags = (mntflags & MNT_FORCE) != 0 ? FORCECLOSE : 0; in tmpfs_unmount() 551 if ((mntflags & MNT_FORCE) == 0) { in tmpfs_unmount()
|
| /freebsd-12.1/sys/fs/nullfs/ |
| H A D | null_vfsops.c | 242 if (mntflags & MNT_FORCE) 258 if ((mntflags & MNT_FORCE) == 0)
|
| /freebsd-12.1/sys/fs/fdescfs/ |
| H A D | fdesc_vfsops.c | 130 if (mntflags & MNT_FORCE) { in fdesc_unmount()
|
| /freebsd-12.1/sys/fs/autofs/ |
| H A D | autofs_vfsops.c | 127 if (mntflags & MNT_FORCE) in autofs_unmount()
|
| /freebsd-12.1/contrib/netbsd-tests/fs/puffs/ |
| H A D | t_fuzz.c | 243 rump_sys_unmount("/mnt", MNT_FORCE); in testbody()
|
| /freebsd-12.1/sys/fs/devfs/ |
| H A D | devfs_vfsops.c | 184 if (mntflags & MNT_FORCE) in devfs_unmount()
|
| /freebsd-12.1/sys/fs/msdosfs/ |
| H A D | msdosfs_vfsops.c | 257 if (mp->mnt_flag & MNT_FORCE) in msdosfs_mount() 375 msdosfs_unmount(mp, MNT_FORCE); in msdosfs_mount() 749 if ((mntflags & MNT_FORCE) != 0) in msdosfs_unmount()
|
| /freebsd-12.1/sys/fs/ext2fs/ |
| H A D | ext2_vfsops.c | 167 if (mp->mnt_flag & MNT_FORCE) in ext2_mount() 212 if (mp->mnt_flag & MNT_FORCE) { in ext2_mount() 885 if (ronly || (mp->mnt_flag & MNT_FORCE)) { in ext2_mountfs() 1010 if (mntflags & MNT_FORCE) { in ext2_unmount()
|
| /freebsd-12.1/sys/fs/nandfs/ |
| H A D | nandfs_vfsops.c | 1224 if (mp->mnt_flag & MNT_FORCE) in nandfs_mount() 1416 nandfs_unmount(mp, MNT_FORCE); in nandfs_mountfs() 1425 nandfs_unmount(mp, MNT_FORCE); in nandfs_mountfs() 1452 if (mntflags & MNT_FORCE) in nandfs_unmount()
|
| /freebsd-12.1/sys/kern/ |
| H A D | vfs_mount.c | 635 fsflags |= MNT_FORCE; in vfs_donmount() 1024 mp->mnt_flag |= fsflags & (MNT_RELOAD | MNT_FORCE | MNT_UPDATE | in vfs_domount_update() 1060 mp->mnt_flag &= ~(MNT_UPDATE | MNT_RELOAD | MNT_FORCE | in vfs_domount_update() 1396 if (flags & MNT_FORCE) { in dounmount() 1441 if ((mp->mnt_flag & MNT_RDONLY) != 0 || (flags & MNT_FORCE) != 0 || in dounmount()
|
| /freebsd-12.1/usr.sbin/autofs/ |
| H A D | automount.c | 79 flags |= MNT_FORCE; in unmount_by_statfs()
|
| /freebsd-12.1/lib/libbe/ |
| H A D | be_access.c | 257 mntflags = (flags & BE_MNT_FORCE) ? MNT_FORCE : 0; in be_mount()
|
| /freebsd-12.1/sys/ufs/ffs/ |
| H A D | ffs_vfsops.c | 274 if (mp->mnt_flag & MNT_FORCE) in ffs_mount() 350 if ((mp->mnt_flag & MNT_FORCE) || in ffs_mount() 841 if (ronly || (mp->mnt_flag & MNT_FORCE) || 855 (mp->mnt_flag & MNT_FORCE)) { 1229 if (mntflags & MNT_FORCE) {
|
| /freebsd-12.1/sys/fs/nfsclient/ |
| H A D | nfs_clvfsops.c | 1673 if (mntflags & MNT_FORCE) in nfs_unmount() 1684 if (mntflags & MNT_FORCE) { in nfs_unmount() 1700 if ((mntflags & MNT_FORCE) && error != 0 && ++trycnt < 30) in nfs_unmount() 1702 } while ((mntflags & MNT_FORCE) && error != 0 && trycnt < 30); in nfs_unmount() 1709 if ((mntflags & MNT_FORCE) == 0) in nfs_unmount()
|
| /freebsd-12.1/sys/sys/ |
| H A D | mount.h | 361 #define MNT_FORCE 0x0000000000080000ULL /* force unmount or readonly */ macro 366 MNT_FORCE | MNT_SNAPSHOT | MNT_NONBUSY | \
|
| /freebsd-12.1/sys/fs/pseudofs/ |
| H A D | pseudofs.c | 387 error = vflush(mp, 0, (mntflags & MNT_FORCE) ? FORCECLOSE : 0, in pfs_unmount()
|
| /freebsd-12.1/sys/fs/smbfs/ |
| H A D | smbfs_vfsops.c | 272 if (mntflags & MNT_FORCE) in smbfs_unmount()
|
| /freebsd-12.1/sys/fs/unionfs/ |
| H A D | union_vfsops.c | 336 if (mntflags & MNT_FORCE) in unionfs_unmount()
|
| /freebsd-12.1/sys/fs/fuse/ |
| H A D | fuse_vfsops.c | 473 if (mntflags & MNT_FORCE) { in fuse_vfsop_unmount()
|
| /freebsd-12.1/sys/fs/udf/ |
| H A D | udf_vfsops.c | 519 if (mntflags & MNT_FORCE) in udf_unmount()
|
| /freebsd-12.1/sys/fs/cd9660/ |
| H A D | cd9660_vfsops.c | 513 if (mntflags & MNT_FORCE)
|