Lines Matching refs:eif_header
439 EifHeader eif_header; in read_eif_file() local
459 if (!read_eif_header(f, &eif_header, &crc, errp)) { in read_eif_file()
463 if (eif_header.version < 4) { in read_eif_file()
468 if (eif_header.flags != 0) { in read_eif_file()
473 if (eif_header.section_cnt > MAX_SECTIONS) { in read_eif_file()
475 "%d but found %d", MAX_SECTIONS, eif_header.section_cnt); in read_eif_file()
479 for (int i = 0; i < eif_header.section_cnt; ++i) { in read_eif_file()
483 if (eif_header.section_offsets[i] > OFF_MAX) { in read_eif_file()
487 if (fseek(f, eif_header.section_offsets[i], SEEK_SET) != 0) { in read_eif_file()
489 eif_header.section_offsets[i]); in read_eif_file()
502 if (eif_header.section_sizes[i] != hdr.section_size) { in read_eif_file()
505 eif_header.section_sizes[i], in read_eif_file()
671 if (eif_header.eif_crc32 != crc) { in read_eif_file()
673 crc, eif_header.eif_crc32); in read_eif_file()