| /u-boot/drivers/mtd/ubi/ |
| A D | vmt.c | 89 if (vol->vol_type == UBI_DYNAMIC_VOLUME) in vol_attribute_show() 190 (int)req->vol_type, req->name); in ubi_create_volume() 231 vol->vol_type = req->vol_type; in ubi_create_volume() 253 if (vol->vol_type == UBI_DYNAMIC_VOLUME) { in ubi_create_volume() 299 if (vol->vol_type == UBI_DYNAMIC_VOLUME) in ubi_create_volume() 300 vtbl_rec.vol_type = UBI_VID_DYNAMIC; in ubi_create_volume() 302 vtbl_rec.vol_type = UBI_VID_STATIC; in ubi_create_volume() 448 if (vol->vol_type == UBI_STATIC_VOLUME && in ubi_resize_volume() 778 vol_type = UBI_DYNAMIC_VOLUME; in self_check_volume() 780 vol_type = UBI_STATIC_VOLUME; in self_check_volume() [all …]
|
| A D | vtbl.c | 170 int i, n, reserved_pebs, alignment, data_pad, vol_type, name_len; local 182 vol_type = vtbl[i].vol_type; 227 if (vol_type != UBI_VID_DYNAMIC && vol_type != UBI_VID_STATIC) { 319 vid_hdr->vol_type = UBI_LAYOUT_VOLUME_TYPE; 553 vol->vol_type = vtbl[i].vol_type == UBI_VID_DYNAMIC ? 586 if (vol->vol_type == UBI_DYNAMIC_VOLUME) { 633 vol->vol_type = UBI_DYNAMIC_VOLUME; 684 if (av->vol_type != vol->vol_type) {
|
| A D | ubi-media.h | 274 __u8 vol_type; member 362 __u8 vol_type; member 489 __u8 vol_type; member
|
| A D | kapi.c | 82 vi->vol_type = vol->vol_type; in ubi_do_get_volume_info() 387 if (vol->vol_type == UBI_STATIC_VOLUME) { in leb_read_sanity_check() 446 if (err && mtd_is_eccerr(err) && vol->vol_type == UBI_STATIC_VOLUME) { in ubi_leb_read() 486 if (err && mtd_is_eccerr(err) && vol->vol_type == UBI_STATIC_VOLUME) { in ubi_leb_read_sg() 533 if (desc->mode == UBI_READONLY || vol->vol_type == UBI_STATIC_VOLUME) in ubi_leb_write() 578 if (desc->mode == UBI_READONLY || vol->vol_type == UBI_STATIC_VOLUME) in ubi_leb_change() 615 if (desc->mode == UBI_READONLY || vol->vol_type == UBI_STATIC_VOLUME) in ubi_leb_erase() 675 if (desc->mode == UBI_READONLY || vol->vol_type == UBI_STATIC_VOLUME) in ubi_leb_unmap() 711 if (desc->mode == UBI_READONLY || vol->vol_type == UBI_STATIC_VOLUME) in ubi_leb_map()
|
| A D | attach.c | 195 int vol_type = vid_hdr->vol_type; in validate_vid_hdr() local 214 if (av->vol_type == UBI_STATIC_VOLUME) in validate_vid_hdr() 219 if (vol_type != av_vol_type) { in validate_vid_hdr() 291 av->vol_type = vid_hdr->vol_type == UBI_VID_DYNAMIC ? UBI_DYNAMIC_VOLUME in add_volume() 1530 av->leb_count < 0 || av->vol_type < 0 || av->used_ebs < 0 || in self_check_ai() 1548 if (av->vol_type != UBI_DYNAMIC_VOLUME && in self_check_ai() 1549 av->vol_type != UBI_STATIC_VOLUME) { in self_check_ai() 1589 if (av->vol_type == UBI_STATIC_VOLUME) { in self_check_ai() 1634 int vol_type; in self_check_ai() local 1649 vol_type = vidh->vol_type == UBI_VID_DYNAMIC ? in self_check_ai() [all …]
|
| A D | debug.c | 79 pr_err("\tvol_type %d\n", (int)vid_hdr->vol_type); in ubi_dump_vid_hdr() 106 printf("\tvol_type %d\n", vol->vol_type); in ubi_dump_vol_info() 139 pr_err("\tvol_type %d\n", (int)r->vol_type); in ubi_dump_vtbl_record() 170 pr_err("\tvol_type %d\n", av->vol_type); in ubi_dump_av() 205 pr_err("\tvol_type %d\n", req->vol_type); in ubi_dump_mkvol_req()
|
| A D | misc.c | 57 if (vol->vol_type != UBI_STATIC_VOLUME) in ubi_check_volume()
|
| A D | eba.c | 388 ubi_assert(vol->vol_type != UBI_STATIC_VOLUME); in ubi_eba_read_leb() 396 if (vol->vol_type == UBI_DYNAMIC_VOLUME) in ubi_eba_read_leb() 444 if (vol->vol_type == UBI_DYNAMIC_VOLUME) in ubi_eba_read_leb() 698 vid_hdr->vol_type = UBI_VID_DYNAMIC; in ubi_eba_write_leb() 823 vid_hdr->vol_type = UBI_VID_STATIC; in ubi_eba_write_leb_st() 944 vid_hdr->vol_type = UBI_VID_DYNAMIC; in ubi_eba_atomic_leb_change() 1068 if (vid_hdr->vol_type == UBI_VID_STATIC) { in ubi_eba_copy_leb() 1150 if (vid_hdr->vol_type == UBI_VID_DYNAMIC) in ubi_eba_copy_leb()
|
| A D | fastmap.c | 125 new->vol_type = UBI_VID_DYNAMIC; in new_fm_vhdr() 189 int used_ebs, int data_pad, u8 vol_type, in add_vol() argument 216 av->vol_type = vol_type; in add_vol() 218 if (av->vol_type == UBI_STATIC_VOLUME) in add_vol() 353 if (av->vol_type == UBI_STATIC_VOLUME) in update_vol() 760 fmvhdr->vol_type, in ubi_attach_fastmap() 1277 fvh->vol_type = vol->vol_type; in ubi_write_fastmap() 1282 ubi_assert(vol->vol_type == UBI_DYNAMIC_VOLUME || in ubi_write_fastmap() 1283 vol->vol_type == UBI_STATIC_VOLUME); in ubi_write_fastmap()
|
| A D | upd.c | 94 if (vol->vol_type == UBI_STATIC_VOLUME) { in clear_update_marker() 232 if (vol->vol_type == UBI_DYNAMIC_VOLUME) { in write_leb()
|
| A D | io.c | 863 int vol_type = vid_hdr->vol_type; in validate_vid_hdr() local 902 if (vol_type != UBI_VID_DYNAMIC && vol_type != UBI_VID_STATIC) { in validate_vid_hdr() 912 if (vol_type == UBI_VID_STATIC) { in validate_vid_hdr()
|
| A D | ubi.h | 326 int vol_type; member 689 int vol_type; member
|
| /u-boot/drivers/mtd/ubispl/ |
| A D | ubispl.c | 67 ubi_dbg("\tvol_type %d", (int)r->vol_type); in ubi_dump_vtbl_record() 101 int i, n, reserved_pebs, alignment, data_pad, vol_type, name_len; in vtbl_check() local 111 vol_type = vtbl[i].vol_type; in vtbl_check() 156 if (vol_type != UBI_VID_DYNAMIC && vol_type != UBI_VID_STATIC) { in vtbl_check() 295 vh->vol_type == UBI_VID_STATIC && in ubi_rescan_fm_vid_hdr() 299 fm_pnum, fm_vol_id, vh->vol_type, in ubi_rescan_fm_vid_hdr() 419 u32 vol_id, u32 vol_type, u32 used) in assign_aeb_to_av() argument 429 if (vol_id >= UBI_SPL_VOL_IDS || vol_type != UBI_STATIC_VOLUME) in assign_aeb_to_av() 588 u32 vol_id, vol_type, used, reserved; in ubi_attach_fastmap() local 603 vol_type = fmvhdr->vol_type; in ubi_attach_fastmap() [all …]
|
| /u-boot/cmd/ |
| A D | ubi.c | 177 if (req->bytes < 0 || req->alignment < 0 || req->vol_type < 0 || in verify_mkvol_req() 194 if (req->vol_type != UBI_DYNAMIC_VOLUME && in verify_mkvol_req() 195 req->vol_type != UBI_STATIC_VOLUME) in verify_mkvol_req() 223 req.vol_type = UBI_DYNAMIC_VOLUME; in ubi_create_vol() 225 req.vol_type = UBI_STATIC_VOLUME; in ubi_create_vol()
|
| /u-boot/include/mtd/ |
| A D | ubi-user.h | 323 __s8 vol_type; member
|
| /u-boot/include/linux/mtd/ |
| A D | ubi.h | 107 int vol_type; member
|
| /u-boot/test/ |
| A D | nokia_rx51_test.sh | 171 vol_type=dynamic 186 vol_type=dynamic
|
| /u-boot/doc/ |
| A D | README.ubi | 96 UBI: vol_type 3 111 UBI: vol_type 3
|
| /u-boot/fs/ubifs/ |
| A D | super.c | 694 if (c->vi.vol_type == UBI_STATIC_VOLUME) { in init_constants_early()
|