Lines Matching refs:hdr_crc
732 uint32_t crc, magic, hdr_crc; in ubi_io_read_ec_hdr() local
791 hdr_crc = be32_to_cpu(ec_hdr->hdr_crc); in ubi_io_read_ec_hdr()
793 if (hdr_crc != crc) { in ubi_io_read_ec_hdr()
796 pnum, crc, hdr_crc); in ubi_io_read_ec_hdr()
800 pnum, crc, hdr_crc); in ubi_io_read_ec_hdr()
852 ec_hdr->hdr_crc = cpu_to_be32(crc); in ubi_io_write_ec_hdr()
1005 uint32_t crc, magic, hdr_crc; in ubi_io_read_vid_hdr() local
1045 hdr_crc = be32_to_cpu(vid_hdr->hdr_crc); in ubi_io_read_vid_hdr()
1047 if (hdr_crc != crc) { in ubi_io_read_vid_hdr()
1050 pnum, crc, hdr_crc); in ubi_io_read_vid_hdr()
1054 pnum, crc, hdr_crc); in ubi_io_read_vid_hdr()
1102 vid_hdr->hdr_crc = cpu_to_be32(crc); in ubi_io_write_vid_hdr()
1191 uint32_t crc, hdr_crc; in self_check_peb_ec_hdr() local
1206 hdr_crc = be32_to_cpu(ec_hdr->hdr_crc); in self_check_peb_ec_hdr()
1207 if (hdr_crc != crc) { in self_check_peb_ec_hdr()
1209 crc, hdr_crc); in self_check_peb_ec_hdr()
1276 uint32_t crc, hdr_crc; in self_check_peb_vid_hdr() local
1294 hdr_crc = be32_to_cpu(vid_hdr->hdr_crc); in self_check_peb_vid_hdr()
1295 if (hdr_crc != crc) { in self_check_peb_vid_hdr()
1297 pnum, crc, hdr_crc); in self_check_peb_vid_hdr()