Searched refs:ro_mode (Results 1 – 14 of 14) sorted by relevance
286 if (ubi->ro_mode) in ubi_more_update_data()401 if (ubi->ro_mode) in ubi_more_leb_change_data()
155 __ATTR(ro_mode, S_IRUGO, dev_attribute_show, NULL);393 ret = sprintf(buf, "%d\n", ubi->ro_mode); in dev_attribute_show()722 ubi->ro_mode = 1; in io_init()730 ubi->ro_mode = 1; in io_init()760 if (ubi->ro_mode) { in autoresize()
649 int ro_mode; member1167 if (!ubi->ro_mode) { in ubi_ro_mode()1168 ubi->ro_mode = 1; in ubi_ro_mode()
249 if (ubi->ro_mode) { in ubi_io_write()328 if (ubi->ro_mode) { in do_sync_erase()546 if (ubi->ro_mode) { in ubi_io_sync_erase()614 if (ubi->ro_mode) { in ubi_io_mark_bad()
164 if (ubi->ro_mode) in ubi_create_volume()363 if (ubi->ro_mode) in ubi_remove_volume()433 if (ubi->ro_mode) in ubi_resize_volume()
469 if (ubi->ro_mode) in ubi_eba_unmap_leb()1028 if (ubi->ro_mode) in ubi_eba_write_leb()1132 if (ubi->ro_mode) in ubi_eba_write_leb_st()1210 if (ubi->ro_mode) in ubi_eba_atomic_leb_change()
46 di->ro_mode = ubi->ro_mode; in ubi_do_get_device_info()
311 if (!di->ro_mode) in gluebi_create()
1164 ubi->ro_mode = 1; in scan_peb()
1477 if (list_empty(&ubi->works) || ubi->ro_mode ||
1545 if (ubi->ro_mode || ubi->fm_disabled) { in ubi_update_fastmap()
195 int ro_mode; member
110 What: /sys/class/ubi/ubiX/ro_mode
507 if (c->di.ro_mode) { in init_constants_early()