Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/mtd/ubi/
Dkapi.c126 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()
Dblock.c243 dev->desc = ubi_open_volume(dev->ubi_num, dev->vol_id, UBI_READONLY); in ubiblock_open()
610 return ubi_open_volume_path(name, UBI_READONLY); in open_volume_desc()
613 return ubi_open_volume_nm(ubi_num, name, UBI_READONLY); in open_volume_desc()
615 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()
/kernel/linux/linux-5.10/include/linux/mtd/
Dubi.h35 UBI_READONLY = 1, enumerator
/kernel/linux/linux-5.10/fs/ubifs/
Dsuper.c2280 ubi = open_ubi(name, UBI_READONLY); in ubifs_mount()