Lines Matching refs:MNT_READONLY
376 return (mnt->mnt_flags & MNT_READONLY) || sb_rdonly(mnt->mnt_sb); in __mnt_is_readonly()
704 mnt->mnt.mnt_flags |= MNT_READONLY; in mnt_make_readonly()
720 if (!(m->mnt.mnt_flags & MNT_READONLY)) { in sb_prepare_remount_readonly()
2420 if (flags & MNT_READONLY) in lock_mnt_tree()
3132 !(mnt_flags & MNT_READONLY)) in can_change_locked_flags()
3156 bool readonly_request = (mnt_flags & MNT_READONLY); in change_mount_ro_state()
3164 mnt->mnt.mnt_flags &= ~MNT_READONLY; in change_mount_ro_state()
4005 mnt_flags |= MNT_READONLY; in path_mount()
4264 mnt_flags |= MNT_READONLY; in attr_flags_to_mnt_flags()
4699 return (!(kattr->attr_set & MNT_READONLY) || in mnt_allow_writers()
4700 (mnt->mnt.mnt_flags & MNT_READONLY)) && in mnt_allow_writers()
5111 if (mnt_flags & MNT_READONLY) in mnt_to_attr_flags()
6161 !(new_flags & MNT_READONLY)) in mnt_already_visible()