/kernel/linux/linux-5.10/drivers/mtd/ubi/ |
H A D | upd.c | 273 if (ubi->ro_mode) in ubi_more_update_data() 388 if (ubi->ro_mode) in ubi_more_leb_change_data()
|
H A D | io.c | 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() 601 if (ubi->ro_mode) { in ubi_io_mark_bad()
|
H A D | ubi.h | 536 * @ro_mode: if the UBI device is in read-only mode 640 int ro_mode; member 1158 if (!ubi->ro_mode) { in ubi_ro_mode() 1159 ubi->ro_mode = 1; in ubi_ro_mode()
|
H A D | build.c | 142 __ATTR(ro_mode, S_IRUGO, dev_attribute_show, NULL); 377 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()
|
H A D | kapi.c | 33 di->ro_mode = ubi->ro_mode; in ubi_do_get_device_info()
|
H A D | vmt.c | 145 if (ubi->ro_mode) in ubi_create_volume() 343 if (ubi->ro_mode) in ubi_remove_volume() 414 if (ubi->ro_mode) in ubi_resize_volume()
|
H A D | eba.c | 456 if (ubi->ro_mode) in ubi_eba_unmap_leb() 1024 if (ubi->ro_mode) in ubi_eba_write_leb() 1128 if (ubi->ro_mode) in ubi_eba_write_leb_st() 1206 if (ubi->ro_mode) in ubi_eba_atomic_leb_change()
|
H A D | gluebi.c | 298 if (!di->ro_mode) in gluebi_create()
|
H A D | fastmap-wl.c | 121 if (ubi->fm_wl_pool.size > 0 && !(ubi->ro_mode || ubi->fm_disabled)) in has_enough_free_count()
|
H A D | wl.c | 1258 * ubi_wl_put_peb) will set ubi ro_mode at the same time, 1657 if (list_empty(&ubi->works) || ubi->ro_mode || 1921 if (!ubi->ro_mode && !ubi->fm_disabled)
|
H A D | attach.c | 1152 ubi->ro_mode = 1; in scan_peb()
|
H A D | fastmap.c | 1538 if (ubi->ro_mode || ubi->fm_disabled) { in ubi_update_fastmap()
|
/kernel/linux/linux-6.6/drivers/mtd/ubi/ |
H A D | upd.c | 273 if (ubi->ro_mode) in ubi_more_update_data() 388 if (ubi->ro_mode) in ubi_more_leb_change_data()
|
H A D | io.c | 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()
|
H A D | ubi.h | 534 * @ro_mode: if the UBI device is in read-only mode 638 int ro_mode; member 1157 if (!ubi->ro_mode) { in ubi_ro_mode() 1158 ubi->ro_mode = 1; in ubi_ro_mode()
|
H A D | build.c | 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()
|
H A D | kapi.c | 33 di->ro_mode = ubi->ro_mode; in ubi_do_get_device_info()
|
H A D | vmt.c | 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()
|
H A D | eba.c | 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()
|
H A D | gluebi.c | 298 if (!di->ro_mode) in gluebi_create()
|
H A D | fastmap-wl.c | 121 if (ubi->fm_wl_pool.size > 0 && !(ubi->ro_mode || ubi->fm_disabled)) in has_enough_free_count()
|
H A D | wl.c | 1268 * ubi_wl_put_peb) will set ubi ro_mode at the same time, 1667 if (list_empty(&ubi->works) || ubi->ro_mode || 1931 if (!ubi->ro_mode && !ubi->fm_disabled)
|
H A D | attach.c | 1152 ubi->ro_mode = 1; in scan_peb()
|
/kernel/linux/linux-5.10/include/linux/mtd/ |
H A D | ubi.h | 153 * @ro_mode: if this device is in read-only mode 182 int ro_mode; member
|
/kernel/linux/linux-6.6/include/linux/mtd/ |
H A D | ubi.h | 154 * @ro_mode: if this device is in read-only mode 183 int ro_mode; member
|