Lines Matching refs:MNT_READONLY
272 return (mnt->mnt_flags & MNT_READONLY) || sb_rdonly(mnt->mnt_sb); in __mnt_is_readonly()
575 mnt->mnt.mnt_flags |= MNT_READONLY; in mnt_make_readonly()
591 if (!(mnt->mnt.mnt_flags & MNT_READONLY)) { in sb_prepare_remount_readonly()
2159 if (flags & MNT_READONLY) in lock_mnt_tree()
2749 !(mnt_flags & MNT_READONLY)) in can_change_locked_flags()
2773 bool readonly_request = (mnt_flags & MNT_READONLY); in change_mount_ro_state()
2781 mnt->mnt.mnt_flags &= ~MNT_READONLY; in change_mount_ro_state()
3641 mnt_flags |= MNT_READONLY; in path_mount()
3921 mnt_flags |= MNT_READONLY; in attr_flags_to_mnt_flags()
4338 return (!(kattr->attr_set & MNT_READONLY) || in mnt_allow_writers()
4339 (mnt->mnt.mnt_flags & MNT_READONLY)) && in mnt_allow_writers()
4870 !(new_flags & MNT_READONLY)) in mnt_already_visible()