Home | History | Annotate | Download | only in include

Lines Matching refs:gpt

9 #include "gpt.h"
39 * because those are what verified boot needs. For more precise control on GPT
55 * its GPT entry is marked with S1,P1,T15.
60 * its GPT entry is marked with S0,P0,T0.
65 /* If this bit is 1, the GPT is stored in another from the streaming data */
73 * gpt_drive_sectors, but it does do a memset(gpt, 0, sizeof(GptData)). And so,
83 /* GPT primary header, from sector 1 of disk (size: 512 bytes) */
85 /* GPT secondary header, from last sector of disk (size: 512 bytes) */
87 /* Primary GPT table, follows primary header (size: 16 KB) */
89 /* Secondary GPT table, precedes secondary header (size: 16 KB) */
95 /* Size of the device that holds the GPT structures, 512-byte sectors */
105 * found on drive. Note that GPT partition numbers are traditionally
116 * Initializes the GPT data structure's internal state.
129 * On return the modified field may be set, if the GPT data has been modified
140 int GptInit(GptData *gpt);
144 * from the gpt table. Instance value starts from 0. If the entry is not found,
147 GptEntry *GptFindNthEntry(GptData *gpt, const Guid *guid, unsigned int n);
150 * Allocate and read GPT data from the drive. The sector_bytes and
159 * Write any changes for the GPT data back to the drive, then free the buffers.
169 * Return size(in lba) of a partition represented by given GPT entry.
174 * Return size(in bytes) of a partition represented by given GPT entry.
176 size_t GptGetEntrySizeBytes(const GptData *gpt, const GptEntry *e);
182 * On return the modified field may be set, if the GPT data has been modified
188 int GptUpdateKernelWithEntry(GptData *gpt, GptEntry *e, uint32_t update_type);
197 int GptUpdateKernelEntry(GptData *gpt, uint32_t update_type);