Lines Matching defs:sectorsize
80 uint16_t sectorsize;
153 uint16_t sectorsize)
162 if (sz < 92 || sz > sectorsize) {
192 sectorsize % hdr->hdr_entsz != 0) {
243 buf = malloc(table->sectorsize);
246 tbl = malloc(table->sectorsize * MAXTBLSZ);
260 table->sectorsize);
265 table->sectorsize));
267 gpt_checktbl(phdr, tbl, size * table->sectorsize,
279 table->sectors - 1, table->sectorsize);
299 table->sectorsize));
301 gpt_checktbl(phdr, tbl, size * table->sectorsize,
315 MAXTBLSZ * table->sectorsize);
402 buf = malloc(table->sectorsize);
470 if (table->sectorsize < sizeof(struct disklabel)) {
471 DPRINTF("Too small sectorsize");
474 buf = malloc(table->sectorsize);
487 if (le32toh(dl->d_secsize) != table->sectorsize) {
549 if (table->sectorsize != sizeof(struct vtoc8))
551 buf = malloc(table->sectorsize);
604 #define cdb2devb(bno) ((bno) * ISO_DEFAULT_BLOCK_SIZE / table->sectorsize)
613 buf = malloc(table->sectorsize);
644 ptable_open(void *dev, uint64_t sectors, uint16_t sectorsize,
657 buf = malloc(sectorsize);
670 table->sectorsize = sectorsize;
808 uint64_t tmp = table->sectors * table->sectorsize;