Home
last modified time | relevance | path

Searched refs:hdr_entsz (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/boot/common/
H A Dgpt.c70 entries_per_sec = DEV_BSIZE / hdr->hdr_entsz; in gptupdate()
82 hdr->hdr_entries * hdr->hdr_entsz); in gptupdate()
198 hdr->hdr_entsz < sizeof (struct gpt_ent) || in gptread_hdr()
199 hdr->hdr_entries > MAXTBLENTS || DEV_BSIZE % hdr->hdr_entsz != 0) { in gptread_hdr()
243 entries_per_sec = DEV_BSIZE / hdr->hdr_entsz; in gptbootconv()
273 hdr->hdr_entries * hdr->hdr_entsz); in gptbootconv()
294 entries_per_sec = DEV_BSIZE / hdr->hdr_entsz; in gptread_table()
313 if (crc32(0, table, nent * hdr->hdr_entsz) != hdr->hdr_crc_table) { in gptread_table()
H A Dpart.c212 hdr->hdr_entsz = le32toh(hdr->hdr_entsz); in gpt_checkhdr()
214 hdr->hdr_entsz < sizeof (struct gpt_ent) || in gpt_checkhdr()
215 sectorsize % hdr->hdr_entsz != 0) { in gpt_checkhdr()
234 cnt = size / hdr->hdr_entsz; in gpt_checktbl()
239 crc32(0, tbl, hdr->hdr_entries * hdr->hdr_entsz)) { in gpt_checktbl()
245 ent = (struct gpt_ent *)(tbl + i * hdr->hdr_entsz); in gpt_checktbl()
286 size = MIN(MAXTBLSZ, (phdr->hdr_entries * phdr->hdr_entsz + in ptable_gptread()
316 hdr.hdr_entsz != phdr->hdr_entsz || in ptable_gptread()
320 phdr->hdr_entsz + table->sectorsize - 1) / in ptable_gptread()
336 size = MIN(hdr.hdr_entries * hdr.hdr_entsz, in ptable_gptread()
[all …]
/illumos-gate/usr/src/boot/sys/sys/
H A Dgpt.h47 uint32_t hdr_entsz; member