Searched refs:bpbBytesPerSec (Results 1 – 10 of 10) sorted by relevance
| /freebsd-13.1/sbin/fsck_msdosfs/ |
| H A D | boot.c | 71 boot->bpbBytesPerSec = block[11] + (block[12] << 8); in readboot() 72 if (boot->bpbBytesPerSec < DOSBOOTBLOCKSIZE_REAL || in readboot() 73 boot->bpbBytesPerSec > DOSBOOTBLOCKSIZE || in readboot() 74 !powerof2(boot->bpbBytesPerSec)) { in readboot() 75 pfatal("Invalid sector size: %u", boot->bpbBytesPerSec); in readboot() 203 SEEK_SET) != boot->bpbFSInfo * boot->bpbBytesPerSec in readboot() 229 boot->bpbBytesPerSec, SEEK_SET) in readboot() 230 != boot->bpbFSInfo * boot->bpbBytesPerSec in readboot() 260 boot->bpbBytesPerSec - 1) / boot->bpbBytesPerSec + in readboot() 344 != boot->bpbFSInfo * boot->bpbBytesPerSec in writefsinfo() [all …]
|
| H A D | dir.c | 232 cluster_size = boot->bpbSecPerClust * boot->bpbBytesPerSec; in resetDosDirSection() 308 clsz = boot->bpbSecPerClust * boot->bpbBytesPerSec; in delete() 320 off *= boot->bpbBytesPerSec; in delete() 493 buf = malloc(boot->bpbBytesPerSec); in check_subdirectory() 496 boot->bpbBytesPerSec); in check_subdirectory() 500 off *= boot->bpbBytesPerSec; in check_subdirectory() 502 read(fd, buf, boot->bpbBytesPerSec) != (ssize_t)boot->bpbBytesPerSec) { in check_subdirectory() 579 iosize = boot->bpbSecPerClust * boot->bpbBytesPerSec; in readDosDirSection() 600 off *= boot->bpbBytesPerSec; in readDosDirSection() 1122 + boot->FirstCluster * boot->bpbBytesPerSec; in reconnect()
|
| H A D | fat.c | 593 off *= boot->bpbBytesPerSec; in checkdirty() 595 buffer = malloc(len = boot->bpbBytesPerSec); in checkdirty() 606 if ((size_t)read(fs, buffer, boot->bpbBytesPerSec) != in checkdirty() 607 boot->bpbBytesPerSec) { in checkdirty() 660 off *= boot->bpbBytesPerSec; in cleardirty() 662 buffer = malloc(len = boot->bpbBytesPerSec); in cleardirty() 706 fat->fatsize = boot->FATsecs * boot->bpbBytesPerSec; in _readfat() 709 off *= boot->bpbBytesPerSec; in _readfat() 739 fat->fat32_offset = boot->bpbResSectors * boot->bpbBytesPerSec; in _readfat() 1162 dst_off *= boot->bpbBytesPerSec; in copyfat() [all …]
|
| H A D | dosfs.h | 46 u_int bpbBytesPerSec; /* bytes per sector */ member
|
| /freebsd-13.1/sbin/newfs_msdos/ |
| H A D | mkfs_msdos.c | 354 !powerof2(bpb.bpbBytesPerSec)) { in mkfs_msdos() 356 bpb.bpbBytesPerSec); in mkfs_msdos() 390 o.block_size, bpb.bpbBytesPerSec); in mkfs_msdos() 460 bpb.bpbBytesPerSec * NPB) * in mkfs_msdos() 537 DEFBLK, bpb.bpbBytesPerSec); in mkfs_msdos() 563 bpb.bpbBytesPerSec * NPB); in mkfs_msdos() 676 memset(img, 0, bpb.bpbBytesPerSec); in mkfs_msdos() 682 mk2(bsbpb->bpbBytesPerSec, bpb.bpbBytesPerSec); in mkfs_msdos() 765 img += bpb.bpbBytesPerSec; in mkfs_msdos() 952 if (bpb->bpbBytesPerSec) in getdiskinfo() [all …]
|
| /freebsd-13.1/sys/fs/msdosfs/ |
| H A D | bpb.h | 27 uint16_t bpbBytesPerSec; /* bytes per sector */ member 45 uint16_t bpbBytesPerSec; /* bytes per sector */ member 63 uint16_t bpbBytesPerSec; /* bytes per sector */ member 105 int8_t bpbBytesPerSec[2]; /* bytes per sector */ member 123 int8_t bpbBytesPerSec[2]; /* bytes per sector */ member 141 uint8_t bpbBytesPerSec[2]; /* bytes per sector */ member
|
| H A D | bootsect.h | 83 #define bsBytesPerSec bsBPB.bpbBytesPerSec
|
| H A D | msdosfsmount.h | 145 #define pm_BytesPerSec pm_bpb.bpbBytesPerSec
|
| H A D | msdosfs_vfsops.c | 509 pmp->pm_BytesPerSec = getushort(b50->bpbBytesPerSec); in mountmsdosfs()
|
| /freebsd-13.1/usr.sbin/makefs/msdos/ |
| H A D | msdosfs_vfsops.c | 119 pmp->pm_BytesPerSec = getushort(b50->bpbBytesPerSec); in msdosfs_mount()
|