Lines Matching defs:gpt
0 /* gpt.c - Read GUID Partition Tables (GPT). */
55 struct grub_gpt_header gpt;
78 if (grub_disk_read (disk, 1 << sector_log, 0, sizeof (gpt), &gpt))
81 if (grub_memcmp (gpt.magic, grub_gpt_magic, sizeof (grub_gpt_magic)) == 0)
87 grub_dprintf ("gpt", "Read a valid GPT header\n");
89 entries = grub_le_to_cpu64 (gpt.partitions) << sector_log;
90 for (i = 0; i < grub_le_to_cpu32 (gpt.maxpart); i++)
109 grub_dprintf ("gpt", "GPT entry %d: start=%lld, length=%lld\n", i,
117 last_offset += grub_le_to_cpu32 (gpt.partentry_size);
201 .name = "gpt",