Lines Matching defs:sectors
79 uint64_t sectors;
256 phdr = gpt_checkhdr((struct gpt_hdr *)buf, 1, table->sectors - 1,
264 table->sectors - 1) == 0) {
269 offset = pri ? hdr.hdr_lba_alt: table->sectors - 1;
275 table->sectors - 1, table->sectorsize);
298 table->sectors - 1) == 0) {
383 #if 0 /* Some BIOSes return an incorrect number of sectors */
384 if (offset >= table->sectors)
525 uint16_t sum, heads, sectors;
551 sectors = be16toh(dl->nsecs);
553 if (sectors * heads == 0) {
565 entry->part.start = be32toh(dl->map[i].cyl) * heads * sectors;
583 ptable_open(void *dev, off_t sectors, uint16_t sectorsize,
608 table->sectors = sectors;
683 #if 0 /* Some BIOSes return an incorrect number of sectors */
684 if (start + end - 1 >= sectors)