Searched refs:bpsec (Results 1 – 5 of 5) sorted by relevance
| /illumos-gate/usr/src/cmd/fs.d/pcfs/fsck/ |
| H A D | fsck_main.c | 51 size_t bpsec = MINBPS; variable 189 rv = get_media_sector_size(*inFD, &bpsec); in openFS() 196 if (!is_sector_size_valid(bpsec)) { in openFS() 198 gettext("unsupported sector size: %zu\n"), bpsec); in openFS() 204 findPartitionOffset(*inFD, bpsec, suffix)) < 0) { in openFS()
|
| H A D | bpb.c | 186 if (read(fd, ubpb.buf, bpsec) < bpsec) { in readBPB()
|
| H A D | fsck_pcfs.h | 171 extern size_t bpsec;
|
| /illumos-gate/usr/src/cmd/fs.d/pcfs/common/ |
| H A D | pcfs_common.c | 455 findPartitionOffset(int fd, size_t bpsec, char *ldrive) in findPartitionOffset() argument 489 if (read(fd, &mb, bpsec) != (ssize_t)bpsec) { in findPartitionOffset() 553 found = ltohi(part[bootPart].relsect) * bpsec; in findPartitionOffset() 558 found = ltohi(part[primaryPart].relsect) * bpsec; in findPartitionOffset() 590 if (lseek64(fd, nextseek * bpsec, SEEK_SET) < 0 || in findPartitionOffset() 653 found *= bpsec; in findPartitionOffset() 674 found = ltohi(part[extraDrives[driveIndex]].relsect) * bpsec; in findPartitionOffset()
|
| H A D | pcfs_common.h | 74 extern off64_t findPartitionOffset(int fd, size_t bpsec, char *ldrive);
|