Searched refs:bpbBytesPerSec (Results 1 – 10 of 10) sorted by relevance
63 boot->bpbBytesPerSec = block[11] + (block[12] << 8); in readboot()64 if (boot->bpbBytesPerSec < DOSBOOTBLOCKSIZE_REAL || in readboot()65 boot->bpbBytesPerSec > DOSBOOTBLOCKSIZE || in readboot()66 !powerof2(boot->bpbBytesPerSec)) { in readboot()67 pfatal("Invalid sector size: %u", boot->bpbBytesPerSec); in readboot()195 SEEK_SET) != boot->bpbFSInfo * boot->bpbBytesPerSec in readboot()221 boot->bpbBytesPerSec, SEEK_SET) in readboot()222 != boot->bpbFSInfo * boot->bpbBytesPerSec in readboot()252 boot->bpbBytesPerSec - 1) / boot->bpbBytesPerSec + in readboot()336 != boot->bpbFSInfo * boot->bpbBytesPerSec in writefsinfo()[all …]
224 cluster_size = boot->bpbSecPerClust * boot->bpbBytesPerSec; in resetDosDirSection()302 clsz = boot->bpbSecPerClust * boot->bpbBytesPerSec; in delete()314 off *= boot->bpbBytesPerSec; in delete()500 buf = malloc(boot->bpbBytesPerSec); in check_subdirectory()503 boot->bpbBytesPerSec); in check_subdirectory()507 off *= boot->bpbBytesPerSec; in check_subdirectory()509 read(fd, buf, boot->bpbBytesPerSec) != (ssize_t)boot->bpbBytesPerSec) { in check_subdirectory()586 iosize = boot->bpbSecPerClust * boot->bpbBytesPerSec; in readDosDirSection()607 off *= boot->bpbBytesPerSec; in readDosDirSection()1129 + boot->FirstCluster * boot->bpbBytesPerSec; in reconnect()
572 off *= boot->bpbBytesPerSec; in cleardirty()574 buffer = malloc(len = boot->bpbBytesPerSec); in cleardirty()618 fat->fatsize = boot->FATsecs * boot->bpbBytesPerSec; in _readfat()621 off *= boot->bpbBytesPerSec; in _readfat()651 fat->fat32_offset = boot->bpbResSectors * boot->bpbBytesPerSec; in _readfat()1072 dst_off *= boot->bpbBytesPerSec; in copyfat()1140 dst_base *= boot->bpbBytesPerSec; in writefat()
46 u_int bpbBytesPerSec; /* bytes per sector */ member
348 !powerof2(bpb.bpbBytesPerSec)) { in mkfs_msdos()350 bpb.bpbBytesPerSec); in mkfs_msdos()385 o.block_size, bpb.bpbBytesPerSec); in mkfs_msdos()455 bpb.bpbBytesPerSec * NPB) * in mkfs_msdos()532 DEFBLK, bpb.bpbBytesPerSec); in mkfs_msdos()558 bpb.bpbBytesPerSec * NPB); in mkfs_msdos()669 memset(img, 0, bpb.bpbBytesPerSec); in mkfs_msdos()675 mk2(bsbpb->bpbBytesPerSec, bpb.bpbBytesPerSec); in mkfs_msdos()758 img += bpb.bpbBytesPerSec; in mkfs_msdos()954 if (bpb->bpbBytesPerSec) in getdiskinfo()[all …]
29 uint16_t bpbBytesPerSec; /* bytes per sector */ member47 uint16_t bpbBytesPerSec; /* bytes per sector */ member65 uint16_t bpbBytesPerSec; /* bytes per sector */ member107 int8_t bpbBytesPerSec[2]; /* bytes per sector */ member125 int8_t bpbBytesPerSec[2]; /* bytes per sector */ member143 uint8_t bpbBytesPerSec[2]; /* bytes per sector */ member
84 #define bsBytesPerSec bsBPB.bpbBytesPerSec
125 #define pm_BytesPerSec pm_bpb.bpbBytesPerSec
363 pmp->pm_BytesPerSec = getushort(b50->bpbBytesPerSec); in mountmsdosfs()
113 pmp->pm_BytesPerSec = getushort(b50->bpbBytesPerSec); in m_msdosfs_mount()