Lines Matching defs:gpt
29 __FBSDID("$FreeBSD: src/sbin/gpt/migrate.c,v 1.16 2005/09/01 02:42:52 marcel Exp $");
47 #include "gpt.h"
152 map_t *gpt, *tpg;
214 gpt = map_add(1LL, 1LL, MAP_TYPE_PRI_GPT_HDR, calloc(1, secsz));
217 if (gpt == NULL || tbl == NULL)
224 hdr = gpt->map_data;
232 hdr->hdr_lba_self = htole64(gpt->map_start);
297 gpt_write(fd, gpt);
303 memcpy(tpg->map_data, gpt->map_data, secsz);
306 hdr->hdr_lba_alt = htole64(gpt->map_start);