Searched refs:data_pad (Results 1 – 11 of 11) sorted by relevance
/external/u-boot/drivers/mtd/ubi/ |
D | vtbl.c | 166 int i, n, reserved_pebs, alignment, data_pad, vol_type, name_len; local 176 data_pad = be32_to_cpu(vtbl[i].data_pad); 199 if (reserved_pebs < 0 || alignment < 0 || data_pad < 0 || 217 if (data_pad != n) { 319 vid_hdr->data_pad = cpu_to_be32(0); 547 vol->data_pad = be32_to_cpu(vtbl[i].data_pad); 552 vol->usable_leb_size = ubi->leb_size - vol->data_pad; 633 (long long)vol->used_ebs * (ubi->leb_size - vol->data_pad); 685 if (av->data_pad != vol->data_pad) {
|
D | vmt.c | 225 vol->data_pad = ubi->leb_size % vol->alignment; in ubi_create_volume() 292 vtbl_rec.data_pad = cpu_to_be32(vol->data_pad); in ubi_create_volume() 649 int reserved_pebs, alignment, data_pad, vol_type, name_len, upd_marker; in self_check_volume() local 667 if (vol->reserved_pebs < 0 || vol->alignment < 0 || vol->data_pad < 0 || in self_check_volume() 684 if (vol->data_pad != n) { in self_check_volume() 705 n = ubi->leb_size - vol->data_pad; in self_check_volume() 706 if (vol->usable_leb_size != ubi->leb_size - vol->data_pad) { in self_check_volume() 759 data_pad = be32_to_cpu(ubi->vtbl[vol_id].data_pad); in self_check_volume() 768 if (alignment != vol->alignment || data_pad != vol->data_pad || in self_check_volume()
|
D | ubi-media.h | 276 __be32 data_pad; member 355 __be32 data_pad; member 485 __be32 data_pad; member
|
D | attach.c | 194 int data_pad = be32_to_cpu(vid_hdr->data_pad); in validate_vid_hdr() local 225 if (data_pad != av->data_pad) { in validate_vid_hdr() 285 av->data_pad = be32_to_cpu(vid_hdr->data_pad); in add_volume() 1527 av->data_pad < 0 || av->last_data_size < 0) { in self_check_ai() 1550 if (av->data_pad > ubi->leb_size / 2) { in self_check_ai() 1677 if (av->data_pad != be32_to_cpu(vidh->data_pad)) { in self_check_ai() 1678 ubi_err(ubi, "bad data_pad %d", av->data_pad); in self_check_ai()
|
D | debug.c | 84 pr_err("\tdata_pad %d\n", be32_to_cpu(vid_hdr->data_pad)); in ubi_dump_vid_hdr() 103 printf("\tdata_pad %d\n", vol->data_pad); in ubi_dump_vol_info() 135 pr_err("\tdata_pad %d\n", be32_to_cpu(r->data_pad)); in ubi_dump_vtbl_record() 170 pr_err("\tdata_pad %d\n", av->data_pad); in ubi_dump_av()
|
D | eba.c | 700 vid_hdr->data_pad = cpu_to_be32(vol->data_pad); in ubi_eba_write_leb() 817 vid_hdr->data_pad = cpu_to_be32(vol->data_pad); in ubi_eba_write_leb_st() 938 vid_hdr->data_pad = cpu_to_be32(vol->data_pad); in ubi_eba_atomic_leb_change() 1070 ubi->leb_size - be32_to_cpu(vid_hdr->data_pad); in ubi_eba_copy_leb()
|
D | io.c | 880 int data_pad = be32_to_cpu(vid_hdr->data_pad); in validate_vid_hdr() local 882 int usable_leb_size = ubi->leb_size - data_pad; in validate_vid_hdr() 890 data_pad < 0) { in validate_vid_hdr() 917 if (data_pad >= ubi->leb_size / 2) { in validate_vid_hdr()
|
D | fastmap.c | 184 int used_ebs, int data_pad, u8 vol_type, in add_vol() argument 208 av->data_pad = data_pad; in add_vol() 754 be32_to_cpu(fmvhdr->data_pad), in ubi_attach_fastmap() 1274 fvh->data_pad = cpu_to_be32(vol->data_pad); in ubi_write_fastmap()
|
D | ubi.h | 333 int data_pad; member 688 int data_pad; member
|
/external/u-boot/doc/ |
D | README.ubi | 95 UBI: data_pad 0 110 UBI: data_pad 0
|
/external/u-boot/cmd/ |
D | ubi.c | 310 rsvd_bytes = vol->reserved_pebs * (ubi->leb_size - vol->data_pad); in ubi_volume_begin_write()
|