| /freebsd-14.2/sys/contrib/openzfs/lib/libspl/include/os/linux/sys/ |
| H A D | mount.h | 72 #ifdef MNT_FORCE 73 #define MS_FORCE MNT_FORCE
|
| /freebsd-14.2/sys/contrib/openzfs/lib/libspl/include/os/freebsd/sys/ |
| H A D | mount.h | 78 #ifdef MNT_FORCE 79 #define MS_FORCE MNT_FORCE
|
| /freebsd-14.2/sys/contrib/openzfs/include/os/freebsd/spl/sys/ |
| H A D | mount.h | 37 #define MS_FORCE MNT_FORCE
|
| /freebsd-14.2/sbin/umount/ |
| H A D | umount.c | 121 fflag |= MNT_FORCE; in main() 148 if ((fflag & MNT_FORCE) != 0 && (fflag & MNT_NONBUSY) != 0) in main() 202 ret = unmount(*argv, MNT_FORCE); in main() 451 if (ai != NULL && !(fflag & MNT_FORCE) && do_rpc) { in umountfs()
|
| /freebsd-14.2/sbin/mount/ |
| H A D | mntopts.h | 63 #define MOPT_FORCE { "force", 0, MNT_FORCE, 0 }
|
| H A D | mount.c | 245 init_flags |= MNT_FORCE; in main() 577 if (flags & MNT_FORCE) in mountfs()
|
| /freebsd-14.2/sys/kern/ |
| H A D | vfs_mount.c | 882 fsflags |= MNT_FORCE; in vfs_donmount() 1183 (MNT_UPDATEMASK | MNT_ROOTFS | MNT_RDONLY | MNT_FORCE)); in vfs_domount_first() 1426 mp->mnt_flag |= fsflags & (MNT_RELOAD | MNT_FORCE | MNT_UPDATE | in vfs_domount_update() 1527 mp->mnt_flag &= ~(MNT_UPDATE | MNT_RELOAD | MNT_FORCE | in vfs_domount_update() 2151 (flags & (MNT_RECURSE | MNT_FORCE)) == (MNT_RECURSE | MNT_FORCE), in dounmount() 2188 if (recursive_forced_unmount && ((flags & MNT_FORCE) != 0)) in dounmount() 2192 KASSERT((flags & MNT_FORCE) != 0, in dounmount() 2304 if (flags & MNT_FORCE) { in dounmount() 3058 mp->mnt_flag |= MNT_UPDATE | MNT_FORCE | MNT_RDONLY; in vfs_remount_ro() 3075 mp->mnt_flag &= ~(MNT_UPDATE | MNT_FORCE); in vfs_remount_ro() [all …]
|
| /freebsd-14.2/sys/fs/tmpfs/ |
| H A D | tmpfs_vfsops.c | 287 forced = (mp->mnt_flag & MNT_FORCE) != 0; in tmpfs_rw_to_ro() 502 flags = (mntflags & MNT_FORCE) != 0 ? FORCECLOSE : 0; in tmpfs_unmount() 526 if ((mntflags & MNT_FORCE) == 0) { in tmpfs_unmount()
|
| /freebsd-14.2/sys/fs/nullfs/ |
| H A D | null_vfsops.c | 262 if (mntflags & MNT_FORCE) in nullfs_unmount() 278 if ((mntflags & MNT_FORCE) == 0) in nullfs_unmount()
|
| /freebsd-14.2/sys/fs/fdescfs/ |
| H A D | fdesc_vfsops.c | 142 if (mntflags & MNT_FORCE) { in fdesc_unmount()
|
| /freebsd-14.2/sys/fs/autofs/ |
| H A D | autofs_vfsops.c | 124 if (mntflags & MNT_FORCE) in autofs_unmount()
|
| /freebsd-14.2/contrib/netbsd-tests/fs/puffs/ |
| H A D | t_fuzz.c | 243 rump_sys_unmount("/mnt", MNT_FORCE); in testbody()
|
| /freebsd-14.2/sys/fs/devfs/ |
| H A D | devfs_vfsops.c | 184 if (mntflags & MNT_FORCE) in devfs_unmount()
|
| /freebsd-14.2/sys/sys/ |
| H A D | mount.h | 368 { MNT_FORCE, "force" }, \ 457 #define MNT_FORCE 0x0000000000080000ULL /* force unmount or readonly */ macro 466 MNT_FORCE | MNT_SNAPSHOT | MNT_NONBUSY | \
|
| /freebsd-14.2/sys/ufs/ffs/ |
| H A D | ffs_vfsops.c | 312 MNT_FORCE | MNT_RECURSE | MNT_DEFERRED, curthread); in ffs_fsfail_cleanup_locked() 525 if (mp->mnt_flag & MNT_FORCE) in ffs_mount() 603 if ((mp->mnt_flag & MNT_FORCE) || in ffs_mount() 963 if ((mp->mnt_flag & (MNT_ROOTFS | MNT_FORCE)) != 0) in ffs_mountfs() 973 if (ronly || (mp->mnt_flag & MNT_FORCE) || in ffs_mountfs() 988 (mp->mnt_flag & MNT_FORCE)) { in ffs_mountfs() 1374 if (mntflags & MNT_FORCE) in ffs_unmount()
|
| /freebsd-14.2/sys/fs/ext2fs/ |
| H A D | ext2_vfsops.c | 165 if (mp->mnt_flag & MNT_FORCE) in ext2_mount() 212 if (mp->mnt_flag & MNT_FORCE) { in ext2_mount() 891 if (ronly || (mp->mnt_flag & MNT_FORCE)) { in ext2_mountfs() 1017 if (mntflags & MNT_FORCE) { in ext2_unmount()
|
| /freebsd-14.2/usr.sbin/autofs/ |
| H A D | automount.c | 76 flags |= MNT_FORCE; in unmount_by_statfs()
|
| /freebsd-14.2/lib/libbe/ |
| H A D | be_access.c | 254 mntflags = (flags & BE_MNT_FORCE) ? MNT_FORCE : 0; in be_mount()
|
| /freebsd-14.2/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() 909 if ((mntflags & MNT_FORCE) != 0) in msdosfs_unmount()
|
| /freebsd-14.2/sys/fs/smbfs/ |
| H A D | smbfs_vfsops.c | 269 if (mntflags & MNT_FORCE) in smbfs_unmount()
|
| /freebsd-14.2/sys/fs/nfsclient/ |
| H A D | nfs_clvfsops.c | 1866 if (mntflags & MNT_FORCE) in nfs_unmount() 1877 if (mntflags & MNT_FORCE) { in nfs_unmount() 1893 if ((mntflags & MNT_FORCE) && error != 0 && ++trycnt < 30) in nfs_unmount() 1895 } while ((mntflags & MNT_FORCE) && error != 0 && trycnt < 30); in nfs_unmount() 1902 if ((mntflags & MNT_FORCE) == 0) in nfs_unmount()
|
| /freebsd-14.2/sys/fs/pseudofs/ |
| H A D | pseudofs.c | 409 error = vflush(mp, 0, (mntflags & MNT_FORCE) ? FORCECLOSE : 0, in pfs_unmount()
|
| /freebsd-14.2/sys/contrib/openzfs/module/os/linux/zfs/ |
| H A D | zfs_ctldir.c | 982 error = zfsctl_snapshot_unmount(snapname, MNT_FORCE); in zfsctl_snapdir_remove() 1076 if (flags & MNT_FORCE) in zfsctl_snapshot_unmount()
|
| /freebsd-14.2/sys/fs/unionfs/ |
| H A D | union_vfsops.c | 388 if (mntflags & MNT_FORCE) in unionfs_unmount()
|
| /freebsd-14.2/sys/fs/fuse/ |
| H A D | fuse_vfsops.c | 481 if (mntflags & MNT_FORCE) { in fuse_vfsop_unmount()
|