/freebsd/sys/geom/journal/ |
H A D | g_journal.c | 2850 if (mp->mnt_flag & MNT_RDONLY) in g_journal_do_switch()
|
/freebsd/sys/fs/msdosfs/ |
H A D | msdosfs_vfsops.c | 297 mp->mnt_flag |= MNT_RDONLY; in msdosfs_mount() 340 mp->mnt_flag &= ~MNT_RDONLY; in msdosfs_mount() 373 if ((mp->mnt_flag & MNT_RDONLY) == 0) in msdosfs_mount() 521 ronly = (mp->mnt_flag & MNT_RDONLY) != 0; in mountmsdosfs() 991 } else if ((pmp->pm_mountp->mnt_flag & MNT_RDONLY) == 0) { in msdosfs_remount_ro()
|
/freebsd/sys/fs/cd9660/ |
H A D | cd9660_vfsops.c | 146 mp->mnt_flag |= MNT_RDONLY; in cd9660_mount()
|
/freebsd/sbin/mount_cd9660/ |
H A D | mount_cd9660.c | 179 mntflags |= MNT_RDONLY; in main()
|
/freebsd/sys/ufs/ffs/ |
H A D | ffs_vnops.c | 823 (vp->v_mount->mnt_flag & (MNT_NOATIME | MNT_RDONLY)) == 0) in ffs_read() 1580 if (ap->a_commit && (vp->v_mount->mnt_flag & MNT_RDONLY) != 0) in ffs_closeextattr() 1620 if (vp->v_mount->mnt_flag & MNT_RDONLY) in ffs_deleteextattr() 1818 if (vp->v_mount->mnt_flag & MNT_RDONLY) in ffs_setextattr()
|
H A D | ffs_alloc.c | 3300 if (mp->mnt_flag & MNT_RDONLY) { in sysctl_ffs_fsck()
|
H A D | ffs_vfsops.c | 456 if ((mp->mnt_flag & MNT_RDONLY) == 0) in ffs_mount() 572 mp->mnt_flag |= MNT_RDONLY; in ffs_mount() 634 saved_mnt_flag = MNT_RDONLY; in ffs_mount() 767 if ((mp->mnt_flag & MNT_RDONLY) == 0 && (flags & FFSR_FORCE) == 0) { in ffs_reload() 924 ronly = (mp->mnt_flag & MNT_RDONLY) != 0; in ffs_mountfs() 1017 if ((mp->mnt_flag & MNT_RDONLY) == 0) in ffs_mountfs() 2002 if ((vp->v_mount->mnt_flag & MNT_RDONLY) == 0) { in ffs_vgetf() 2161 (ump->um_mountp->mnt_flag & (MNT_RDONLY | MNT_UPDATE)) != in ffs_sbupdate() 2162 (MNT_RDONLY | MNT_UPDATE)) in ffs_sbupdate()
|
/freebsd/sys/ufs/ufs/ |
H A D | ufs_vnops.c | 391 if (vp->v_mount->mnt_flag & MNT_RDONLY) in ufs_accessx() 665 if (vp->v_mount->mnt_flag & MNT_RDONLY) in ufs_setattr() 716 if (vp->v_mount->mnt_flag & MNT_RDONLY) in ufs_setattr() 738 if (vp->v_mount->mnt_flag & MNT_RDONLY) in ufs_setattr() 765 if (vp->v_mount->mnt_flag & MNT_RDONLY) in ufs_setattr() 793 if (vp->v_mount->mnt_flag & MNT_RDONLY) in ufs_setattr() 843 if ((mp->mnt_flag & (MNT_NOATIME | MNT_RDONLY)) == 0) in ufs_mmapped()
|
H A D | ufs_quota.c | 505 if ((mp->mnt_flag & MNT_RDONLY) != 0) in quotaon()
|
/freebsd/sys/contrib/openzfs/include/os/freebsd/spl/sys/ |
H A D | vnode.h | 83 return (vp->v_mount->mnt_flag & MNT_RDONLY); in vn_is_readonly()
|
H A D | vfs.h | 54 #define VFS_RDONLY MNT_RDONLY
|
/freebsd/sys/fs/nullfs/ |
H A D | null_vnops.c | 394 if ((flags & ISLASTCN) != 0 && (mp->mnt_flag & MNT_RDONLY) != 0 && in null_lookup() 455 (mp->mnt_flag & MNT_RDONLY) != 0 && in null_lookup() 506 (vp->v_mount->mnt_flag & MNT_RDONLY)) in null_setattr() 526 if (vp->v_mount->mnt_flag & MNT_RDONLY) in null_setattr() 580 if (vp->v_mount->mnt_flag & MNT_RDONLY) in null_access() 606 if (vp->v_mount->mnt_flag & MNT_RDONLY) in null_accessx()
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/spl/ |
H A D | spl_vfs.c | 182 mp->mnt_flag |= MNT_RDONLY; in mount_snapshot()
|
/freebsd/sys/nlm/ |
H A D | nlm_prot_impl.c | 1774 (vs->vs_mp->mnt_flag & MNT_RDONLY)) { in nlm_get_vfs_state()
|
/freebsd/sys/fs/tmpfs/ |
H A D | tmpfs_vnops.c | 423 (vp->v_mount->mnt_flag & MNT_RDONLY) != 0) in tmpfs_access()
|
H A D | tmpfs_vfsops.c | 300 mp->mnt_flag |= MNT_RDONLY; in tmpfs_rw_to_ro() 309 mp->mnt_flag &= ~MNT_RDONLY; in tmpfs_rw_to_ro() 372 mp->mnt_flag &= ~MNT_RDONLY; in tmpfs_mount() 460 tmp->tm_ronly = (mp->mnt_flag & MNT_RDONLY) != 0; in tmpfs_mount()
|
/freebsd/sys/fs/ext2fs/ |
H A D | ext2_vfsops.c | 174 vfs_flagopt(opts, "ro", &mp->mnt_flag, MNT_RDONLY); in ext2_mount() 225 mp->mnt_flag &= ~MNT_RDONLY; in ext2_mount() 258 if ((mp->mnt_flag & MNT_RDONLY) == 0) in ext2_mount() 745 if ((mp->mnt_flag & MNT_RDONLY) == 0) in ext2_reload()
|
H A D | ext2_vnops.c | 229 if ((vp->v_mount->mnt_flag & MNT_RDONLY) == 0) { in ext2_itimes_locked() 329 if (vp->v_mount->mnt_flag & MNT_RDONLY) in ext2_access() 411 if (vp->v_mount->mnt_flag & MNT_RDONLY) in ext2_setattr() 448 if (vp->v_mount->mnt_flag & MNT_RDONLY) in ext2_setattr() 465 if (vp->v_mount->mnt_flag & MNT_RDONLY) in ext2_setattr() 475 if (vp->v_mount->mnt_flag & MNT_RDONLY) in ext2_setattr() 510 if (vp->v_mount->mnt_flag & MNT_RDONLY) in ext2_setattr() 2127 (vp->v_mount->mnt_flag & (MNT_NOATIME | MNT_RDONLY)) == 0) in ext2_read()
|
/freebsd/sbin/mdmfs/ |
H A D | mdmfs.c | 565 if ((sfs.f_flags & MNT_RDONLY) != 0) { in do_mtptsetup()
|
/freebsd/sbin/mount/ |
H A D | mntopts.h | 45 #define MOPT_RDONLY { "rdonly", 0, MNT_RDONLY, 0 } 63 #define MOPT_RO { "ro", 0, MNT_RDONLY, 0 } 64 #define MOPT_RW { "rw", 1, MNT_RDONLY, 0 }
|
H A D | getmntopts.c | 213 if (mntp == NULL || (mntp->f_flags & MNT_RDONLY) == 0)
|
H A D | mount.c | 569 if (flags & MNT_RDONLY) in mountfs() 899 if ((ent->f_flags & MNT_RDONLY) != 0) in putfsent() 955 if (flags & MNT_RDONLY) res = catopt(res, "ro"); in flags2opts()
|
/freebsd/sbin/dump/ |
H A D | main.c | 352 if (mntflags & MNT_RDONLY) { in main()
|
/freebsd/sbin/fsck_ffs/ |
H A D | main.c | 551 if (bkgrdflag == 0 && mntp != NULL && (mntp->f_flags & MNT_RDONLY) == 0) in checkfilesys() 599 if ((mntp->f_flags & MNT_RDONLY) != 0) { in setup_bkgrdchk()
|
/freebsd/sys/contrib/openzfs/lib/libspl/os/freebsd/ |
H A D | mnttab.c | 114 if (flags & MNT_RDONLY) in statfs2mnttab()
|