Home
last modified time | relevance | path

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

/external/vboot_reference/firmware/lib/cgptlib/
Dcgptlib_internal.c256 gpt->valid_headers |= MASK_PRIMARY; in GptSanityCheck()
277 gpt->valid_entries |= MASK_PRIMARY; in GptSanityCheck()
287 gpt->valid_entries |= MASK_PRIMARY; in GptSanityCheck()
296 gpt->valid_headers &= ~MASK_PRIMARY; in GptSanityCheck()
328 if (MASK_PRIMARY == gpt->valid_headers) { in GptRepair()
352 if (MASK_PRIMARY == gpt->valid_entries) { in GptRepair()
428 gpt->valid_headers = MASK_PRIMARY; in GptModified()
429 gpt->valid_entries = MASK_PRIMARY; in GptModified()
/external/vboot_reference/cgpt/
Dcgpt_show.c253 if (drive->gpt.valid_headers & MASK_PRIMARY) { in GptShow()
262 ((drive->gpt.valid_headers & MASK_PRIMARY) && params->verbose)) { in GptShow()
275 drive->gpt.valid_entries & MASK_PRIMARY ? "" : "INVALID", in GptShow()
279 (drive->gpt.valid_entries & MASK_PRIMARY)) in GptShow()
295 (!(drive->gpt.valid_entries & MASK_PRIMARY) || in GptShow()
315 (!(drive->gpt.valid_headers & MASK_PRIMARY) || in GptShow()
Dcgpt_common.c689 if (gpt->valid_headers & MASK_PRIMARY) in GetGptHeader()
718 if (gpt->valid_entries & MASK_PRIMARY) { in GetEntry()
779 RepairEntries(&drive->gpt, MASK_PRIMARY); in UpdateAllEntries()
780 RepairHeader(&drive->gpt, MASK_PRIMARY); in UpdateAllEntries()
889 if (gpt->valid_headers & MASK_PRIMARY) { in RepairEntries()
904 } else if (valid_entries == MASK_PRIMARY) { in RepairEntries()
948 } else if (valid_headers == MASK_PRIMARY) { in RepairHeader()
Dcgpt_create.c97 RepairHeader(&drive->gpt, MASK_PRIMARY); in GptCreate()
/external/vboot_reference/tests/
Dcgptlib_test.c866 EXPECT(MASK_PRIMARY == gpt->valid_headers); in SanityCheckTest()
882 EXPECT(MASK_PRIMARY == gpt->valid_headers); in SanityCheckTest()
919 EXPECT(MASK_PRIMARY == gpt->valid_entries); in SanityCheckTest()
959 EXPECT(MASK_PRIMARY == gpt->valid_headers); in SanityCheckTest()
960 EXPECT(MASK_PRIMARY == gpt->valid_entries); in SanityCheckTest()
973 EXPECT(MASK_PRIMARY == gpt->valid_entries); in SanityCheckTest()
984 EXPECT(MASK_PRIMARY == gpt->valid_headers); in SanityCheckTest()
1000 EXPECT(MASK_PRIMARY == gpt->valid_headers); in SanityCheckTest()
1001 EXPECT(MASK_PRIMARY == gpt->valid_entries); in SanityCheckTest()
1018 EXPECT(MASK_PRIMARY == gpt->valid_entries); in SanityCheckTest()
[all …]
Dvboot_kernel_tests.c411 g.valid_headers = g.valid_entries = MASK_PRIMARY; in ReadWriteGptTest()
/external/vboot_reference/firmware/lib/cgptlib/include/
Dcgptlib_internal.h73 MASK_PRIMARY = 1, enumerator