Lines Matching full:gpt
32 #include <sys/gpt.h>
68 uuid_t gpt; member
153 DPRINTF("no GPT signature"); in gpt_checkhdr()
158 DPRINTF("invalid GPT header size: %d", sz); in gpt_checkhdr()
164 DPRINTF("GPT header's CRC doesn't match"); in gpt_checkhdr()
170 DPRINTF("unsupported GPT revision %d", hdr->hdr_revision); in gpt_checkhdr()
212 DPRINTF("GPT table's CRC doesn't match"); in gpt_checktbl()
246 /* Read the primary GPT header. */ in ptable_gptread()
253 /* Check the primary GPT header. */ in ptable_gptread()
257 /* Read the primary GPT table. */ in ptable_gptread()
269 /* Read the backup GPT header. */ in ptable_gptread()
291 /* Read the backup GPT table. */ in ptable_gptread()
308 DPRINTF("GPT detected"); in ptable_gptread()
314 * in the disk's GPT table header, set the table->sectors to the value in ptable_gptread()
315 * recorded in GPT tables. This is done to work around buggy firmware in ptable_gptread()
342 memcpy(&entry->type.gpt, &ent->ent_type, sizeof(uuid_t)); in ptable_gptread()
344 DPRINTF("new GPT partition added"); in ptable_gptread()
607 /* There is no PMBR, check that we have backup GPT */ in ptable_open()