Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/mtd/ubi/
Dupd.c273 if (ubi->ro_mode) in ubi_more_update_data()
388 if (ubi->ro_mode) in ubi_more_leb_change_data()
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()
Dubi.h642 int ro_mode; member
1160 if (!ubi->ro_mode) { in ubi_ro_mode()
1161 ubi->ro_mode = 1; in ubi_ro_mode()
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()
Dvmt.c145 if (ubi->ro_mode) in ubi_create_volume()
344 if (ubi->ro_mode) in ubi_remove_volume()
415 if (ubi->ro_mode) in ubi_resize_volume()
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()
Dkapi.c33 di->ro_mode = ubi->ro_mode; in ubi_do_get_device_info()
Dgluebi.c298 if (!di->ro_mode) in gluebi_create()
Dwl.c1638 if (list_empty(&ubi->works) || ubi->ro_mode ||
1902 if (!ubi->ro_mode && !ubi->fm_disabled)
Dattach.c1152 ubi->ro_mode = 1; in scan_peb()
Dfastmap.c1549 if (ubi->ro_mode || ubi->fm_disabled) { in ubi_update_fastmap()
/kernel/linux/linux-5.10/include/linux/mtd/
Dubi.h182 int ro_mode; member
/kernel/linux/linux-5.10/Documentation/ABI/stable/
Dsysfs-class-ubi110 What: /sys/class/ubi/ubiX/ro_mode
/kernel/linux/linux-5.10/fs/ubifs/
Dsuper.c520 if (c->di.ro_mode) { in init_constants_early()