Home
last modified time | relevance | path

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

12

/src/sys/contrib/openzfs/lib/libspl/include/os/linux/sys/
H A Dmount.h73 #ifdef MNT_FORCE
74 #define MS_FORCE MNT_FORCE
/src/sys/contrib/openzfs/lib/libspl/include/os/freebsd/sys/
H A Dmount.h81 #ifdef MNT_FORCE
82 #define MS_FORCE MNT_FORCE
/src/sys/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dmount.h38 #define MS_FORCE MNT_FORCE
/src/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()
/src/sys/fs/p9fs/
H A Dp9fs_vfsops.c154 if (mntflags & MNT_FORCE) in p9fs_unmount()
163 if (error == 0 || (mntflags & MNT_FORCE) == 0) in p9fs_unmount()
492 (void) p9fs_unmount(mp, MNT_FORCE); in p9fs_mount()
/src/lib/libutil/
H A Dmntopts.h64 #define MOPT_FORCE { "force", 0, MNT_FORCE, 0 }
/src/sys/kern/
H A Dvfs_mount.c882 fsflags |= MNT_FORCE; in vfs_donmount()
1193 (MNT_UPDATEMASK | MNT_ROOTFS | MNT_RDONLY | MNT_FORCE)); in vfs_domount_first()
1437 mp->mnt_flag |= fsflags & (MNT_RELOAD | MNT_FORCE | MNT_UPDATE | in vfs_domount_update()
1539 mp->mnt_flag &= ~(MNT_UPDATE | MNT_RELOAD | MNT_FORCE | in vfs_domount_update()
2166 (flags & (MNT_RECURSE | MNT_FORCE)) == (MNT_RECURSE | MNT_FORCE), in dounmount()
2203 if (recursive_forced_unmount && ((flags & MNT_FORCE) != 0)) in dounmount()
2207 KASSERT((flags & MNT_FORCE) != 0, in dounmount()
2319 if (flags & MNT_FORCE) { in dounmount()
3073 mp->mnt_flag |= MNT_UPDATE | MNT_FORCE | MNT_RDONLY; in vfs_remount_ro()
3090 mp->mnt_flag &= ~(MNT_UPDATE | MNT_FORCE); in vfs_remount_ro()
[all …]
/src/sys/fs/tmpfs/
H A Dtmpfs_vfsops.c286 forced = (mp->mnt_flag & MNT_FORCE) != 0; in tmpfs_rw_to_ro()
501 flags = (mntflags & MNT_FORCE) != 0 ? FORCECLOSE : 0; in tmpfs_unmount()
525 if ((mntflags & MNT_FORCE) == 0) { in tmpfs_unmount()
/src/sys/fs/nullfs/
H A Dnull_vfsops.c270 if (mntflags & MNT_FORCE) in nullfs_unmount()
286 if ((mntflags & MNT_FORCE) == 0) in nullfs_unmount()
/src/sys/fs/autofs/
H A Dautofs_vfsops.c124 if (mntflags & MNT_FORCE) in autofs_unmount()
/src/sys/fs/fdescfs/
H A Dfdesc_vfsops.c140 if (mntflags & MNT_FORCE) { in fdesc_unmount()
/src/contrib/netbsd-tests/fs/puffs/
H A Dt_fuzz.c243 rump_sys_unmount("/mnt", MNT_FORCE); in testbody()
/src/sys/fs/devfs/
H A Ddevfs_vfsops.c182 if (mntflags & MNT_FORCE) in devfs_unmount()
/src/sys/ufs/ffs/
H A Dffs_vfsops.c314 MNT_FORCE | MNT_RECURSE | MNT_DEFERRED, curthread); in ffs_fsfail_cleanup_locked()
527 if (mp->mnt_flag & MNT_FORCE) in ffs_mount()
609 if ((mp->mnt_flag & MNT_FORCE) || in ffs_mount()
921 if ((mp->mnt_flag & (MNT_ROOTFS | MNT_FORCE)) != 0) in ffs_mountfs()
931 if (ronly || (mp->mnt_flag & MNT_FORCE) || in ffs_mountfs()
946 (mp->mnt_flag & MNT_FORCE)) { in ffs_mountfs()
1239 if (mntflags & MNT_FORCE) in ffs_unmount()
/src/sys/sys/
H A Dmount.h371 { MNT_FORCE, "force" }, \
462 #define MNT_FORCE 0x0000000000080000ULL /* force unmount or readonly */ macro
471 MNT_FORCE | MNT_SNAPSHOT | MNT_NONBUSY | \
/src/sys/fs/ext2fs/
H A Dext2_vfsops.c163 if (mp->mnt_flag & MNT_FORCE) in ext2_mount()
210 if (mp->mnt_flag & MNT_FORCE) { in ext2_mount()
889 if (ronly || (mp->mnt_flag & MNT_FORCE)) { in ext2_mountfs()
1015 if (mntflags & MNT_FORCE) { in ext2_unmount()
/src/usr.sbin/autofs/
H A Dautomount.c75 flags |= MNT_FORCE; in unmount_by_statfs()
/src/sbin/mount/
H A Dmount.c236 init_flags |= MNT_FORCE; in main()
568 if (flags & MNT_FORCE) in mountfs()
/src/sys/fs/msdosfs/
H A Dmsdosfs_vfsops.c261 if (mp->mnt_flag & MNT_FORCE) in msdosfs_mount()
400 msdosfs_unmount(mp, MNT_FORCE); in msdosfs_mount()
907 if ((mntflags & MNT_FORCE) != 0) in msdosfs_unmount()
/src/lib/libbe/
H A Dbe_access.c239 mntflags = (flags & BE_MNT_FORCE) ? MNT_FORCE : 0; in be_mount()
/src/sys/fs/smbfs/
H A Dsmbfs_vfsops.c269 if (mntflags & MNT_FORCE) in smbfs_unmount()
/src/sys/fs/nfsclient/
H A Dnfs_clvfsops.c1881 if (mntflags & MNT_FORCE) in nfs_unmount()
1892 if (mntflags & MNT_FORCE) { in nfs_unmount()
1908 if ((mntflags & MNT_FORCE) && error != 0 && ++trycnt < 30) in nfs_unmount()
1910 } while ((mntflags & MNT_FORCE) && error != 0 && trycnt < 30); in nfs_unmount()
1917 if ((mntflags & MNT_FORCE) == 0) in nfs_unmount()
/src/tools/test/stress2/misc/
H A Dall.exclude77 syzkaller89.sh panic: MNT_DEFERRED requires MNT_RECURSE | MNT_FORCE 20241224
/src/tests/sys/kern/
H A Dinotify_test.c860 error = unmount("./root", MNT_FORCE); in ATF_TC_BODY()
871 (void)unmount("./root", MNT_FORCE); in ATF_TC_CLEANUP()
/src/sys/fs/fuse/
H A Dfuse_device.c181 dounmount(fdata->mp, MNT_FORCE, curthread); in fdata_dtor()

12