Home
last modified time | relevance | path

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

/xnu-11417.140.69/tests/vfs/
H A Dstatfs_ext.c66 unmount(testdir, MNT_FORCE); in cleanup()
H A Dgetattrlist_mountextflags.c153 unmount(mount_path, MNT_FORCE); in cleanup()
/xnu-11417.140.69/bsd/miscfs/mockfs/
H A Dmockfs_vfsops.c170 if (mntflags & MNT_FORCE) { in mockfs_unmount()
/xnu-11417.140.69/tests/
H A Ddisk_mount_conditioner.c408 atexit_b(^{ unmount(mount_path, MNT_FORCE); }); in mktempmount()
469 unmount(mount_path, MNT_FORCE); in mkramdisk()
/xnu-11417.140.69/bsd/sys/
H A Dmount.h371 #define MNT_FORCE 0x00080000 /* force unmount or readonly change */ macro
372 #define MNT_CMDFLAGS (MNT_UPDATE|MNT_NOBLOCK|MNT_RELOAD|MNT_FORCE)
/xnu-11417.140.69/bsd/miscfs/devfs/
H A Ddevfs_vfsops.c249 if (mntflags & MNT_FORCE) { in devfs_unmount()
/xnu-11417.140.69/bsd/miscfs/bindfs/
H A Dbind_vfsops.c324 if (mntflags & MNT_FORCE) { in bindfs_unmount()
/xnu-11417.140.69/bsd/miscfs/nullfs/
H A Dnull_vfsops.c342 if (mntflags & MNT_FORCE) { in nullfs_unmount()
/xnu-11417.140.69/bsd/miscfs/routefs/
H A Droutefs_ops.c192 if (mntflags & MNT_FORCE) { in routefs_unmount()
/xnu-11417.140.69/bsd/vfs/
H A Dvfs_syscalls.c1211 mp->mnt_flag |= flags & (MNT_RELOAD | MNT_FORCE | MNT_UPDATE); in mount_common()
1692 (MNT_UPDATE | MNT_RELOAD | MNT_FORCE); in mount_common()
1918 (void)VFS_UNMOUNT(mp, MNT_FORCE, ctx); in mount_common()
2802 (flags & MNT_NOBLOCK) && ((flags & MNT_FORCE) == 0)) { in safedounmount()
2816 (!(((mp->mnt_kern_flag & MNTK_PERMIT_UNMOUNT) != 0) && ((flags & MNT_FORCE) == 0)))) { in safedounmount()
2877 if (!(flags & MNT_FORCE)) { in dounmount()
2896 if (flags & MNT_FORCE) { in dounmount()
H A Dvfs_subr.c1362 dounmount(mp, MNT_FORCE, 0, ctx); in vfs_mountroot()
1374 dounmount(mp, MNT_FORCE, 0, ctx); in vfs_mountroot()
4264 error = dounmount(mp, MNT_FORCE, 1, vfs_context_current()); in unmount_callback()