Searched refs:MASK_PRIMARY (Results 1 – 7 of 7) sorted by relevance
256 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()
253 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()
689 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()
97 RepairHeader(&drive->gpt, MASK_PRIMARY); in GptCreate()
866 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 …]
411 g.valid_headers = g.valid_entries = MASK_PRIMARY; in ReadWriteGptTest()
73 MASK_PRIMARY = 1, enumerator