/external/u-boot/drivers/mtd/ubi/ |
D | vmt.c | 87 if (vol->vol_type == UBI_DYNAMIC_VOLUME) in vol_attribute_show() 188 (int)req->vol_type, req->name); in ubi_create_volume() 229 vol->vol_type = req->vol_type; in ubi_create_volume() 251 if (vol->vol_type == UBI_DYNAMIC_VOLUME) { in ubi_create_volume() 297 if (vol->vol_type == UBI_DYNAMIC_VOLUME) in ubi_create_volume() 298 vtbl_rec.vol_type = UBI_VID_DYNAMIC; in ubi_create_volume() 300 vtbl_rec.vol_type = UBI_VID_STATIC; in ubi_create_volume() 446 if (vol->vol_type == UBI_STATIC_VOLUME && in ubi_resize_volume() 520 if (vol->vol_type == UBI_DYNAMIC_VOLUME) { in ubi_resize_volume() 656 int reserved_pebs, alignment, data_pad, vol_type, name_len, upd_marker; in self_check_volume() local [all …]
|
D | vtbl.c | 167 int i, n, reserved_pebs, alignment, data_pad, vol_type, name_len; local 179 vol_type = vtbl[i].vol_type; 224 if (vol_type != UBI_VID_DYNAMIC && vol_type != UBI_VID_STATIC) { 316 vid_hdr->vol_type = UBI_LAYOUT_VOLUME_TYPE; 550 vol->vol_type = vtbl[i].vol_type == UBI_VID_DYNAMIC ? 583 if (vol->vol_type == UBI_DYNAMIC_VOLUME) { 630 vol->vol_type = UBI_DYNAMIC_VOLUME; 681 if (av->vol_type != vol->vol_type) {
|
D | kapi.c | 81 vi->vol_type = vol->vol_type; in ubi_do_get_volume_info() 386 if (vol->vol_type == UBI_STATIC_VOLUME) { in leb_read_sanity_check() 445 if (err && mtd_is_eccerr(err) && vol->vol_type == UBI_STATIC_VOLUME) { in ubi_leb_read() 485 if (err && mtd_is_eccerr(err) && vol->vol_type == UBI_STATIC_VOLUME) { in ubi_leb_read_sg() 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()
|
D | ubi-media.h | 274 __u8 vol_type; member 362 __u8 vol_type; member 489 __u8 vol_type; member
|
D | attach.c | 192 int vol_type = vid_hdr->vol_type; in validate_vid_hdr() local 211 if (av->vol_type == UBI_STATIC_VOLUME) in validate_vid_hdr() 216 if (vol_type != av_vol_type) { in validate_vid_hdr() 288 av->vol_type = vid_hdr->vol_type == UBI_VID_DYNAMIC ? UBI_DYNAMIC_VOLUME in add_volume() 1527 av->leb_count < 0 || av->vol_type < 0 || av->used_ebs < 0 || in self_check_ai() 1545 if (av->vol_type != UBI_DYNAMIC_VOLUME && in self_check_ai() 1546 av->vol_type != UBI_STATIC_VOLUME) { in self_check_ai() 1586 if (av->vol_type == UBI_STATIC_VOLUME) { in self_check_ai() 1631 int vol_type; in self_check_ai() local 1646 vol_type = vidh->vol_type == UBI_VID_DYNAMIC ? in self_check_ai() [all …]
|
D | debug.c | 77 pr_err("\tvol_type %d\n", (int)vid_hdr->vol_type); in ubi_dump_vid_hdr() 104 printf("\tvol_type %d\n", vol->vol_type); in ubi_dump_vol_info() 137 pr_err("\tvol_type %d\n", (int)r->vol_type); in ubi_dump_vtbl_record() 168 pr_err("\tvol_type %d\n", av->vol_type); in ubi_dump_av() 203 pr_err("\tvol_type %d\n", req->vol_type); in ubi_dump_mkvol_req()
|
D | eba.c | 386 ubi_assert(vol->vol_type != UBI_STATIC_VOLUME); in ubi_eba_read_leb() 394 if (vol->vol_type == UBI_DYNAMIC_VOLUME) in ubi_eba_read_leb() 442 if (vol->vol_type == UBI_DYNAMIC_VOLUME) in ubi_eba_read_leb() 696 vid_hdr->vol_type = UBI_VID_DYNAMIC; in ubi_eba_write_leb() 821 vid_hdr->vol_type = UBI_VID_STATIC; in ubi_eba_write_leb_st() 942 vid_hdr->vol_type = UBI_VID_DYNAMIC; in ubi_eba_atomic_leb_change() 1066 if (vid_hdr->vol_type == UBI_VID_STATIC) { in ubi_eba_copy_leb() 1148 if (vid_hdr->vol_type == UBI_VID_DYNAMIC) in ubi_eba_copy_leb()
|
D | fastmap.c | 121 new->vol_type = UBI_VID_DYNAMIC; in new_fm_vhdr() 185 int used_ebs, int data_pad, u8 vol_type, in add_vol() argument 212 av->vol_type = vol_type; in add_vol() 214 if (av->vol_type == UBI_STATIC_VOLUME) in add_vol() 349 if (av->vol_type == UBI_STATIC_VOLUME) in update_vol() 756 fmvhdr->vol_type, in ubi_attach_fastmap() 1273 fvh->vol_type = vol->vol_type; in ubi_write_fastmap() 1278 ubi_assert(vol->vol_type == UBI_DYNAMIC_VOLUME || in ubi_write_fastmap() 1279 vol->vol_type == UBI_STATIC_VOLUME); in ubi_write_fastmap()
|
D | io.c | 874 int vol_type = vid_hdr->vol_type; in validate_vid_hdr() local 913 if (vol_type != UBI_VID_DYNAMIC && vol_type != UBI_VID_STATIC) { in validate_vid_hdr() 923 if (vol_type == UBI_VID_STATIC) { in validate_vid_hdr()
|
D | misc.c | 55 if (vol->vol_type != UBI_STATIC_VOLUME) in ubi_check_volume()
|
D | upd.c | 92 if (vol->vol_type == UBI_STATIC_VOLUME) { in clear_update_marker() 230 if (vol->vol_type == UBI_DYNAMIC_VOLUME) { in write_leb()
|
D | ubi.h | 326 int vol_type; member 689 int vol_type; member
|
/external/u-boot/drivers/mtd/ubispl/ |
D | ubispl.c | 65 ubi_dbg("\tvol_type %d", (int)r->vol_type); in ubi_dump_vtbl_record() 99 int i, n, reserved_pebs, alignment, data_pad, vol_type, name_len; in vtbl_check() local 109 vol_type = vtbl[i].vol_type; in vtbl_check() 154 if (vol_type != UBI_VID_DYNAMIC && vol_type != UBI_VID_STATIC) { in vtbl_check() 293 vh->vol_type == UBI_VID_STATIC && in ubi_rescan_fm_vid_hdr() 297 fm_pnum, fm_vol_id, vh->vol_type, in ubi_rescan_fm_vid_hdr() 404 if (vol_id >= UBI_SPL_VOL_IDS || vh->vol_type != UBI_VID_STATIC) in ubi_scan_vid_hdr() 417 u32 vol_id, u32 vol_type, u32 used) in assign_aeb_to_av() argument 427 if (vol_id >= UBI_SPL_VOL_IDS || vol_type != UBI_STATIC_VOLUME) in assign_aeb_to_av() 586 u32 vol_id, vol_type, used, reserved; in ubi_attach_fastmap() local [all …]
|
/external/u-boot/cmd/ |
D | ubi.c | 110 if (req->bytes < 0 || req->alignment < 0 || req->vol_type < 0 || in verify_mkvol_req() 127 if (req->vol_type != UBI_DYNAMIC_VOLUME && in verify_mkvol_req() 128 req->vol_type != UBI_STATIC_VOLUME) in verify_mkvol_req() 156 req.vol_type = UBI_DYNAMIC_VOLUME; in ubi_create_vol() 158 req.vol_type = UBI_STATIC_VOLUME; in ubi_create_vol()
|
/external/kernel-headers/original/uapi/mtd/ |
D | ubi-user.h | 342 __s8 vol_type; member
|
/external/u-boot/include/mtd/ |
D | ubi-user.h | 323 __s8 vol_type; member
|
/external/u-boot/include/linux/mtd/ |
D | ubi.h | 107 int vol_type; member
|
/external/strace/ |
D | ubi.c | 58 (uint8_t) mkvol.vol_type, "UBI_???_VOLUME"); in ubi_ioctl()
|
D | ChangeLog | 29342 Fix printing of invalid struct ubi_mkvol_req.vol_type. 29343 * mtd.c (ubi_ioctl): Explicitly cast struct ubi_mkvol_req.vol_type 29345 invalid struct ubi_mkvol_req.vol_type.
|
/external/u-boot/doc/ |
D | README.ubi | 96 UBI: vol_type 3 111 UBI: vol_type 3
|
/external/u-boot/fs/ubifs/ |
D | super.c | 690 if (c->vi.vol_type == UBI_STATIC_VOLUME) { in init_constants_early()
|