Lines Matching refs:MNT_READONLY
383 return (mnt->mnt_flags & MNT_READONLY) || sb_rdonly(mnt->mnt_sb); in __mnt_is_readonly()
688 mnt->mnt.mnt_flags |= MNT_READONLY; in mnt_make_readonly()
704 if (!(mnt->mnt.mnt_flags & MNT_READONLY)) { in sb_prepare_remount_readonly()
2308 if (flags & MNT_READONLY) in lock_mnt_tree()
2901 !(mnt_flags & MNT_READONLY)) in can_change_locked_flags()
2925 bool readonly_request = (mnt_flags & MNT_READONLY); in change_mount_ro_state()
2933 mnt->mnt.mnt_flags &= ~MNT_READONLY; in change_mount_ro_state()
3802 mnt_flags |= MNT_READONLY; in path_mount()
4083 mnt_flags |= MNT_READONLY; in attr_flags_to_mnt_flags()
4503 return (!(kattr->attr_set & MNT_READONLY) || in mnt_allow_writers()
4504 (mnt->mnt.mnt_flags & MNT_READONLY)) && in mnt_allow_writers()
4892 if (mnt_flags & MNT_READONLY) in mnt_to_attr_flags()
5659 !(new_flags & MNT_READONLY)) in mnt_already_visible()