Home
last modified time | relevance | path

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

12

/freebsd-12.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-12.1/sys/cddl/compat/opensolaris/sys/
H A Dmount.h36 #define MS_FORCE MNT_FORCE
/freebsd-12.1/sbin/mount/
H A Dmntopts.h64 #define MOPT_FORCE { "force", 0, MNT_FORCE, 0 }
H A Dmount.c284 init_flags |= MNT_FORCE; in main()
591 if (flags & MNT_FORCE) in mountfs()
/freebsd-12.1/sys/fs/tmpfs/
H A Dtmpfs_vfsops.c328 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 Dnull_vfsops.c242 if (mntflags & MNT_FORCE)
258 if ((mntflags & MNT_FORCE) == 0)
/freebsd-12.1/sys/fs/fdescfs/
H A Dfdesc_vfsops.c130 if (mntflags & MNT_FORCE) { in fdesc_unmount()
/freebsd-12.1/sys/fs/autofs/
H A Dautofs_vfsops.c127 if (mntflags & MNT_FORCE) in autofs_unmount()
/freebsd-12.1/contrib/netbsd-tests/fs/puffs/
H A Dt_fuzz.c243 rump_sys_unmount("/mnt", MNT_FORCE); in testbody()
/freebsd-12.1/sys/fs/devfs/
H A Ddevfs_vfsops.c184 if (mntflags & MNT_FORCE) in devfs_unmount()
/freebsd-12.1/sys/fs/msdosfs/
H A Dmsdosfs_vfsops.c257 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 Dext2_vfsops.c167 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 Dnandfs_vfsops.c1224 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 Dvfs_mount.c635 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 Dautomount.c79 flags |= MNT_FORCE; in unmount_by_statfs()
/freebsd-12.1/lib/libbe/
H A Dbe_access.c257 mntflags = (flags & BE_MNT_FORCE) ? MNT_FORCE : 0; in be_mount()
/freebsd-12.1/sys/ufs/ffs/
H A Dffs_vfsops.c274 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 Dnfs_clvfsops.c1673 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 Dmount.h361 #define MNT_FORCE 0x0000000000080000ULL /* force unmount or readonly */ macro
366 MNT_FORCE | MNT_SNAPSHOT | MNT_NONBUSY | \
/freebsd-12.1/sys/fs/pseudofs/
H A Dpseudofs.c387 error = vflush(mp, 0, (mntflags & MNT_FORCE) ? FORCECLOSE : 0, in pfs_unmount()
/freebsd-12.1/sys/fs/smbfs/
H A Dsmbfs_vfsops.c272 if (mntflags & MNT_FORCE) in smbfs_unmount()
/freebsd-12.1/sys/fs/unionfs/
H A Dunion_vfsops.c336 if (mntflags & MNT_FORCE) in unionfs_unmount()
/freebsd-12.1/sys/fs/fuse/
H A Dfuse_vfsops.c473 if (mntflags & MNT_FORCE) { in fuse_vfsop_unmount()
/freebsd-12.1/sys/fs/udf/
H A Dudf_vfsops.c519 if (mntflags & MNT_FORCE) in udf_unmount()
/freebsd-12.1/sys/fs/cd9660/
H A Dcd9660_vfsops.c513 if (mntflags & MNT_FORCE)

12