Lines Matching refs:ro_mount
1153 c->ro_mount = !!(c->vfs_sb->s_flags & MS_RDONLY); in mount_ubifs()
1169 if (c->empty && (c->ro_mount || c->ro_media)) { in mount_ubifs()
1180 if (c->ro_media && !c->ro_mount) { in mount_ubifs()
1200 if (!c->ro_mount) { in mount_ubifs()
1209 if (!c->ro_mount) { in mount_ubifs()
1252 if (!c->ro_mount) { in mount_ubifs()
1276 if (c->need_recovery && !c->ro_mount) { in mount_ubifs()
1282 err = ubifs_lpt_init(c, 1, !c->ro_mount); in mount_ubifs()
1286 if (!c->ro_mount && c->space_fixup) { in mount_ubifs()
1292 if (!c->ro_mount && !c->need_recovery) { in mount_ubifs()
1314 err = ubifs_mount_orphans(c, c->need_recovery, c->ro_mount); in mount_ubifs()
1318 if (!c->ro_mount) { in mount_ubifs()
1380 if (c->ro_mount) in mount_ubifs()
1407 c->ro_mount ? ", R/O mode" : ""); in mount_ubifs()
1561 c->ro_mount = 0; in ubifs_remount_rw()
1691 c->ro_mount = 1; in ubifs_remount_rw()
1721 ubifs_assert(!c->ro_mount); in ubifs_remount_ro()
1748 c->ro_mount = 1; in ubifs_remount_ro()
1780 if (!c->ro_mount) { in ubifs_put_super()
1845 if (c->ro_mount && !(*flags & MS_RDONLY)) { in ubifs_remount_fs()
1857 } else if (!c->ro_mount && (*flags & MS_RDONLY)) { in ubifs_remount_fs()
2135 if (!!(flags & MS_RDONLY) != c1->ro_mount) { in ubifs_mount()