Home
last modified time | relevance | path

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

/freebsd-13-stable/stand/libsa/
HDgpt.c42 static struct gpt_ent table_primary[MAXTBLENTS], table_backup[MAXTBLENTS];
43 static struct gpt_ent *gpttable;
54 struct gpt_ent *table) in gptupdate()
94 struct gpt_ent *ent; in gptfind()
196 hdr->hdr_entsz < sizeof(struct gpt_ent) || in gptread_hdr()
234 struct gpt_ent *table) in gptbootconv()
236 struct gpt_ent *ent; in gptbootconv()
284 struct gpt_ent *table) in gptread_table()
286 struct gpt_ent *ent; in gptread_table()
303 ent = (struct gpt_ent *)secbuf; in gptread_table()
/freebsd-13-stable/usr.bin/mkimg/
HDgpt.c132 ents = secsz / sizeof(struct gpt_ent); in gpt_tblsz()
177 static struct gpt_ent *
181 struct gpt_ent *tbl, *ent; in gpt_mktbl()
225 struct gpt_ent *tbl; in gpt_write()
262 le32enc(&hdr->hdr_entries, tblsz * secsz / sizeof(struct gpt_ent)); in gpt_write()
263 le32enc(&hdr->hdr_entsz, sizeof(struct gpt_ent)); in gpt_write()
/freebsd-13-stable/sys/sys/disk/
HDgpt.h85 struct gpt_ent { struct
98 CTASSERT(sizeof(struct gpt_ent) == 128); argument
/freebsd-13-stable/stand/common/
HDpart.c187 hdr->hdr_entsz < sizeof(struct gpt_ent) || in gpt_checkhdr()
204 struct gpt_ent *ent; in gpt_checktbl()
218 ent = (struct gpt_ent *)(tbl + i * hdr->hdr_entsz); in gpt_checktbl()
233 struct gpt_ent *ent; in ptable_gptread()
325 ent = (struct gpt_ent *)(tbl + i * hdr.hdr_entsz); in ptable_gptread()
/freebsd-13-stable/sys/geom/part/
HDg_part_gpt.c65 CTASSERT(sizeof(struct gpt_ent) == 128);
101 struct gpt_ent ent;
540 static struct gpt_ent *
545 struct gpt_ent *ent, *tbl; in gpt_read_tbl()
584 tbl = g_malloc(hdr->hdr_entries * sizeof(struct gpt_ent), in gpt_read_tbl()
701 tblsz = howmany(basetable->gpt_entries * sizeof(struct gpt_ent), in g_part_gpt_create()
718 table->hdr->hdr_entsz = sizeof(struct gpt_ent); in g_part_gpt_create()
924 struct gpt_ent *tbl, *pritbl, *sectbl; in g_part_gpt_read()
1308 tblsz = howmany(basetable->gpt_entries * sizeof(struct gpt_ent), in g_gpt_set_defaults()
HDg_part_ldm.c1221 struct gpt_ent *part; in ldm_gpt_probe()
1232 part = (struct gpt_ent *)(entry + 1); in ldm_gpt_probe()
/freebsd-13-stable/sys/geom/label/
HDg_label_gpt.c48 struct gpt_ent ent;