Lines Matching refs:tblsz
522 unsigned int idx, sectors, tblsz, size;
532 tblsz = hdr->hdr_entries * hdr->hdr_entsz;
533 sectors = howmany(tblsz, pp->sectorsize);
548 if (crc32(buf, tblsz) != hdr->hdr_crc_table) {
663 size_t tblsz;
671 tblsz = howmany(basetable->gpt_entries * sizeof(struct gpt_ent),
674 pp->mediasize < (3 + 2 * tblsz + basetable->gpt_entries) *
1160 size_t tblsz;
1166 tblsz = howmany(table->hdr->hdr_entries * table->hdr->hdr_entsz,
1182 buf = g_malloc((tblsz + 1) * pp->sectorsize, M_WAITOK | M_ZERO);
1220 for (index = 0; index < tblsz; index += MAXPHYS / pp->sectorsize) {
1224 (tblsz - index > MAXPHYS / pp->sectorsize) ? MAXPHYS:
1225 (tblsz - index) * pp->sectorsize);
1242 for (index = 0; index < tblsz; index += MAXPHYS / pp->sectorsize) {
1246 (tblsz - index > MAXPHYS / pp->sectorsize) ? MAXPHYS:
1247 (tblsz - index) * pp->sectorsize);
1267 size_t spb, tblsz;
1271 tblsz = howmany(basetable->gpt_entries * sizeof(struct gpt_ent),
1277 table->lba[GPT_ELT_SECTBL] = last - tblsz;
1283 max = start = 2 + tblsz;
1284 min = end = last - tblsz - 1;