Lines Matching defs:header
74 * Make sure we're looking at a header of reasonable size before
110 * Check locations for the header and its entries. The primary
142 /* TODO(namnguyen): Also check for padding between header & entries. */
253 /* Check both headers; we need at least one valid header. */
272 * Note that we use the same header in both checks. This way we'll
283 * entries with the secondary header.
305 * Now that we've determined which header contains a good CRC for
323 /* Need at least one good header and one good set of entries. */
343 /* TODO (namnguyen): Preserve (header, entries) padding. */
414 GptHeader *header = (GptHeader *)gpt->primary_header;
417 header->entries_crc32 = Crc32(gpt->primary_entries,
418 header->size_of_entry *
419 header->number_of_entries);
420 header->header_crc32 = HeaderCrc(header);