Searched refs:UBI_READONLY (Results 1 – 6 of 6) sorted by relevance
126 if (mode != UBI_READONLY && mode != UBI_READWRITE && in ubi_open_volume()159 case UBI_READONLY: in ubi_open_volume()335 case UBI_READONLY: in ubi_close_volume()525 if (desc->mode == UBI_READONLY || vol->vol_type == UBI_STATIC_VOLUME) in ubi_leb_write()570 if (desc->mode == UBI_READONLY || vol->vol_type == UBI_STATIC_VOLUME) in ubi_leb_change()607 if (desc->mode == UBI_READONLY || vol->vol_type == UBI_STATIC_VOLUME) in ubi_leb_erase()667 if (desc->mode == UBI_READONLY || vol->vol_type == UBI_STATIC_VOLUME) in ubi_leb_unmap()703 if (desc->mode == UBI_READONLY || vol->vol_type == UBI_STATIC_VOLUME) in ubi_leb_map()
243 dev->desc = ubi_open_volume(dev->ubi_num, dev->vol_id, UBI_READONLY); in ubiblock_open()611 return ubi_open_volume_path(name, UBI_READONLY); in open_volume_desc()614 return ubi_open_volume_nm(ubi_num, name, UBI_READONLY); in open_volume_desc()616 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
2285 ubi = open_ubi(name, UBI_READONLY); in ubifs_mount()