Home
last modified time | relevance | path

Searched refs:data_pad (Results 1 – 12 of 12) sorted by relevance

/external/u-boot/drivers/mtd/ubi/
Dvtbl.c167 int i, n, reserved_pebs, alignment, data_pad, vol_type, name_len; local
177 data_pad = be32_to_cpu(vtbl[i].data_pad);
200 if (reserved_pebs < 0 || alignment < 0 || data_pad < 0 ||
218 if (data_pad != n) {
320 vid_hdr->data_pad = cpu_to_be32(0);
548 vol->data_pad = be32_to_cpu(vtbl[i].data_pad);
553 vol->usable_leb_size = ubi->leb_size - vol->data_pad;
637 (long long)vol->used_ebs * (ubi->leb_size - vol->data_pad);
689 if (av->data_pad != vol->data_pad) {
Dvmt.c228 vol->data_pad = ubi->leb_size % vol->alignment; in ubi_create_volume()
295 vtbl_rec.data_pad = cpu_to_be32(vol->data_pad); in ubi_create_volume()
656 int reserved_pebs, alignment, data_pad, vol_type, name_len, upd_marker; in self_check_volume() local
674 if (vol->reserved_pebs < 0 || vol->alignment < 0 || vol->data_pad < 0 || in self_check_volume()
691 if (vol->data_pad != n) { in self_check_volume()
712 n = ubi->leb_size - vol->data_pad; in self_check_volume()
713 if (vol->usable_leb_size != ubi->leb_size - vol->data_pad) { in self_check_volume()
771 data_pad = be32_to_cpu(ubi->vtbl[vol_id].data_pad); in self_check_volume()
780 if (alignment != vol->alignment || data_pad != vol->data_pad || in self_check_volume()
Dubi-media.h282 __be32 data_pad; member
361 __be32 data_pad; member
491 __be32 data_pad; member
Dattach.c195 int data_pad = be32_to_cpu(vid_hdr->data_pad); in validate_vid_hdr() local
226 if (data_pad != av->data_pad) { in validate_vid_hdr()
286 av->data_pad = be32_to_cpu(vid_hdr->data_pad); in add_volume()
1528 av->data_pad < 0 || av->last_data_size < 0) { in self_check_ai()
1551 if (av->data_pad > ubi->leb_size / 2) { in self_check_ai()
1678 if (av->data_pad != be32_to_cpu(vidh->data_pad)) { in self_check_ai()
1679 ubi_err(ubi, "bad data_pad %d", av->data_pad); in self_check_ai()
Ddebug.c84 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()
136 pr_err("\tdata_pad %d\n", be32_to_cpu(r->data_pad)); in ubi_dump_vtbl_record()
171 pr_err("\tdata_pad %d\n", av->data_pad); in ubi_dump_av()
Deba.c701 vid_hdr->data_pad = cpu_to_be32(vol->data_pad); in ubi_eba_write_leb()
818 vid_hdr->data_pad = cpu_to_be32(vol->data_pad); in ubi_eba_write_leb_st()
939 vid_hdr->data_pad = cpu_to_be32(vol->data_pad); in ubi_eba_atomic_leb_change()
1071 ubi->leb_size - be32_to_cpu(vid_hdr->data_pad); in ubi_eba_copy_leb()
Dio.c881 int data_pad = be32_to_cpu(vid_hdr->data_pad); in validate_vid_hdr() local
883 int usable_leb_size = ubi->leb_size - data_pad; in validate_vid_hdr()
891 data_pad < 0) { in validate_vid_hdr()
918 if (data_pad >= ubi->leb_size / 2) { in validate_vid_hdr()
Dfastmap.c185 int used_ebs, int data_pad, u8 vol_type, in add_vol() argument
209 av->data_pad = data_pad; in add_vol()
755 be32_to_cpu(fmvhdr->data_pad), in ubi_attach_fastmap()
1275 fvh->data_pad = cpu_to_be32(vol->data_pad); in ubi_write_fastmap()
Dubi.h336 int data_pad; member
692 int data_pad; member
/external/u-boot/drivers/mtd/ubispl/
Dubispl.c64 ubi_dbg("\tdata_pad %d", be32_to_cpu(r->data_pad)); in ubi_dump_vtbl_record()
99 int i, n, reserved_pebs, alignment, data_pad, vol_type, name_len; in vtbl_check() local
107 data_pad = be32_to_cpu(vtbl[i].data_pad); in vtbl_check()
130 if (reserved_pebs < 0 || alignment < 0 || data_pad < 0 || in vtbl_check()
148 if (data_pad != n) { in vtbl_check()
/external/u-boot/doc/
DREADME.ubi95 UBI: data_pad 0
110 UBI: data_pad 0
/external/u-boot/cmd/
Dubi.c298 rsvd_bytes = vol->reserved_pebs * (ubi->leb_size - vol->data_pad); in ubi_volume_begin_write()