Searched refs:BPSEC (Results 1 - 5 of 5) sorted by relevance

/illumos-gate/usr/src/cmd/fs.d/pcfs/fsck/
H A Dbpb.c186 if (read(fd, ubpb.buf, BPSEC) < BPSEC) {
210 * equal 256 (BPSEC). I personally have yet to see a file
215 if (TheBIOSParameterBlock.bpb.bytes_per_sector != BPSEC &&
216 TheBIOSParameterBlock.bpb.bytes_per_sector != 2 * BPSEC &&
217 TheBIOSParameterBlock.bpb.bytes_per_sector != 4 * BPSEC) {
H A Dpcfs_bpb.h43 #define BPSEC 512 /* Assumed # of bytes per sector */ macro
224 uchar_t buf[BPSEC];
H A Dpcfs_common.c552 found = ltohi(part[bootPart].relsect) * BPSEC;
557 found = ltohi(part[primaryPart].relsect) * BPSEC;
589 if (lseek64(fd, nextseek * BPSEC, SEEK_SET) < 0 ||
652 found *= BPSEC;
673 found = ltohi(part[extraDrives[driveIndex]].relsect) * BPSEC;
/illumos-gate/usr/src/cmd/fs.d/pcfs/mkfs/
H A Dmkfs.c719 *seekto *= BPSEC;
723 "Sector %x.\n"), *seekto/BPSEC); local
741 *seekto *= BPSEC;
745 "Sector %x.\n"), *seekto/BPSEC); local
782 if (lseek64(fd, nextseek * BPSEC, SEEK_SET) < 0 ||
859 *seekto *= BPSEC;
864 "Sector 0x%x.\n"), *seekto/BPSEC); local
899 *seekto *= BPSEC;
904 "Sector %x.\n"), *seekto/BPSEC); local
934 *seekto = RelOffset * BPSEC;
941 *seekto/BPSEC); local
[all...]
H A Dmkfs_pcfs.h36 #define BPSEC 512 /* Assumed # of bytes per sector */ macro
222 uchar_t buf[BPSEC];

Completed in 66 milliseconds