Home
last modified time | relevance | path

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

12

/netbsd-src/sys/sys/
H A Dfstypes.h207 #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 Defs_vfsops.c93 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 Dffs_vfsops.c382 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 Dumount.c110 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 Dnull_vfsops.c195 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 Doverlay_vfsops.c220 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 Dfdesc_vfsops.c119 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 Dnfs_prot_linux.h91 # ifndef MNT_FORCE
92 # define MNT_FORCE 0x1 /* from <sys/mount.h> */ macro
/netbsd-src/sys/miscfs/umapfs/
H A Dumap_vfsops.c279 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 Dmount.h38 #define MS_FORCE MNT_FORCE
/netbsd-src/sys/kern/
H A Dvfs_mount.c842 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 Dmntopts.h71 #define MOPT_FORCE { "force", 0, MNT_FORCE, 0 }
/netbsd-src/sys/fs/tmpfs/
H A Dtmpfs_vfsops.c162 if ((mp->mnt_flag & MNT_FORCE)) in tmpfs_mount()
253 if (mntflags & MNT_FORCE) in tmpfs_unmount()
/netbsd-src/sys/fs/nilfs/
H A Dnilfs_vfsops.c952 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 Dt_fuzz.c243 rump_sys_unmount("/mnt", MNT_FORCE); in testbody()
/netbsd-src/usr.sbin/autofs/
H A Dautomount.c59 flags |= MNT_FORCE; in unmount_by_statfs()
/netbsd-src/sys/fs/msdosfs/
H A Dmsdosfs_vfsops.c333 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 Dkernfs_vfsops.c170 if (mntflags & MNT_FORCE) in kernfs_unmount()
/netbsd-src/sys/nfs/
H A Dnfs_vfsops.c838 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 Dsecmodel_keylock.c221 MNT_RELOAD | MNT_FORCE | MNT_UPDATE)) in secmodel_keylock_system_cb()
/netbsd-src/sys/fs/nfs/client/
H A Dnfs_clvfsops.c1654 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 Dsecmodel_securelevel.c314 MNT_FORCE | MNT_UPDATE)) in secmodel_securelevel_system_cb()
/netbsd-src/sys/ufs/mfs/
H A Dmfs_vfsops.c302 if (mp->mnt_flag & MNT_FORCE) in mfs_mount()
/netbsd-src/sys/fs/sysvbfs/
H A Dsysvbfs_vfsops.c227 mntflags & MNT_FORCE ? FORCECLOSE : 0)) != 0) in sysvbfs_unmount()
/netbsd-src/sys/fs/union/
H A Dunion_vfsops.c386 if (mntflags & MNT_FORCE) in union_unmount()

12