Lines Matching refs:sectors
210 numSecs = (uint32_t) geometry.sectors; in GetNumSecsPerTrack()
390 uint64_t sectors = 0; // size in sectors in DiskSize() local
410 *err = ioctl(fd, DKIOCGETBLOCKCOUNT, §ors); in DiskSize()
416 sectors = minfo.dki_capacity; in DiskSize()
422 sectors = bytes / b; in DiskSize()
430 sectors = sz = 0; in DiskSize()
435 sectors = sz; in DiskSize()
437 sectors = (b >> 9); in DiskSize()
441 sectors /= (GetBlockSize() / 512); in DiskSize()
450 if ((sectors == 0) || (*err == -1)) { in DiskSize()
456 sectors = bytes / UINT64_C(512); in DiskSize()
460 return sectors; in DiskSize()