Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/mtd/ubi/
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()
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()
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()
Dgluebi.c87 int ubi_mode = UBI_READONLY; in gluebi_get_device()
/linux-6.6.21/include/linux/mtd/
Dubi.h35 UBI_READONLY = 1, enumerator
/linux-6.6.21/fs/ubifs/
Dsuper.c2294 ubi = open_ubi(name, UBI_READONLY); in ubifs_mount()