Searched refs:BPSEC (Results 1 – 5 of 5) sorted by relevance
721 *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 …]
34 #define BPSEC 512 /* Assumed # of bytes per sector */ macro220 uchar_t buf[BPSEC];
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()
41 #define BPSEC 512 /* Assumed # of bytes per sector */ macro222 uchar_t buf[BPSEC];
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()