Home
last modified time | relevance | path

Searched refs:MNT_RDONLY (Results 1 – 10 of 10) sorted by relevance

/f-stack/freebsd/kern/
H A Dvfs_mount.c605 if ((fsflags & MNT_RDONLY) != 0) in vfs_should_downgrade_to_ro_mount()
730 fsflags &= ~MNT_RDONLY; in vfs_donmount()
734 fsflags &= ~MNT_RDONLY; in vfs_donmount()
738 fsflags |= MNT_RDONLY; in vfs_donmount()
744 fsflags |= MNT_RDONLY; in vfs_donmount()
798 fsflags |= MNT_RDONLY; in vfs_donmount()
880 ma = mount_argb(ma, flags & MNT_RDONLY, "noro"); in sys_mount()
1054 if ((mp->mnt_flag & MNT_RDONLY) == 0) in vfs_domount_first()
1140 MNT_SNAPSHOT | MNT_ROOTFS | MNT_UPDATEMASK | MNT_RDONLY); in vfs_domount_update()
1263 if ((mp->mnt_flag & MNT_RDONLY) == 0) in vfs_domount_update()
[all …]
H A Dvfs_cache.c2859 if ((flags & ISLASTCN) && (dvp->v_mount->mnt_flag & MNT_RDONLY) && in vfs_cache_lookup()
4247 if (__predict_false(mp->mnt_flag & MNT_RDONLY)) { in cache_fplookup_final_modifying()
H A Dvfs_syscalls.c147 if ((mp->mnt_flag & MNT_RDONLY) == 0 && in kern_sync()
H A Dvfs_subr.c4286 MNT_FLAG(MNT_RDONLY); in DB_SHOW_COMMAND()
/f-stack/freebsd/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dvfs.h54 #define VFS_RDONLY MNT_RDONLY
H A Dvnode.h80 return (vp->v_mount->mnt_flag & MNT_RDONLY); in vn_is_readonly()
/f-stack/freebsd/contrib/openzfs/lib/libspl/os/freebsd/
H A Dmnttab.c104 if (flags & MNT_RDONLY) in statfs2mnttab()
/f-stack/freebsd/contrib/openzfs/module/os/freebsd/spl/
H A Dspl_vfs.c186 mp->mnt_flag |= MNT_RDONLY; in mount_snapshot()
/f-stack/freebsd/sys/
H A Dmount.h318 { MNT_RDONLY, "read-only" }, \
346 #define MNT_RDONLY 0x0000000000000001ULL /* read only filesystem */ macro
396 #define MNT_VISFLAGMASK (MNT_RDONLY | MNT_SYNCHRONOUS | MNT_NOEXEC | \
/f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/
H A Dzfs_vfsops.c1172 error = zfsvfs_create(osname, vfsp->mnt_flag & MNT_RDONLY, &zfsvfs); in zfs_domount()