Lines Matching refs:gpt

149     entry = GetEntry(&drive->gpt, secondary, i);  in EntriesDetails()
160 if (GPT_SUCCESS != (gpt_retval = GptSanityCheck(&drive->gpt))) { in GptShow()
174 GptEntry *entry = GetEntry(&drive->gpt, ANY_VALID, index); in GptShow()
227 entry = GetEntry(&drive->gpt, ANY_VALID, i); in GptShow()
253 if (drive->gpt.valid_headers & MASK_PRIMARY) { in GptShow()
262 ((drive->gpt.valid_headers & MASK_PRIMARY) && params->verbose)) { in GptShow()
267 header = (GptHeader*)drive->gpt.primary_header; in GptShow()
268 entries = (GptEntry*)drive->gpt.primary_entries; in GptShow()
272 GptHeader* primary_header = (GptHeader*)drive->gpt.primary_header; in GptShow()
275 drive->gpt.valid_entries & MASK_PRIMARY ? "" : "INVALID", in GptShow()
279 (drive->gpt.valid_entries & MASK_PRIMARY)) in GptShow()
283 GptHeader* secondary_header = (GptHeader*)drive->gpt.secondary_header; in GptShow()
286 drive->gpt.valid_entries & MASK_SECONDARY ? "" : "INVALID", in GptShow()
294 ((drive->gpt.valid_entries & MASK_SECONDARY) && in GptShow()
295 (!(drive->gpt.valid_entries & MASK_PRIMARY) || in GptShow()
296 memcmp(drive->gpt.primary_entries, drive->gpt.secondary_entries, in GptShow()
302 if (drive->gpt.valid_headers & MASK_SECONDARY) in GptShow()
303 printf(GPT_FMT, (int)(drive->gpt.gpt_drive_sectors - GPT_HEADER_SECTORS), in GptShow()
314 ((drive->gpt.valid_headers & MASK_SECONDARY) && in GptShow()
315 (!(drive->gpt.valid_headers & MASK_PRIMARY) || in GptShow()
316 !IsSynonymous((GptHeader*)drive->gpt.primary_header, in GptShow()
317 (GptHeader*)drive->gpt.secondary_header)) && in GptShow()
323 header = (GptHeader*)drive->gpt.secondary_header; in GptShow()
324 entries = (GptEntry*)drive->gpt.secondary_entries; in GptShow()