/external/u-boot/drivers/mtd/ubi/ |
D | vtbl.c | 318 vid_hdr->data_size = vid_hdr->used_ebs = 580 vol->used_ebs = vol->reserved_pebs; 583 (long long)vol->used_ebs * vol->usable_leb_size; 601 if (av->leb_count != av->used_ebs) { 607 av->vol_id, av->used_ebs - av->leb_count); 612 vol->used_ebs = av->used_ebs; 614 (long long)(vol->used_ebs - 1) * vol->usable_leb_size; 630 vol->used_ebs = vol->reserved_pebs; 633 (long long)vol->used_ebs * (ubi->leb_size - vol->data_pad); 681 if (av->used_ebs > vol->reserved_pebs) {
|
D | vmt.c | 249 vol->used_ebs = vol->reserved_pebs; in ubi_create_volume() 252 (long long)vol->used_ebs * vol->usable_leb_size; in ubi_create_volume() 254 vol->used_ebs = div_u64_rem(vol->used_bytes, in ubi_create_volume() 258 vol->used_ebs += 1; in ubi_create_volume() 440 reserved_pebs < vol->used_ebs) { in ubi_resize_volume() 442 reserved_pebs, vol->used_ebs); in ubi_resize_volume() 514 vol->used_ebs = reserved_pebs; in ubi_resize_volume() 517 (long long)vol->used_ebs * vol->usable_leb_size; in ubi_resize_volume() 723 n = (long long)vol->used_ebs * vol->usable_leb_size; in self_check_volume() 729 if (vol->used_ebs != vol->reserved_pebs) { in self_check_volume() [all …]
|
D | attach.c | 193 int used_ebs = be32_to_cpu(vid_hdr->used_ebs); in validate_vid_hdr() local 220 if (used_ebs != av->used_ebs) { in validate_vid_hdr() 284 av->used_ebs = be32_to_cpu(vid_hdr->used_ebs); in add_volume() 1526 av->leb_count < 0 || av->vol_type < 0 || av->used_ebs < 0 || in self_check_ai() 1586 if (aeb->lnum >= av->used_ebs) { in self_check_ai() 1591 if (av->used_ebs != 0) { in self_check_ai() 1672 if (av->used_ebs != be32_to_cpu(vidh->used_ebs)) { in self_check_ai() 1673 ubi_err(ubi, "bad used_ebs %d", av->used_ebs); in self_check_ai()
|
D | upd.c | 95 vol->used_ebs = div_u64_rem(bytes, vol->usable_leb_size, in clear_update_marker() 98 vol->used_ebs += 1; in clear_update_marker() 226 void *buf, int len, int used_ebs) in write_leb() argument 252 err = ubi_eba_write_leb_st(ubi, vol, lnum, buf, len, used_ebs); in write_leb()
|
D | misc.c | 62 for (i = 0; i < vol->used_ebs; i++) { in ubi_check_volume() 67 if (i == vol->used_ebs - 1) in ubi_check_volume()
|
D | ubi-media.h | 275 __be32 used_ebs; member 486 __be32 used_ebs; member
|
D | io.c | 879 int used_ebs = be32_to_cpu(vid_hdr->used_ebs); in validate_vid_hdr() local 889 if (vol_id < 0 || lnum < 0 || data_size < 0 || used_ebs < 0 || in validate_vid_hdr() 929 if (used_ebs == 0) { in validate_vid_hdr() 937 if (lnum < used_ebs - 1) { in validate_vid_hdr() 942 } else if (lnum == used_ebs - 1) { in validate_vid_hdr() 967 if (used_ebs != 0) { in validate_vid_hdr()
|
D | fastmap.c | 184 int used_ebs, int data_pad, u8 vol_type, in add_vol() argument 206 av->highest_lnum = av->leb_count = av->used_ebs = 0; in add_vol() 214 av->used_ebs = used_ebs; in add_vol() 349 av->used_ebs = be32_to_cpu(new_vh->used_ebs); in update_vol() 753 be32_to_cpu(fmvhdr->used_ebs), in ubi_attach_fastmap() 1273 fvh->used_ebs = cpu_to_be32(vol->used_ebs); in ubi_write_fastmap()
|
D | eba.c | 429 ubi_assert(lnum < be32_to_cpu(vid_hdr->used_ebs)); in ubi_eba_read_leb() 788 int lnum, const void *buf, int len, int used_ebs) in ubi_eba_write_leb_st() argument 797 if (lnum == used_ebs - 1) in ubi_eba_write_leb_st() 822 vid_hdr->used_ebs = cpu_to_be32(used_ebs); in ubi_eba_write_leb_st() 835 len, vol_id, lnum, pnum, used_ebs); in ubi_eba_write_leb_st()
|
D | debug.c | 83 pr_err("\tused_ebs %d\n", be32_to_cpu(vid_hdr->used_ebs)); in ubi_dump_vid_hdr() 107 printf("\tused_ebs %d\n", vol->used_ebs); in ubi_dump_vol_info() 168 pr_err("\tused_ebs %d\n", av->used_ebs); in ubi_dump_av()
|
D | kapi.c | 382 lnum >= vol->used_ebs || offset < 0 || len < 0 || in leb_read_sanity_check() 387 if (vol->used_ebs == 0) in leb_read_sanity_check() 390 if (lnum == vol->used_ebs - 1 && in leb_read_sanity_check()
|
D | ubi.h | 325 int used_ebs; member 686 int used_ebs; member 855 int lnum, const void *buf, int len, int used_ebs);
|
/external/u-boot/include/linux/mtd/ |
D | ubi.h | 106 int used_ebs; member
|
/external/u-boot/drivers/mtd/ubispl/ |
D | ubispl.c | 410 used = be32_to_cpu(fmvhdr->used_ebs); in ubi_attach_fastmap() 761 if (be32_to_cpu(vh->used_ebs) != last) { in ubi_load_block() 764 be32_to_cpu(vh->used_ebs), last); in ubi_load_block()
|
/external/u-boot/doc/ |
D | README.ubi | 99 UBI: used_ebs 4 114 UBI: used_ebs 2
|