Home
last modified time | relevance | path

Searched refs:gpt_ent (Results 1 – 7 of 7) sorted by relevance

/freebsd/stand/libsa/
H A Dgpt.c41 static struct gpt_ent table_primary[MAXTBLENTS], table_backup[MAXTBLENTS];
42 static struct gpt_ent *gpttable;
53 struct gpt_ent *table) in gptupdate()
93 struct gpt_ent *ent; in gptfind()
195 hdr->hdr_entsz < sizeof(struct gpt_ent) || in gptread_hdr()
233 struct gpt_ent *table) in gptbootconv()
235 struct gpt_ent *ent; in gptbootconv()
283 struct gpt_ent *table) in gptread_table()
285 struct gpt_ent *ent; in gptread_table()
302 ent = (struct gpt_ent *)secbuf; in gptread_table()
/freebsd/usr.bin/mkimg/
H A Dgpt.c140 eps = secsz / sizeof(struct gpt_ent); in gpt_tblsz()
185 static struct gpt_ent *
189 struct gpt_ent *tbl, *ent; in gpt_mktbl()
233 struct gpt_ent *tbl; in gpt_write()
270 le32enc(&hdr->hdr_entries, tblsz * secsz / sizeof(struct gpt_ent)); in gpt_write()
271 le32enc(&hdr->hdr_entsz, sizeof(struct gpt_ent)); in gpt_write()
/freebsd/sys/sys/disk/
H A Dgpt.h92 struct gpt_ent { struct
105 CTASSERT(sizeof(struct gpt_ent) == 128); argument
/freebsd/stand/common/
H A Dpart.c186 hdr->hdr_entsz < sizeof(struct gpt_ent) || in gpt_checkhdr()
203 struct gpt_ent *ent; in gpt_checktbl()
217 ent = (struct gpt_ent *)(tbl + i * hdr->hdr_entsz); in gpt_checktbl()
232 struct gpt_ent *ent; in ptable_gptread()
324 ent = (struct gpt_ent *)(tbl + i * hdr.hdr_entsz); in ptable_gptread()
/freebsd/sys/geom/part/
H A Dg_part_gpt.c64 CTASSERT(sizeof(struct gpt_ent) == 128);
100 struct gpt_ent ent;
543 static struct gpt_ent *
548 struct gpt_ent *ent, *tbl; in gpt_read_tbl()
587 tbl = g_malloc(hdr->hdr_entries * sizeof(struct gpt_ent), in gpt_read_tbl()
704 tblsz = howmany(basetable->gpt_entries * sizeof(struct gpt_ent), in g_part_gpt_create()
721 table->hdr->hdr_entsz = sizeof(struct gpt_ent); in g_part_gpt_create()
933 struct gpt_ent *tbl, *pritbl, *sectbl; in g_part_gpt_read()
1332 tblsz = howmany(basetable->gpt_entries * sizeof(struct gpt_ent), in g_gpt_set_defaults()
H A Dg_part_ldm.c1220 struct gpt_ent *part; in ldm_gpt_probe()
1231 part = (struct gpt_ent *)(entry + 1); in ldm_gpt_probe()
/freebsd/sys/geom/label/
H A Dg_label_gpt.c47 struct gpt_ent ent;