Searched refs:header_crc32 (Results 1 – 8 of 8) sorted by relevance
58 original_crc32 = h->header_crc32; in HeaderCrc()59 h->header_crc32 = 0; in HeaderCrc()61 h->header_crc32 = original_crc32; in HeaderCrc()88 if (HeaderCrc(h) != h->header_crc32) in CheckHeader()334 header2->header_crc32 = HeaderCrc(header2); in GptRepair()345 header1->header_crc32 = HeaderCrc(header1); in GptRepair()420 header->header_crc32 = HeaderCrc(header); in GptModified()
79 uint32_t header_crc32; member
85 header->header_crc32 = 0; in RefreshCrc32()86 header->header_crc32 = Crc32((uint8_t *)header, header->size); in RefreshCrc32()90 header2->header_crc32 = 0; in RefreshCrc32()91 header2->header_crc32 = Crc32((uint8_t *)header2, header2->size); in RefreshCrc32()275 EXPECT(HeaderCrc(h1) == h1->header_crc32); in HeaderCrcTest()280 EXPECT(HeaderCrc(h1) != h1->header_crc32); in HeaderCrcTest()285 EXPECT(HeaderCrc(h1) != h1->header_crc32); in HeaderCrcTest()290 EXPECT(HeaderCrc(h1) == h1->header_crc32); in HeaderCrcTest()
100 h->header_crc32 = HeaderCrc(h); in SetupGptHeader()
50 uint32_t header_crc32; member374 uint32_t gpt_header_crc = gpth_tmp.header_crc32; in validate_gpt()375 gpth_tmp.header_crc32 = 0; in validate_gpt()
75 printf("%sHeader CRC: 0x%08x %s\n", indent, header->header_crc32, in HeaderDetails()76 (HeaderCrc(header) != header->header_crc32) ? "(INVALID)" : ""); in HeaderDetails()
838 primary_header->header_crc32 = 0; in UpdateCrc()839 primary_header->header_crc32 = Crc32( in UpdateCrc()843 secondary_header->header_crc32 = 0; in UpdateCrc()844 secondary_header->header_crc32 = Crc32( in UpdateCrc()
321 if (HeaderCrc(h) != h->header_crc32) in recognize_gpt()