Searched refs:BPSEC (Results 1 – 5 of 5) sorted by relevance
/titanic_44/usr/src/cmd/fs.d/pcfs/mkfs/ |
H A D | mkfs.c | 719 *seekto *= BPSEC; in seek_partn() 723 "Sector %x.\n"), *seekto/BPSEC); in seek_partn() 741 *seekto *= BPSEC; in seek_partn() 745 "Sector %x.\n"), *seekto/BPSEC); in seek_partn() 782 if (lseek64(fd, nextseek * BPSEC, SEEK_SET) < 0 || in seek_partn() 859 *seekto *= BPSEC; in seek_partn() 864 "Sector 0x%x.\n"), *seekto/BPSEC); in seek_partn() 899 *seekto *= BPSEC; in seek_partn() 904 "Sector %x.\n"), *seekto/BPSEC); in seek_partn() 934 *seekto = RelOffset * BPSEC; in seek_nofdisk() [all …]
|
H A D | mkfs_pcfs.h | 36 #define BPSEC 512 /* Assumed # of bytes per sector */ macro 222 uchar_t buf[BPSEC];
|
/titanic_44/usr/src/cmd/fs.d/pcfs/fsck/ |
H A D | bpb.c | 186 if (read(fd, ubpb.buf, BPSEC) < BPSEC) { in readBPB() 215 if (TheBIOSParameterBlock.bpb.bytes_per_sector != BPSEC && in readBPB() 216 TheBIOSParameterBlock.bpb.bytes_per_sector != 2 * BPSEC && in readBPB() 217 TheBIOSParameterBlock.bpb.bytes_per_sector != 4 * BPSEC) { in readBPB()
|
H A D | pcfs_bpb.h | 43 #define BPSEC 512 /* Assumed # of bytes per sector */ macro 224 uchar_t buf[BPSEC];
|
H A D | pcfs_common.c | 552 found = ltohi(part[bootPart].relsect) * BPSEC; in findPartitionOffset() 557 found = ltohi(part[primaryPart].relsect) * BPSEC; in findPartitionOffset() 589 if (lseek64(fd, nextseek * BPSEC, SEEK_SET) < 0 || in findPartitionOffset() 652 found *= BPSEC; in findPartitionOffset() 673 found = ltohi(part[extraDrives[driveIndex]].relsect) * BPSEC; in findPartitionOffset()
|