Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/fs.d/pcfs/mkfs/
H A Dmkfs.c721 *seekto *= BPSEC; in seek_partn()
743 *seekto *= BPSEC; in seek_partn()
861 *seekto *= BPSEC; in seek_partn()
901 *seekto *= BPSEC; in seek_partn()
943 *seekto/BPSEC); in seek_nofdisk()
1829 if (read(fd, ubpb.buf, BPSEC) < BPSEC) { in read_existing_bpb()
2615 } else if (read(bsfd, bs->buf, BPSEC) < BPSEC) { in verify_bootblkfile()
2720 *bootblksize = BPSEC; in copy_bootblk()
2826 numsect = idivceil((bootblksize - BPSEC), BPSEC); in build_fat()
3054 char buf[BPSEC]; in write_rest()
[all …]
H A Dmkfs_pcfs.h34 #define BPSEC 512 /* Assumed # of bytes per sector */ macro
220 uchar_t buf[BPSEC];
/illumos-gate/usr/src/cmd/fs.d/pcfs/fsck/
H A Dbpb.c186 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 Dpcfs_bpb.h41 #define BPSEC 512 /* Assumed # of bytes per sector */ macro
222 uchar_t buf[BPSEC];
H A Dpcfs_common.c552 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()