Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/u-boot/drivers/mtd/ubi/
H A Dupd.c285 if (ubi->ro_mode) in ubi_more_update_data()
400 if (ubi->ro_mode) in ubi_more_leb_change_data()
H A Dubi.h610 int ro_mode; member
1088 if (!ubi->ro_mode) { in ubi_ro_mode()
1089 ubi->ro_mode = 1; in ubi_ro_mode()
H A Dio.c242 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()
H A Dvmt.c159 if (ubi->ro_mode) in ubi_create_volume()
365 if (ubi->ro_mode) in ubi_remove_volume()
434 if (ubi->ro_mode) in ubi_resize_volume()
H A Deba.c322 if (ubi->ro_mode) in ubi_eba_unmap_leb()
661 if (ubi->ro_mode) in ubi_eba_write_leb()
795 if (ubi->ro_mode) in ubi_eba_write_leb_st()
912 if (ubi->ro_mode) in ubi_eba_atomic_leb_change()
H A Dkapi.c39 di->ro_mode = ubi->ro_mode; in ubi_do_get_device_info()
H A Dbuild.c785 ubi->ro_mode = 1; in io_init()
793 ubi->ro_mode = 1; in io_init()
823 if (ubi->ro_mode) { in autoresize()
H A Dwl.c532 if (list_empty(&ubi->works) || ubi->ro_mode || in ubi_do_worker()
1462 if (list_empty(&ubi->works) || ubi->ro_mode ||
H A Dattach.c1014 ubi->ro_mode = 1; in scan_peb()
H A Dfastmap.c1504 if (ubi->ro_mode || ubi->fm_disabled) { in ubi_update_fastmap()
/OK3568_Linux_fs/kernel/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 Dbuild.c142 __ATTR(ro_mode, S_IRUGO, dev_attribute_show, NULL);
377 ret = sprintf(buf, "%d\n", ubi->ro_mode); in dev_attribute_show()
726 ubi->ro_mode = 1; in io_init()
734 ubi->ro_mode = 1; in io_init()
764 if (ubi->ro_mode) { in autoresize()
H A Dubi.h640 int ro_mode; member
1158 if (!ubi->ro_mode) { in ubi_ro_mode()
1159 ubi->ro_mode = 1; in ubi_ro_mode()
H A Dio.c236 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()
601 if (ubi->ro_mode) { in ubi_io_mark_bad()
H A Dvmt.c145 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()
H A Deba.c456 if (ubi->ro_mode) in ubi_eba_unmap_leb()
1015 if (ubi->ro_mode) in ubi_eba_write_leb()
1119 if (ubi->ro_mode) in ubi_eba_write_leb_st()
1197 if (ubi->ro_mode) in ubi_eba_atomic_leb_change()
H A Dkapi.c33 di->ro_mode = ubi->ro_mode; in ubi_do_get_device_info()
H A Dfastmap-wl.c121 if (ubi->fm_wl_pool.size > 0 && !(ubi->ro_mode || ubi->fm_disabled)) in has_enough_free_count()
H A Dgluebi.c298 if (!di->ro_mode) in gluebi_create()
H A Dwl.c1639 if (list_empty(&ubi->works) || ubi->ro_mode ||
1903 if (!ubi->ro_mode && !ubi->fm_disabled)
H A Dattach.c1152 ubi->ro_mode = 1; in scan_peb()
/OK3568_Linux_fs/u-boot/include/linux/mtd/
H A Dubi.h187 int ro_mode; member
/OK3568_Linux_fs/kernel/include/linux/mtd/
H A Dubi.h182 int ro_mode; member
/OK3568_Linux_fs/u-boot/cmd/
H A Dubi.c221 if (ubi->ro_mode) { in ubi_remove_vol()
/OK3568_Linux_fs/kernel/Documentation/ABI/stable/
H A Dsysfs-class-ubi110 What: /sys/class/ubi/ubiX/ro_mode

12