Home
last modified time | relevance | path

Searched refs:UBI_READONLY (Results 1 – 10 of 10) sorted by relevance

/openbmc/u-boot/drivers/mtd/ubi/
H A Dkapi.c133 if (mode != UBI_READONLY && mode != UBI_READWRITE && in ubi_open_volume()
166 case UBI_READONLY: in ubi_open_volume()
341 case UBI_READONLY: in ubi_close_volume()
532 if (desc->mode == UBI_READONLY || vol->vol_type == UBI_STATIC_VOLUME) in ubi_leb_write()
577 if (desc->mode == UBI_READONLY || vol->vol_type == UBI_STATIC_VOLUME) in ubi_leb_change()
614 if (desc->mode == UBI_READONLY || vol->vol_type == UBI_STATIC_VOLUME) in ubi_leb_erase()
674 if (desc->mode == UBI_READONLY || vol->vol_type == UBI_STATIC_VOLUME) in ubi_leb_unmap()
710 if (desc->mode == UBI_READONLY || vol->vol_type == UBI_STATIC_VOLUME) in ubi_leb_map()
/openbmc/linux/drivers/mtd/ubi/
H A Dkapi.c127 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()
H A Dblock.c253 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()
H A Dcdev.c79 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()
H A Dgluebi.c87 int ubi_mode = UBI_READONLY; in gluebi_get_device()
/openbmc/u-boot/include/linux/mtd/
H A Dubi.h37 UBI_READONLY = 1, enumerator
/openbmc/linux/include/linux/mtd/
H A Dubi.h35 UBI_READONLY = 1, enumerator
/openbmc/u-boot/fs/ubifs/
H A Dubifs.c594 c->ubi = ubi_open_volume(c->vi.ubi_num, c->vi.vol_id, UBI_READONLY); in ubifs_ls()
637 c->ubi = ubi_open_volume(c->vi.ubi_num, c->vi.vol_id, UBI_READONLY); in ubifs_exists()
651 c->ubi = ubi_open_volume(c->vi.ubi_num, c->vi.vol_id, UBI_READONLY); in ubifs_size()
863 c->ubi = ubi_open_volume(c->vi.ubi_num, c->vi.vol_id, UBI_READONLY); in ubifs_read()
H A Dsuper.c2252 c->ubi = ubi_open_volume(c->vi.ubi_num, c->vi.vol_id, UBI_READONLY); in ubifs_fill_super()
2462 ubi = open_ubi(name, UBI_READONLY); in ubifs_mount()
/openbmc/linux/fs/ubifs/
H A Dsuper.c2294 ubi = open_ubi(name, UBI_READONLY); in ubifs_mount()