Lines Matching refs:ro_mount
1252 c->ro_mount = !!sb_rdonly(c->vfs_sb); in mount_ubifs()
1268 if (c->empty && (c->ro_mount || c->ro_media)) { in mount_ubifs()
1279 if (c->ro_media && !c->ro_mount) { in mount_ubifs()
1300 if (!c->ro_mount) { in mount_ubifs()
1309 if (!c->ro_mount) { in mount_ubifs()
1365 if (!c->ro_mount) { in mount_ubifs()
1389 if (c->need_recovery && !c->ro_mount) { in mount_ubifs()
1395 err = ubifs_lpt_init(c, 1, !c->ro_mount); in mount_ubifs()
1399 if (!c->ro_mount && c->space_fixup) { in mount_ubifs()
1405 if (!c->ro_mount && !c->need_recovery) { in mount_ubifs()
1429 if (!c->ro_mount && c->superblock_need_write) { in mount_ubifs()
1447 err = ubifs_mount_orphans(c, c->need_recovery, c->ro_mount); in mount_ubifs()
1451 if (!c->ro_mount) { in mount_ubifs()
1522 if (c->ro_mount) in mount_ubifs()
1547 c->ro_mount ? ", R/O mode" : ""); in mount_ubifs()
1709 c->ro_mount = 0; in ubifs_remount_rw()
1846 c->ro_mount = 1; in ubifs_remount_rw()
1876 ubifs_assert(c, !c->ro_mount); in ubifs_remount_ro()
1906 c->ro_mount = 1; in ubifs_remount_ro()
1938 if (!c->ro_mount) { in ubifs_put_super()
2005 if (c->ro_mount && !(*flags & SB_RDONLY)) { in ubifs_remount_fs()
2017 } else if (!c->ro_mount && (*flags & SB_RDONLY)) { in ubifs_remount_fs()
2306 if (!!(flags & SB_RDONLY) != c1->ro_mount) { in ubifs_mount()