Searched refs:valid_headers (Results 1 – 8 of 8) sorted by relevance
246 gpt->valid_headers = 0; in GptSanityCheck()256 gpt->valid_headers |= MASK_PRIMARY; in GptSanityCheck()261 gpt->valid_headers |= MASK_SECONDARY; in GptSanityCheck()266 if (!gpt->valid_headers) in GptSanityCheck()285 if (MASK_BOTH == gpt->valid_headers && !gpt->valid_entries) { in GptSanityCheck()296 gpt->valid_headers &= ~MASK_PRIMARY; in GptSanityCheck()308 if (MASK_BOTH == gpt->valid_headers && in GptSanityCheck()310 gpt->valid_headers &= ~MASK_SECONDARY; in GptSanityCheck()324 if (MASK_NONE == gpt->valid_headers || MASK_NONE == gpt->valid_entries) in GptRepair()328 if (MASK_PRIMARY == gpt->valid_headers) { in GptRepair()[all …]
156 gpt->valid_headers = MASK_BOTH; in BuildTestGptData()824 EXPECT(MASK_BOTH == gpt->valid_headers); in SanityCheckTest()829 EXPECT(MASK_BOTH == gpt->valid_headers); in SanityCheckTest()843 EXPECT(0 == gpt->valid_headers); in SanityCheckTest()848 EXPECT(0 == gpt->valid_headers); in SanityCheckTest()855 EXPECT(MASK_SECONDARY == gpt->valid_headers); in SanityCheckTest()859 EXPECT(MASK_BOTH == gpt->valid_headers); in SanityCheckTest()866 EXPECT(MASK_PRIMARY == gpt->valid_headers); in SanityCheckTest()870 EXPECT(MASK_BOTH == gpt->valid_headers); in SanityCheckTest()882 EXPECT(MASK_PRIMARY == gpt->valid_headers); in SanityCheckTest()[all …]
300 g.valid_headers = g.valid_entries = MASK_BOTH; in ReadWriteGptTest()386 g.valid_headers = g.valid_entries = MASK_SECONDARY; in ReadWriteGptTest()411 g.valid_headers = g.valid_entries = MASK_PRIMARY; in ReadWriteGptTest()
253 if (drive->gpt.valid_headers & MASK_PRIMARY) { in GptShow()262 ((drive->gpt.valid_headers & MASK_PRIMARY) && params->verbose)) { in GptShow()302 if (drive->gpt.valid_headers & MASK_SECONDARY) in GptShow()314 ((drive->gpt.valid_headers & MASK_SECONDARY) && in GptShow()315 (!(drive->gpt.valid_headers & MASK_PRIMARY) || in GptShow()
55 if ((drive->gpt.valid_headers != MASK_BOTH) || in CheckValid()689 if (gpt->valid_headers & MASK_PRIMARY) in GetGptHeader()691 else if (gpt->valid_headers & MASK_SECONDARY) in GetGptHeader()889 if (gpt->valid_headers & MASK_PRIMARY) { in RepairEntries()891 } else if (gpt->valid_headers & MASK_SECONDARY) { in RepairEntries()937 uint8_t RepairHeader(GptData *gpt, const uint32_t valid_headers) { in RepairHeader() argument943 if (valid_headers == MASK_BOTH) { in RepairHeader()948 } else if (valid_headers == MASK_PRIMARY) { in RepairHeader()955 } else if (valid_headers == MASK_SECONDARY) { in RepairHeader()
167 uint8_t RepairHeader(GptData *gpt, const uint32_t valid_headers);
137 if (((drive->gpt.valid_headers & MASK_BOTH) != MASK_BOTH) || in CgptCheckAddValidity()
111 uint32_t valid_headers, valid_entries; member