dkwedge_gpt.c | 122 uint32_t entries, entsz; local in function:dkwedge_discover_gpt 179 entsz = roundup(le32toh(hdr->hdr_entsz), 8); 180 if (entsz != sizeof(struct gpt_ent)) { 207 sz = roundup(entries * entsz, secsize); 218 if (crc32(0, bp->b_data, entries * entsz) != gpe_crc) { 235 ent = (struct gpt_ent *)((char *)bp->b_data + (i * entsz));
|