Searched refs:ro_mode (Results 1 – 13 of 13) sorted by relevance
273 if (ubi->ro_mode) in ubi_more_update_data()388 if (ubi->ro_mode) in ubi_more_leb_change_data()
656 int ro_mode; member1165 if (!ubi->ro_mode) { in ubi_ro_mode()1166 ubi->ro_mode = 1; in ubi_ro_mode()
149 __ATTR(ro_mode, S_IRUGO, dev_attribute_show, NULL);387 ret = sprintf(buf, "%d\n", ubi->ro_mode); in dev_attribute_show()750 ubi->ro_mode = 1; in io_init()758 ubi->ro_mode = 1; in io_init()788 if (ubi->ro_mode) { in autoresize()
248 if (ubi->ro_mode) { in ubi_io_write()327 if (ubi->ro_mode) { in do_sync_erase()547 if (ubi->ro_mode) { in ubi_io_sync_erase()623 if (ubi->ro_mode) { in ubi_io_mark_bad()
154 if (!ubi->ro_mode && !ubi->fm_disabled) in left_free_count()192 if (!ubi->ro_mode && !ubi->fm_disabled) in ubi_refill_pools_and_lock()
172 if (ubi->ro_mode) in ubi_create_volume()371 if (ubi->ro_mode) in ubi_remove_volume()455 if (ubi->ro_mode) in ubi_resize_volume()
451 if (ubi->ro_mode) in ubi_eba_unmap_leb()1019 if (ubi->ro_mode) in ubi_eba_write_leb()1123 if (ubi->ro_mode) in ubi_eba_write_leb_st()1201 if (ubi->ro_mode) in ubi_eba_atomic_leb_change()
33 di->ro_mode = ubi->ro_mode; in ubi_do_get_device_info()
298 if (!di->ro_mode) in gluebi_create()
1668 if (list_empty(&ubi->works) || ubi->ro_mode ||1932 if (!ubi->ro_mode && !ubi->fm_disabled)
1152 ubi->ro_mode = 1; in scan_peb()
1497 if (ubi->ro_mode || ubi->fm_disabled) { in ubi_update_fastmap()
110 What: /sys/class/ubi/ubiX/ro_mode