Lines Matching refs:sectors
212 numSecs = (uint32_t) geometry.sectors; in GetNumSecsPerTrack()
392 uint64_t sectors = 0; // size in sectors in DiskSize() local
412 *err = ioctl(fd, DKIOCGETBLOCKCOUNT, §ors); in DiskSize()
418 sectors = minfo.dki_capacity; in DiskSize()
424 sectors = bytes / b; in DiskSize()
432 sectors = sz = 0; in DiskSize()
437 sectors = sz; in DiskSize()
439 sectors = (b >> 9); in DiskSize()
443 sectors /= (GetBlockSize() / 512); in DiskSize()
452 if ((sectors == 0) || (*err == -1)) { in DiskSize()
458 sectors = bytes / UINT64_C(512); in DiskSize()
462 return sectors; in DiskSize()