Home | History | Annotate | Download | only in cgpt

Lines Matching refs:gpt

17 #include "gpt.h"
44 // Handle to the drive storing the GPT.
47 GptData gpt;
52 // Opens a block device or file, loads raw GPT data from it.
54 // If 'drive_size' is 0, both the partitions and GPT structs reside on the same
57 // partitions will reside on, and 'drive_path' is where we store GPT structs.
143 /* Helper functions for supported GPT types. */
150 GptEntry *GetEntry(GptData *gpt, int secondary, uint32_t entry_index);
167 uint8_t RepairHeader(GptData *gpt, const uint32_t valid_headers);
168 uint8_t RepairEntries(GptData *gpt, const uint32_t valid_entries);
169 void UpdateCrc(GptData *gpt);
178 // Some external utilities need to manipulate the GPT, but don't create new
202 // Size in chars of the GPT Entry's PartitionName field