Home
last modified time | relevance | path

Searched refs:MASK_SECONDARY (Results 1 – 7 of 7) sorted by relevance

/external/vboot_reference/firmware/lib/cgptlib/
Dcgptlib_internal.c261 gpt->valid_headers |= MASK_SECONDARY; in GptSanityCheck()
279 gpt->valid_entries |= MASK_SECONDARY; in GptSanityCheck()
289 gpt->valid_entries |= MASK_SECONDARY; in GptSanityCheck()
310 gpt->valid_headers &= ~MASK_SECONDARY; in GptSanityCheck()
337 else if (MASK_SECONDARY == gpt->valid_headers) { in GptRepair()
357 else if (MASK_SECONDARY == gpt->valid_entries) { in GptRepair()
/external/vboot_reference/cgpt/
Dcgpt_show.c286 drive->gpt.valid_entries & MASK_SECONDARY ? "" : "INVALID", in GptShow()
294 ((drive->gpt.valid_entries & MASK_SECONDARY) && in GptShow()
302 if (drive->gpt.valid_headers & MASK_SECONDARY) in GptShow()
314 ((drive->gpt.valid_headers & MASK_SECONDARY) && in GptShow()
Dcgpt_legacy.c27 RepairEntries(&drive.gpt, MASK_SECONDARY); in CgptLegacy()
Dcgpt_common.c691 else if (gpt->valid_headers & MASK_SECONDARY) in GetGptHeader()
721 require(gpt->valid_entries & MASK_SECONDARY); in GetEntry()
891 } else if (gpt->valid_headers & MASK_SECONDARY) { in RepairEntries()
907 } else if (valid_entries == MASK_SECONDARY) { in RepairEntries()
955 } else if (valid_headers == MASK_SECONDARY) { in RepairHeader()
/external/vboot_reference/tests/
Dcgptlib_test.c855 EXPECT(MASK_SECONDARY == gpt->valid_headers); in SanityCheckTest()
908 EXPECT(MASK_SECONDARY == gpt->valid_entries); in SanityCheckTest()
938 EXPECT(MASK_SECONDARY == gpt->valid_headers); in SanityCheckTest()
947 EXPECT(MASK_SECONDARY == gpt->valid_headers); in SanityCheckTest()
948 EXPECT(MASK_SECONDARY == gpt->valid_entries); in SanityCheckTest()
972 EXPECT(MASK_SECONDARY == gpt->valid_headers); in SanityCheckTest()
985 EXPECT(MASK_SECONDARY == gpt->valid_entries); in SanityCheckTest()
1013 EXPECT(MASK_SECONDARY == gpt->valid_entries); in SanityCheckTest()
1025 EXPECT(MASK_SECONDARY == gpt->valid_headers); in SanityCheckTest()
Dvboot_kernel_tests.c386 g.valid_headers = g.valid_entries = MASK_SECONDARY; in ReadWriteGptTest()
/external/vboot_reference/firmware/lib/cgptlib/include/
Dcgptlib_internal.h74 MASK_SECONDARY = 2, enumerator