• Home
  • Raw
  • Download

Lines Matching refs:secondary_header

79 	header2 = (GptHeader *)gpt->secondary_header;  in RefreshCrc32()
97 Memset(gpt->secondary_header, 0, MAX_SECTOR_SIZE); in ZeroHeaders()
122 static uint8_t secondary_header[MAX_SECTOR_SIZE]; in GetEmptyGptData() local
128 gpt.secondary_header = secondary_header; in GetEmptyGptData()
194 header2 = (GptHeader *)gpt->secondary_header; in BuildTestGptData()
300 GptHeader *h2 = (GptHeader *)gpt->secondary_header; in HeaderSameTest()
353 GptHeader *h2 = (GptHeader *)gpt->secondary_header; in SignatureTest()
378 GptHeader *h2 = (GptHeader *)gpt->secondary_header; in RevisionTest()
410 GptHeader *h2 = (GptHeader *)gpt->secondary_header; in SizeTest()
444 GptHeader *h2 = (GptHeader *)gpt->secondary_header; in CrcFieldTest()
465 GptHeader *h2 = (GptHeader *)gpt->secondary_header; in ReservedFieldsTest()
494 GptHeader *h2 = (GptHeader *)gpt->secondary_header; in SizeOfPartitionEntryTest()
536 GptHeader *h2 = (GptHeader *)gpt->secondary_header; in NumberOfPartitionEntriesTest()
559 GptHeader *h2 = (GptHeader *)gpt->secondary_header; in MyLbaTest()
629 GptHeader *h2 = (GptHeader *)gpt->secondary_header; in FirstUsableLbaAndLastUsableLbaTest()
841 gpt->secondary_header[0]++; in SanityCheckTest()
864 gpt->secondary_header[0]++; in SanityCheckTest()
956 gpt->secondary_header[0]++; in SanityCheckTest()
981 gpt->secondary_header[0]++; in SanityCheckTest()
1028 gpt->secondary_header = NULL; in SanityCheckTest()
1456 GptHeader* secondary_header = (GptHeader*)gpt->secondary_header; in CheckHeaderOffDevice() local
1457 secondary_header->first_usable_lba = 0; in CheckHeaderOffDevice()
1459 EXPECT(1 == CheckHeader(secondary_header, 1, gpt->streaming_drive_sectors, in CheckHeaderOffDevice()
1461 EXPECT(0 == CheckHeader(secondary_header, 1, gpt->streaming_drive_sectors, in CheckHeaderOffDevice()
1465 secondary_header->number_of_entries = 100; in CheckHeaderOffDevice()
1467 secondary_header->entries_lba = secondary_header->my_lba - in CheckHeaderOffDevice()
1468 CalculateEntriesSectors(secondary_header); in CheckHeaderOffDevice()
1470 EXPECT(1 == CheckHeader(secondary_header, 1, gpt->streaming_drive_sectors, in CheckHeaderOffDevice()
1472 EXPECT(0 == CheckHeader(secondary_header, 1, gpt->streaming_drive_sectors, in CheckHeaderOffDevice()
1475 secondary_header->number_of_entries = MIN_NUMBER_OF_ENTRIES - 1; in CheckHeaderOffDevice()
1477 EXPECT(1 == CheckHeader(secondary_header, 1, gpt->streaming_drive_sectors, in CheckHeaderOffDevice()