Lines Matching refs:ro_mount
1149 c->ro_mount = !!(c->vfs_sb->s_flags & MS_RDONLY); in mount_ubifs()
1165 if (c->empty && (c->ro_mount || c->ro_media)) { in mount_ubifs()
1176 if (c->ro_media && !c->ro_mount) { in mount_ubifs()
1196 if (!c->ro_mount) { in mount_ubifs()
1205 if (!c->ro_mount) { in mount_ubifs()
1248 if (!c->ro_mount) { in mount_ubifs()
1272 if (c->need_recovery && !c->ro_mount) { in mount_ubifs()
1278 err = ubifs_lpt_init(c, 1, !c->ro_mount); in mount_ubifs()
1282 if (!c->ro_mount && c->space_fixup) { in mount_ubifs()
1288 if (!c->ro_mount && !c->need_recovery) { in mount_ubifs()
1310 err = ubifs_mount_orphans(c, c->need_recovery, c->ro_mount); in mount_ubifs()
1314 if (!c->ro_mount) { in mount_ubifs()
1376 if (c->ro_mount) in mount_ubifs()
1403 c->ro_mount ? ", R/O mode" : ""); in mount_ubifs()
1557 c->ro_mount = 0; in ubifs_remount_rw()
1687 c->ro_mount = 1; in ubifs_remount_rw()
1717 ubifs_assert(!c->ro_mount); in ubifs_remount_ro()
1744 c->ro_mount = 1; in ubifs_remount_ro()
1776 if (!c->ro_mount) { in ubifs_put_super()
1841 if (c->ro_mount && !(*flags & MS_RDONLY)) { in ubifs_remount_fs()
1853 } else if (!c->ro_mount && (*flags & MS_RDONLY)) { in ubifs_remount_fs()
2132 if (!!(flags & MS_RDONLY) != c1->ro_mount) { in ubifs_mount()