Lines Matching defs:sectors
83 uint64_t sectors;
277 phdr = gpt_checkhdr((struct gpt_hdr *)buf, 1, table->sectors - 1,
285 table->sectors - 1) == 0) {
290 offset = pri ? hdr.hdr_lba_alt: table->sectors - 1;
296 table->sectors - 1, table->sectorsize);
319 table->sectors - 1) == 0) {
407 #if 0 /* Some BIOSes return an incorrect number of sectors */
408 if (offset >= table->sectors)
550 uint16_t sum, heads, sectors;
576 sectors = be16toh(dl->nsecs);
578 if (sectors * heads == 0) {
591 entry->part.start = be32toh(dl->map[i].cyl) * heads * sectors;
693 ptable_open(void *dev, off_t sectors, uint16_t sectorsize,
718 table->sectors = sectors;
799 #if 0 /* Some BIOSes return an incorrect number of sectors */
800 if (start + end - 1 >= sectors)