Home
last modified time | relevance | path

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

/xnu-12377.41.6/tests/vfs/
H A Dunion_getdirentries.c71 unmount(DIRECTORY, MNT_FORCE); in cleanup()
151 unmount(dir_path, MNT_FORCE); /* Remove union mount */
152 unmount(dir_path, MNT_FORCE); /* Remove union mount */
H A Dchroot_unmount_stress.c77 (void)unmount(chroot_path, MNT_FORCE); in cleanup()
163 if (unmount("/", MNT_FORCE) != 0) { in test_unmount_remount_cycle()
H A Dfmount_funmount.c112 …T_ASSERT_POSIX_SUCCESS(funmount(fd, MNT_FORCE), "Unmounting %s using funmount(fd = %d)", testdir, …
H A Ddevfs_nested_subdirs.c60 unmount(mount_path, MNT_FORCE); in cleanup()
H A Ddevfs_fdesc.c197 ret = unmount(fdesc_path, MNT_FORCE);
H A Dgetattrlist_mountextflags.c154 unmount(mount_path, MNT_FORCE); in cleanup()
H A Dstatfs_ext.c73 unmount(testdir, MNT_FORCE); in cleanup()
H A Dsandbox_appledouble_write.c78 unmount(testdir, MNT_FORCE); in cleanup()
H A Dresolve_beneath.c1201 unmount(race_mount_path, MNT_FORCE); in mounter_thread()
1207 unmount(race_mount_path, MNT_FORCE); in mounter_thread()
/xnu-12377.41.6/bsd/miscfs/mockfs/
H A Dmockfs_vfsops.c170 if (mntflags & MNT_FORCE) { in mockfs_unmount()
/xnu-12377.41.6/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-12377.41.6/bsd/miscfs/devfs/
H A Ddevfs_vfsops.c249 if (mntflags & MNT_FORCE) { in devfs_unmount()
/xnu-12377.41.6/bsd/miscfs/bindfs/
H A Dbind_vfsops.c321 if (mntflags & MNT_FORCE) { in bindfs_unmount()
/xnu-12377.41.6/bsd/miscfs/nullfs/
H A Dnull_vfsops.c339 if (mntflags & MNT_FORCE) { in nullfs_unmount()
/xnu-12377.41.6/bsd/miscfs/routefs/
H A Droutefs_ops.c192 if (mntflags & MNT_FORCE) { in routefs_unmount()
/xnu-12377.41.6/tests/
H A Ddisk_mount_conditioner.m410 atexit_b(^{ unmount(mount_path, MNT_FORCE); });
/xnu-12377.41.6/bsd/vfs/
H A Dvfs_syscalls.c1285 mp->mnt_flag |= flags & (MNT_RELOAD | MNT_FORCE | MNT_UPDATE); in mount_common()
1766 (MNT_UPDATE | MNT_RELOAD | MNT_FORCE); in mount_common()
1992 (void)VFS_UNMOUNT(mp, MNT_FORCE, ctx); in mount_common()
2923 (flags & MNT_NOBLOCK) && ((flags & MNT_FORCE) == 0)) { in safedounmount()
2937 (!(((mp->mnt_kern_flag & MNTK_PERMIT_UNMOUNT) != 0) && ((flags & MNT_FORCE) == 0)))) { in safedounmount()
2998 if (!(flags & MNT_FORCE)) { in dounmount()
3017 if (flags & MNT_FORCE) { in dounmount()
H A Dvfs_subr.c1363 dounmount(mp, MNT_FORCE, 0, ctx); in vfs_mountroot()
1375 dounmount(mp, MNT_FORCE, 0, ctx); in vfs_mountroot()
4298 error = dounmount(mp, MNT_FORCE, 1, vfs_context_current()); in unmount_callback()