Searched refs:ro_mode (Results 1 – 25 of 28) sorted by relevance
12
284 if (ubi->ro_mode) in ubi_more_update_data()399 if (ubi->ro_mode) in ubi_more_leb_change_data()
609 int ro_mode; member1087 if (!ubi->ro_mode) { in ubi_ro_mode()1088 ubi->ro_mode = 1; in ubi_ro_mode()
242 if (ubi->ro_mode) { in ubi_io_write()334 if (ubi->ro_mode) { in do_sync_erase()571 if (ubi->ro_mode) { in ubi_io_sync_erase()639 if (ubi->ro_mode) { in ubi_io_mark_bad()
158 if (ubi->ro_mode) in ubi_create_volume()364 if (ubi->ro_mode) in ubi_remove_volume()433 if (ubi->ro_mode) in ubi_resize_volume()
321 if (ubi->ro_mode) in ubi_eba_unmap_leb()660 if (ubi->ro_mode) in ubi_eba_write_leb()794 if (ubi->ro_mode) in ubi_eba_write_leb_st()911 if (ubi->ro_mode) in ubi_eba_atomic_leb_change()
38 di->ro_mode = ubi->ro_mode; in ubi_do_get_device_info()
784 ubi->ro_mode = 1; in io_init()792 ubi->ro_mode = 1; in io_init()822 if (ubi->ro_mode) { in autoresize()
531 if (list_empty(&ubi->works) || ubi->ro_mode || in ubi_do_worker()1461 if (list_empty(&ubi->works) || ubi->ro_mode ||
1013 ubi->ro_mode = 1; in scan_peb()
1503 if (ubi->ro_mode || ubi->fm_disabled) { in ubi_update_fastmap()
273 if (ubi->ro_mode) in ubi_more_update_data()388 if (ubi->ro_mode) in ubi_more_leb_change_data()
144 __ATTR(ro_mode, S_IRUGO, dev_attribute_show, NULL);379 ret = sprintf(buf, "%d\n", ubi->ro_mode); in dev_attribute_show()742 ubi->ro_mode = 1; in io_init()750 ubi->ro_mode = 1; in io_init()780 if (ubi->ro_mode) { in autoresize()
638 int ro_mode; member1157 if (!ubi->ro_mode) { in ubi_ro_mode()1158 ubi->ro_mode = 1; in ubi_ro_mode()
236 if (ubi->ro_mode) { in ubi_io_write()315 if (ubi->ro_mode) { in do_sync_erase()533 if (ubi->ro_mode) { in ubi_io_sync_erase()608 if (ubi->ro_mode) { in ubi_io_mark_bad()
145 if (ubi->ro_mode) in ubi_create_volume()343 if (ubi->ro_mode) in ubi_remove_volume()413 if (ubi->ro_mode) in ubi_resize_volume()
455 if (ubi->ro_mode) in ubi_eba_unmap_leb()1023 if (ubi->ro_mode) in ubi_eba_write_leb()1127 if (ubi->ro_mode) in ubi_eba_write_leb_st()1205 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()
121 if (ubi->fm_wl_pool.size > 0 && !(ubi->ro_mode || ubi->fm_disabled)) in has_enough_free_count()
1674 if (list_empty(&ubi->works) || ubi->ro_mode ||1938 if (!ubi->ro_mode && !ubi->fm_disabled)
1152 ubi->ro_mode = 1; in scan_peb()
183 int ro_mode; member
186 int ro_mode; member
204 if (ubi->ro_mode) { in ubi_remove_vol()
110 What: /sys/class/ubi/ubiX/ro_mode