Lines Matching refs:hdr_crc
698 uint32_t crc, magic, hdr_crc; in ubi_io_read_ec_hdr() local
757 hdr_crc = be32_to_cpu(ec_hdr->hdr_crc); in ubi_io_read_ec_hdr()
759 if (hdr_crc != crc) { in ubi_io_read_ec_hdr()
762 pnum, crc, hdr_crc); in ubi_io_read_ec_hdr()
766 pnum, crc, hdr_crc); in ubi_io_read_ec_hdr()
818 ec_hdr->hdr_crc = cpu_to_be32(crc); in ubi_io_write_ec_hdr()
970 uint32_t crc, magic, hdr_crc; in ubi_io_read_vid_hdr() local
1010 hdr_crc = be32_to_cpu(vid_hdr->hdr_crc); in ubi_io_read_vid_hdr()
1012 if (hdr_crc != crc) { in ubi_io_read_vid_hdr()
1015 pnum, crc, hdr_crc); in ubi_io_read_vid_hdr()
1019 pnum, crc, hdr_crc); in ubi_io_read_vid_hdr()
1068 vid_hdr->hdr_crc = cpu_to_be32(crc); in ubi_io_write_vid_hdr()
1156 uint32_t crc, hdr_crc; in self_check_peb_ec_hdr() local
1171 hdr_crc = be32_to_cpu(ec_hdr->hdr_crc); in self_check_peb_ec_hdr()
1172 if (hdr_crc != crc) { in self_check_peb_ec_hdr()
1174 crc, hdr_crc); in self_check_peb_ec_hdr()
1241 uint32_t crc, hdr_crc; in self_check_peb_vid_hdr() local
1261 hdr_crc = be32_to_cpu(vid_hdr->hdr_crc); in self_check_peb_vid_hdr()
1262 if (hdr_crc != crc) { in self_check_peb_vid_hdr()
1264 pnum, crc, hdr_crc); in self_check_peb_vid_hdr()