gpt_hdr
gptread_hdr(const char *which, struct dsk *dskp, struct gpt_hdr *hdr,
gptbootconv(const char *which, struct dsk *dskp, struct gpt_hdr *hdr,
struct gpt_hdr *hdr, struct gpt_ent *table)
static struct gpt_hdr hdr_primary, hdr_backup, *gpthdr;
gptupdate(const char *which, struct dsk *dskp, struct gpt_hdr *hdr,
static struct gpt_hdr *
gpt_checkhdr(struct gpt_hdr *hdr, uint64_t lba_self,
gpt_checktbl(const struct gpt_hdr *hdr, uint8_t *tbl, size_t size,
struct gpt_hdr *phdr, hdr;
phdr = gpt_checkhdr((struct gpt_hdr *)buf, 1, table->sectors - 1,
phdr = gpt_checkhdr((struct gpt_hdr *)buf, offset,