Home
last modified time | relevance | path

Searched refs:MNT_FORCE (Results 1 – 25 of 33) sorted by relevance

12

/freebsd-13.1/sys/contrib/openzfs/lib/libspl/include/os/linux/sys/
H A Dmount.h72 #ifdef MNT_FORCE
73 #define MS_FORCE MNT_FORCE
/freebsd-13.1/sys/contrib/openzfs/lib/libspl/include/os/freebsd/sys/
H A Dmount.h78 #ifdef MNT_FORCE
79 #define MS_FORCE MNT_FORCE
/freebsd-13.1/sys/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dmount.h37 #define MS_FORCE MNT_FORCE
/freebsd-13.1/sbin/umount/
H A Dumount.c109 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-13.1/sbin/mount/
H A Dmntopts.h64 #define MOPT_FORCE { "force", 0, MNT_FORCE, 0 }
H A Dmount.c259 init_flags |= MNT_FORCE; in main()
567 if (flags & MNT_FORCE) in mountfs()
/freebsd-13.1/sys/fs/tmpfs/
H A Dtmpfs_vfsops.c288 forced = (mp->mnt_flag & MNT_FORCE) != 0; in tmpfs_rw_to_ro()
493 flags = (mntflags & MNT_FORCE) != 0 ? FORCECLOSE : 0; in tmpfs_unmount()
517 if ((mntflags & MNT_FORCE) == 0) { in tmpfs_unmount()
/freebsd-13.1/sys/fs/nullfs/
H A Dnull_vfsops.c232 if (mntflags & MNT_FORCE)
248 if ((mntflags & MNT_FORCE) == 0)
/freebsd-13.1/sys/fs/fdescfs/
H A Dfdesc_vfsops.c143 if (mntflags & MNT_FORCE) { in fdesc_unmount()
/freebsd-13.1/sys/fs/autofs/
H A Dautofs_vfsops.c126 if (mntflags & MNT_FORCE) in autofs_unmount()
/freebsd-13.1/contrib/netbsd-tests/fs/puffs/
H A Dt_fuzz.c243 rump_sys_unmount("/mnt", MNT_FORCE); in testbody()
/freebsd-13.1/sys/fs/devfs/
H A Ddevfs_vfsops.c186 if (mntflags & MNT_FORCE) in devfs_unmount()
/freebsd-13.1/sys/sys/
H A Dmount.h339 { MNT_FORCE, "force" }, \
428 #define MNT_FORCE 0x0000000000080000ULL /* force unmount or readonly */ macro
435 MNT_FORCE | MNT_SNAPSHOT | MNT_NONBUSY | \
/freebsd-13.1/sys/kern/
H A Dvfs_mount.c720 fsflags |= MNT_FORCE; in vfs_donmount()
1171 mp->mnt_flag |= fsflags & (MNT_RELOAD | MNT_FORCE | MNT_UPDATE | in vfs_domount_update()
1261 mp->mnt_flag &= ~(MNT_UPDATE | MNT_RELOAD | MNT_FORCE | in vfs_domount_update()
1831 if (flags & MNT_FORCE) { in dounmount()
2604 mp->mnt_flag |= MNT_UPDATE | MNT_FORCE | MNT_RDONLY; in vfs_remount_ro()
2621 mp->mnt_flag &= ~(MNT_UPDATE | MNT_FORCE); in vfs_remount_ro()
2629 mp->mnt_flag &= ~(MNT_UPDATE | MNT_FORCE | MNT_RDONLY); in vfs_remount_ro()
/freebsd-13.1/sys/fs/ext2fs/
H A Dext2_vfsops.c166 if (mp->mnt_flag & MNT_FORCE) in ext2_mount()
213 if (mp->mnt_flag & MNT_FORCE) { in ext2_mount()
901 if (ronly || (mp->mnt_flag & MNT_FORCE)) { in ext2_mountfs()
1027 if (mntflags & MNT_FORCE) { in ext2_unmount()
/freebsd-13.1/usr.sbin/autofs/
H A Dautomount.c78 flags |= MNT_FORCE; in unmount_by_statfs()
/freebsd-13.1/lib/libbe/
H A Dbe_access.c256 mntflags = (flags & BE_MNT_FORCE) ? MNT_FORCE : 0; in be_mount()
/freebsd-13.1/sys/fs/msdosfs/
H A Dmsdosfs_vfsops.c262 if (mp->mnt_flag & MNT_FORCE) in msdosfs_mount()
401 msdosfs_unmount(mp, MNT_FORCE); in msdosfs_mount()
807 if ((mntflags & MNT_FORCE) != 0) in msdosfs_unmount()
/freebsd-13.1/sys/ufs/ffs/
H A Dffs_vfsops.c300 dounmount(mp, MNT_FORCE, curthread); in ffs_fsfail_unmount()
473 if (mp->mnt_flag & MNT_FORCE) in ffs_mount()
551 if ((mp->mnt_flag & MNT_FORCE) || in ffs_mount()
1002 if (ronly || (mp->mnt_flag & MNT_FORCE) ||
1016 (mp->mnt_flag & MNT_FORCE)) {
1408 if (mntflags & MNT_FORCE)
/freebsd-13.1/sys/fs/nfsclient/
H A Dnfs_clvfsops.c1774 if (mntflags & MNT_FORCE) in nfs_unmount()
1785 if (mntflags & MNT_FORCE) { in nfs_unmount()
1801 if ((mntflags & MNT_FORCE) && error != 0 && ++trycnt < 30) in nfs_unmount()
1803 } while ((mntflags & MNT_FORCE) && error != 0 && trycnt < 30); in nfs_unmount()
1810 if ((mntflags & MNT_FORCE) == 0) in nfs_unmount()
/freebsd-13.1/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzfs_ctldir.c928 error = zfsctl_snapshot_unmount(snapname, MNT_FORCE); in zfsctl_snapdir_remove()
1022 if (flags & MNT_FORCE) in zfsctl_snapshot_unmount()
/freebsd-13.1/sys/fs/pseudofs/
H A Dpseudofs.c409 error = vflush(mp, 0, (mntflags & MNT_FORCE) ? FORCECLOSE : 0, in pfs_unmount()
/freebsd-13.1/sys/fs/smbfs/
H A Dsmbfs_vfsops.c271 if (mntflags & MNT_FORCE) in smbfs_unmount()
/freebsd-13.1/sys/fs/unionfs/
H A Dunion_vfsops.c332 if (mntflags & MNT_FORCE) in unionfs_unmount()
/freebsd-13.1/sys/fs/fuse/
H A Dfuse_vfsops.c480 if (mntflags & MNT_FORCE) { in fuse_vfsop_unmount()

12