Lines Matching refs:sectorsize
78 uint16_t sectorsize;
150 uint16_t sectorsize)
159 if (sz < 92 || sz > sectorsize) {
189 sectorsize % hdr->hdr_entsz != 0) {
240 buf = malloc(table->sectorsize);
243 tbl = malloc(table->sectorsize * MAXTBLSZ);
257 table->sectorsize);
262 table->sectorsize));
264 gpt_checktbl(phdr, tbl, size * table->sectorsize,
276 table->sectors - 1, table->sectorsize);
296 table->sectorsize));
298 gpt_checktbl(phdr, tbl, size * table->sectorsize,
312 MAXTBLSZ * table->sectorsize);
380 buf = malloc(table->sectorsize);
450 if (table->sectorsize < sizeof(struct disklabel)) {
451 DEBUG("Too small sectorsize");
454 buf = malloc(table->sectorsize);
467 if (le32toh(dl->d_secsize) != table->sectorsize) {
531 if (table->sectorsize != sizeof(struct vtoc8))
533 buf = malloc(table->sectorsize);
587 ptable_open(void *dev, off_t sectors, uint16_t sectorsize,
600 buf = malloc(sectorsize);
613 table->sectorsize = sectorsize;