Home
last modified time | relevance | path

Searched refs:ro_mode (Results 1 – 12 of 12) sorted by relevance

/linux/include/linux/mtd/
H A Dubi.h154 * @ro_mode: if this device is in read-only mode
183 int ro_mode; member
/linux/drivers/mtd/ubi/
H A Dupd.c273 if (ubi->ro_mode) in ubi_more_update_data()
388 if (ubi->ro_mode) in ubi_more_leb_change_data()
H A Dubi.h532 * @ro_mode: if the UBI device is in read-only mode
638 int ro_mode; member
1134 if (!ubi->ro_mode) { in ubi_ro_mode()
1135 ubi->ro_mode = 1; in ubi_ro_mode()
H A Dbuild.c147 __ATTR(ro_mode, S_IRUGO, dev_attribute_show, NULL);
385 ret = sprintf(buf, "%d\n", ubi->ro_mode); in dev_attribute_show()
748 ubi->ro_mode = 1; in io_init()
756 ubi->ro_mode = 1; in io_init()
786 if (ubi->ro_mode) { in autoresize()
H A Dio.c248 if (ubi->ro_mode) { in ubi_io_write()
327 if (ubi->ro_mode) { in do_sync_erase()
545 if (ubi->ro_mode) { in ubi_io_sync_erase()
620 if (ubi->ro_mode) { in ubi_io_mark_bad()
H A Dvmt.c172 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()
H A Deba.c452 if (ubi->ro_mode) in ubi_eba_unmap_leb()
1020 if (ubi->ro_mode) in ubi_eba_write_leb()
1124 if (ubi->ro_mode) in ubi_eba_write_leb_st()
1202 if (ubi->ro_mode) in ubi_eba_atomic_leb_change()
H A Dgluebi.c298 if (!di->ro_mode) in gluebi_create()
H A Dwl.c1287 * ubi_wl_put_peb) will set ubi ro_mode at the same time,
1686 if (list_empty(&ubi->works) || ubi->ro_mode ||
1950 if (!ubi->ro_mode && !ubi->fm_disabled)
H A Dattach.c1152 ubi->ro_mode = 1; in scan_peb()
H A Dfastmap.c1497 if (ubi->ro_mode || ubi->fm_disabled) { in ubi_update_fastmap()
/linux/Documentation/ABI/stable/
H A Dsysfs-class-ubi110 What: /sys/class/ubi/ubiX/ro_mode