Lines Matching refs:MNT_READONLY
277 return (mnt->mnt_flags & MNT_READONLY) || sb_rdonly(mnt->mnt_sb);
381 * s_readonly_remount set (or even SB_RDONLY / MNT_READONLY flags) in
536 * seeing MNT_READONLY).
569 * MNT_READONLY must become visible before ~MNT_WRITE_HOLD, so writers
570 * that become unheld will see MNT_READONLY.
582 mnt->mnt.mnt_flags |= MNT_READONLY;
598 if (!(mnt->mnt.mnt_flags & MNT_READONLY)) {
2161 if (flags & MNT_READONLY)
2754 !(mnt_flags & MNT_READONLY))
2778 bool readonly_request = (mnt_flags & MNT_READONLY);
2786 mnt->mnt.mnt_flags &= ~MNT_READONLY;
3647 mnt_flags |= MNT_READONLY;
3924 mnt_flags |= MNT_READONLY;
4340 return (!(kattr->attr_set & MNT_READONLY) ||
4341 (mnt->mnt.mnt_flags & MNT_READONLY)) &&
4729 if (mnt_flags & MNT_READONLY)
5305 !(new_flags & MNT_READONLY))