Lines Matching refs:be32_to_cpu
192 int vol_id = be32_to_cpu(vid_hdr->vol_id); in validate_vid_hdr()
193 int used_ebs = be32_to_cpu(vid_hdr->used_ebs); in validate_vid_hdr()
194 int data_pad = be32_to_cpu(vid_hdr->data_pad); in validate_vid_hdr()
260 ubi_assert(vol_id == be32_to_cpu(vid_hdr->vol_id)); in add_volume()
284 av->used_ebs = be32_to_cpu(vid_hdr->used_ebs); in add_volume()
285 av->data_pad = be32_to_cpu(vid_hdr->data_pad); in add_volume()
391 len = be32_to_cpu(vid_hdr->data_size); in ubi_compare_lebs()
398 data_crc = be32_to_cpu(vid_hdr->data_crc); in ubi_compare_lebs()
453 vol_id = be32_to_cpu(vid_hdr->vol_id); in ubi_add_to_av()
454 lnum = be32_to_cpu(vid_hdr->lnum); in ubi_add_to_av()
547 be32_to_cpu(vid_hdr->data_size); in ubi_add_to_av()
583 av->last_data_size = be32_to_cpu(vid_hdr->data_size); in ubi_add_to_av()
901 image_seq = be32_to_cpu(ech->image_seq); in scan_peb()
988 vol_id = be32_to_cpu(vidh->vol_id); in scan_peb()
994 int lnum = be32_to_cpu(vidh->lnum); in scan_peb()
1657 if (av->vol_id != be32_to_cpu(vidh->vol_id)) { in self_check_ai()
1667 if (aeb->lnum != be32_to_cpu(vidh->lnum)) { in self_check_ai()
1672 if (av->used_ebs != be32_to_cpu(vidh->used_ebs)) { in self_check_ai()
1677 if (av->data_pad != be32_to_cpu(vidh->data_pad)) { in self_check_ai()
1686 if (av->highest_lnum != be32_to_cpu(vidh->lnum)) { in self_check_ai()
1691 if (av->last_data_size != be32_to_cpu(vidh->data_size)) { in self_check_ai()