| /netbsd-src/sys/sys/ |
| H A D | fstypes.h | 207 #define MNT_FORCE 0x00080000 /* force unmount or readonly change */ macro 210 #define MNT_OP_FLAGS (MNT_UPDATE|MNT_RELOAD|MNT_FORCE|MNT_GETARGS) 215 { MNT_FORCE, 1, "force unmount or readonly change" }, \
|
| /netbsd-src/sys/fs/efs/ |
| H A D | efs_vfsops.c | 93 if (!(mp->mnt_flag & MNT_FORCE)) { in efs_mount_common() 115 if (mp->mnt_flag & MNT_FORCE) { in efs_mount_common() 128 if (!(mp->mnt_flag & MNT_FORCE)) { in efs_mount_common() 143 if (!(mp->mnt_flag & MNT_FORCE)) { in efs_mount_common() 275 err = vflush(mp, NULL, (mntflags & MNT_FORCE) ? FORCECLOSE : 0); in efs_unmount()
|
| /netbsd-src/sys/ufs/ffs/ |
| H A D | ffs_vfsops.c | 382 mp->mnt_flag |= MNT_FORCE; in ffs_mountroot() 388 mp->mnt_flag &= ~MNT_FORCE; in ffs_mountroot() 639 if (mp->mnt_flag & MNT_FORCE) in ffs_mount() 664 error = ffs_wapbl_stop(mp, mp->mnt_flag & MNT_FORCE); in ffs_mount() 700 (mp->mnt_flag & MNT_FORCE) ? "" : in ffs_mount() 944 (mp->mnt_flag & MNT_FORCE) ? "" : ", not mounting"); in ffs_reload() 945 if ((mp->mnt_flag & MNT_FORCE) == 0) { in ffs_reload() 1331 if (error && (mp->mnt_flag & MNT_FORCE) == 0) { in ffs_mountfs() 1364 if ((fs->fs_flags & FS_DOWAPBL) && (mp->mnt_flag & MNT_FORCE) == 0) { in ffs_mountfs() 1377 (mp->mnt_flag & MNT_FORCE) in ffs_mountfs() [all...] |
| /netbsd-src/sbin/umount/ |
| H A D | umount.c | 110 fflag = MNT_FORCE; in main() 296 if (fflag == MNT_FORCE) { in umountfs() 321 if (ai != NULL && !(fflag & MNT_FORCE)) { in umountfs()
|
| /netbsd-src/sys/miscfs/nullfs/ |
| H A D | null_vfsops.c | 195 if (mntflags & MNT_FORCE) in nullfs_unmount() 198 if (vrefcnt(null_rootvp) > 1 && (mntflags & MNT_FORCE) == 0) in nullfs_unmount()
|
| /netbsd-src/sys/miscfs/overlay/ |
| H A D | overlay_vfsops.c | 220 if (mntflags & MNT_FORCE) in ov_unmount() 223 if (vrefcnt(overlay_rootvp) > 1 && (mntflags & MNT_FORCE) == 0) in ov_unmount()
|
| /netbsd-src/sys/miscfs/fdesc/ |
| H A D | fdesc_vfsops.c | 119 if (mntflags & MNT_FORCE) in fdesc_unmount() 122 if (vrefcnt(rtvp) > 1 && (mntflags & MNT_FORCE) == 0) in fdesc_unmount()
|
| /netbsd-src/external/bsd/am-utils/dist/conf/nfs_prot/ |
| H A D | nfs_prot_linux.h | 91 # ifndef MNT_FORCE 92 # define MNT_FORCE 0x1 /* from <sys/mount.h> */ macro
|
| /netbsd-src/sys/miscfs/umapfs/ |
| H A D | umap_vfsops.c | 279 if (mntflags & MNT_FORCE) in umapfs_unmount() 282 if (vrefcnt(rtvp) > 1 && (mntflags & MNT_FORCE) == 0) in umapfs_unmount()
|
| /netbsd-src/external/cddl/osnet/sys/sys/ |
| H A D | mount.h | 38 #define MS_FORCE MNT_FORCE
|
| /netbsd-src/sys/kern/ |
| H A D | vfs_mount.c | 842 mp->mnt_flag = flags & (MNT_BASIC_FLAGS | MNT_FORCE | MNT_IGNORE); in mount_domount() 921 if (VFS_UNMOUNT(mp, MNT_FORCE) != 0) in mount_domount() 976 if (((mp->mnt_flag & MNT_RDONLY) == 0) && ((flags & MNT_FORCE) == 0)) { in dounmount() 979 if (error == 0 || (flags & MNT_FORCE)) { in dounmount() 1092 if ((error = dounmount(mp, MNT_FORCE, l)) == 0) { in vfs_unmount_forceone() 1128 if ((error = dounmount(mp, force ? MNT_FORCE : 0, l)) == 0) { in vfs_unmountall1()
|
| /netbsd-src/include/ |
| H A D | mntopts.h | 71 #define MOPT_FORCE { "force", 0, MNT_FORCE, 0 }
|
| /netbsd-src/sys/fs/tmpfs/ |
| H A D | tmpfs_vfsops.c | 162 if ((mp->mnt_flag & MNT_FORCE)) in tmpfs_mount() 253 if (mntflags & MNT_FORCE) in tmpfs_unmount()
|
| /netbsd-src/sys/fs/nilfs/ |
| H A D | nilfs_vfsops.c | 952 nilfs_unmount(mp, MNT_FORCE); in nilfs_mount() 960 nilfs_unmount(mp, MNT_FORCE); in nilfs_mount() 991 flags = (mntflags & MNT_FORCE) ? FORCECLOSE : 0; in nilfs_unmount()
|
| /netbsd-src/tests/fs/puffs/ |
| H A D | t_fuzz.c | 243 rump_sys_unmount("/mnt", MNT_FORCE); in testbody()
|
| /netbsd-src/usr.sbin/autofs/ |
| H A D | automount.c | 59 flags |= MNT_FORCE; in unmount_by_statfs()
|
| /netbsd-src/sys/fs/msdosfs/ |
| H A D | msdosfs_vfsops.c | 333 if (mp->mnt_flag & MNT_FORCE) in msdosfs_mount() 442 msdosfs_unmount(mp, MNT_FORCE); in msdosfs_mount() 927 if (mntflags & MNT_FORCE) in msdosfs_unmount()
|
| /netbsd-src/sys/miscfs/kernfs/ |
| H A D | kernfs_vfsops.c | 170 if (mntflags & MNT_FORCE) in kernfs_unmount()
|
| /netbsd-src/sys/nfs/ |
| H A D | nfs_vfsops.c | 838 if (mntflags & MNT_FORCE) { in nfs_unmount() 864 if ((mntflags & MNT_FORCE) == 0 && vrefcnt(vp) > 1) { in nfs_unmount() 916 if (mntflags & MNT_FORCE) { in nfs_unmount()
|
| /netbsd-src/sys/secmodel/keylock/ |
| H A D | secmodel_keylock.c | 221 MNT_RELOAD | MNT_FORCE | MNT_UPDATE)) in secmodel_keylock_system_cb()
|
| /netbsd-src/sys/fs/nfs/client/ |
| H A D | nfs_clvfsops.c | 1654 if (mntflags & MNT_FORCE) in nfs_unmount() 1664 if (mntflags & MNT_FORCE) { in nfs_unmount() 1674 if ((mntflags & MNT_FORCE) && error != 0 && ++trycnt < 30) in nfs_unmount() 1676 } while ((mntflags & MNT_FORCE) && error != 0 && trycnt < 30); in nfs_unmount() 1683 if ((mntflags & MNT_FORCE) == 0) in nfs_unmount()
|
| /netbsd-src/sys/secmodel/securelevel/ |
| H A D | secmodel_securelevel.c | 314 MNT_FORCE | MNT_UPDATE)) in secmodel_securelevel_system_cb()
|
| /netbsd-src/sys/ufs/mfs/ |
| H A D | mfs_vfsops.c | 302 if (mp->mnt_flag & MNT_FORCE) in mfs_mount()
|
| /netbsd-src/sys/fs/sysvbfs/ |
| H A D | sysvbfs_vfsops.c | 227 mntflags & MNT_FORCE ? FORCECLOSE : 0)) != 0) in sysvbfs_unmount()
|
| /netbsd-src/sys/fs/union/ |
| H A D | union_vfsops.c | 386 if (mntflags & MNT_FORCE) in union_unmount()
|