Searched refs:UBI_READONLY (Results 1 – 6 of 6) sorted by relevance
127 if (mode != UBI_READONLY && mode != UBI_READWRITE && in ubi_open_volume()160 case UBI_READONLY: in ubi_open_volume()336 case UBI_READONLY: in ubi_close_volume()526 if (desc->mode == UBI_READONLY || vol->vol_type == UBI_STATIC_VOLUME) in ubi_leb_write()571 if (desc->mode == UBI_READONLY || vol->vol_type == UBI_STATIC_VOLUME) in ubi_leb_change()608 if (desc->mode == UBI_READONLY || vol->vol_type == UBI_STATIC_VOLUME) in ubi_leb_erase()668 if (desc->mode == UBI_READONLY || vol->vol_type == UBI_STATIC_VOLUME) in ubi_leb_unmap()704 if (desc->mode == UBI_READONLY || vol->vol_type == UBI_STATIC_VOLUME) in ubi_leb_map()
253 dev->desc = ubi_open_volume(dev->ubi_num, dev->vol_id, UBI_READONLY); in ubiblock_open()576 return ubi_open_volume_path(name, UBI_READONLY); in open_volume_desc()579 return ubi_open_volume_nm(ubi_num, name, UBI_READONLY); in open_volume_desc()581 return ubi_open_volume(ubi_num, vol_id, UBI_READONLY); in open_volume_desc()
79 if (mode == UBI_READONLY) in revoke_exclusive()104 mode = UBI_READONLY; in vol_cdev_open()404 if (desc->mode == UBI_READONLY) { in vol_cdev_ioctl()440 if (desc->mode == UBI_READONLY || in vol_cdev_ioctl()473 if (desc->mode == UBI_READONLY || in vol_cdev_ioctl()
87 int ubi_mode = UBI_READONLY; in gluebi_get_device()
35 UBI_READONLY = 1, enumerator
2294 ubi = open_ubi(name, UBI_READONLY); in ubifs_mount()