Lines Matching refs:hdr_crc
710 uint32_t crc, magic, hdr_crc; in ubi_io_read_ec_hdr() local
769 hdr_crc = be32_to_cpu(ec_hdr->hdr_crc); in ubi_io_read_ec_hdr()
771 if (hdr_crc != crc) { in ubi_io_read_ec_hdr()
774 pnum, crc, hdr_crc); in ubi_io_read_ec_hdr()
778 pnum, crc, hdr_crc); in ubi_io_read_ec_hdr()
859 ec_hdr->hdr_crc = cpu_to_be32(crc); in ubi_io_write_ec_hdr()
1014 uint32_t crc, magic, hdr_crc; in ubi_io_read_vid_hdr() local
1054 hdr_crc = be32_to_cpu(vid_hdr->hdr_crc); in ubi_io_read_vid_hdr()
1056 if (hdr_crc != crc) { in ubi_io_read_vid_hdr()
1059 pnum, crc, hdr_crc); in ubi_io_read_vid_hdr()
1063 pnum, crc, hdr_crc); in ubi_io_read_vid_hdr()
1141 vid_hdr->hdr_crc = cpu_to_be32(crc); in ubi_io_write_vid_hdr()
1232 uint32_t crc, hdr_crc; in self_check_peb_ec_hdr() local
1247 hdr_crc = be32_to_cpu(ec_hdr->hdr_crc); in self_check_peb_ec_hdr()
1248 if (hdr_crc != crc) { in self_check_peb_ec_hdr()
1250 crc, hdr_crc); in self_check_peb_ec_hdr()
1317 uint32_t crc, hdr_crc; in self_check_peb_vid_hdr() local
1337 hdr_crc = be32_to_cpu(vid_hdr->hdr_crc); in self_check_peb_vid_hdr()
1338 if (hdr_crc != crc) { in self_check_peb_vid_hdr()
1340 pnum, crc, hdr_crc); in self_check_peb_vid_hdr()