gpt_ent
hdr->hdr_entsz < sizeof(struct gpt_ent) ||
struct gpt_ent *ent;
ent = (struct gpt_ent *)(tbl + i * hdr->hdr_entsz);
struct gpt_ent *ent;
ent = (struct gpt_ent *)(tbl + i * hdr.hdr_entsz);
hdr->hdr_entsz < sizeof(struct gpt_ent) ||
struct gpt_ent *table)
struct gpt_ent *ent;
struct gpt_ent *table)
struct gpt_ent *ent;
ent = (struct gpt_ent *)secbuf;
static struct gpt_ent table_primary[MAXTBLENTS], table_backup[MAXTBLENTS];
static struct gpt_ent *gpttable;
struct gpt_ent *table)
struct gpt_ent *ent;
struct gpt_ent ent;
struct gpt_ent ent;
tblsz = howmany(basetable->gpt_entries * sizeof(struct gpt_ent),
static struct gpt_ent *
struct gpt_ent *ent, *tbl;
tbl = g_malloc(hdr->hdr_entries * sizeof(struct gpt_ent),
CTASSERT(sizeof(struct gpt_ent) == 128);
tblsz = howmany(basetable->gpt_entries * sizeof(struct gpt_ent),
table->hdr->hdr_entsz = sizeof(struct gpt_ent);
struct gpt_ent *tbl, *pritbl, *sectbl;
struct gpt_ent *part;
part = (struct gpt_ent *)(entry + 1);
CTASSERT(sizeof(struct gpt_ent) == 128);
eps = secsz / sizeof(struct gpt_ent);
static struct gpt_ent *
struct gpt_ent *tbl, *ent;
struct gpt_ent *tbl;
le32enc(&hdr->hdr_entries, tblsz * secsz / sizeof(struct gpt_ent));
le32enc(&hdr->hdr_entsz, sizeof(struct gpt_ent));