Searched refs:bpbBytesPerSec (Results 1 – 11 of 11) sorted by relevance
| /freebsd-12.1/sbin/fsck_msdosfs/ |
| H A D | boot.c | 68 boot->bpbBytesPerSec = block[11] + (block[12] << 8); in readboot() 85 if (boot->bpbBytesPerSec % DOSBOOTBLOCKSIZE_REAL != 0 || in readboot() 86 boot->bpbBytesPerSec / DOSBOOTBLOCKSIZE_REAL == 0) { in readboot() 87 pfatal("Invalid sector size: %u", boot->bpbBytesPerSec); in readboot() 131 SEEK_SET) != boot->bpbFSInfo * boot->bpbBytesPerSec in readboot() 157 boot->bpbBytesPerSec, SEEK_SET) in readboot() 158 != boot->bpbFSInfo * boot->bpbBytesPerSec in readboot() 179 != boot->bpbBackup * boot->bpbBytesPerSec in readboot() 216 boot->bpbBytesPerSec - 1) / boot->bpbBytesPerSec + in readboot() 265 != boot->bpbFSInfo * boot->bpbBytesPerSec in writefsinfo() [all …]
|
| H A D | fat.c | 80 off *= boot->bpbBytesPerSec; in checkdirty() 82 buffer = malloc(len = boot->bpbBytesPerSec); in checkdirty() 93 if ((size_t)read(fs, buffer, boot->bpbBytesPerSec) != in checkdirty() 94 boot->bpbBytesPerSec) { in checkdirty() 170 *buffer = calloc(boot->FATsecs, boot->bpbBytesPerSec); in _readfat() 178 off *= boot->bpbBytesPerSec; in _readfat() 185 if ((size_t)read(fs, *buffer, boot->FATsecs * boot->bpbBytesPerSec) in _readfat() 186 != boot->FATsecs * boot->bpbBytesPerSec) { in _readfat() 568 fatsz = boot->FATsecs * boot->bpbBytesPerSec; in writefat() 569 buffer = calloc(boot->FATsecs, boot->bpbBytesPerSec); in writefat() [all …]
|
| H A D | dir.c | 230 b2 = boot->bpbSecPerClust * boot->bpbBytesPerSec; in resetDosDirSection() 309 int clsz = boot->bpbSecPerClust * boot->bpbBytesPerSec; in delete() 320 off *= boot->bpbBytesPerSec; in delete() 470 last = boot->bpbSecPerClust * boot->bpbBytesPerSec; in readDosDirSection() 474 off *= boot->bpbBytesPerSec; in readDosDirSection() 965 + boot->ClusterOffset * boot->bpbBytesPerSec; in reconnect()
|
| H A D | dosfs.h | 46 u_int bpbBytesPerSec; /* bytes per sector */ member
|
| /freebsd-12.1/sbin/newfs_msdos/ |
| H A D | mkfs_msdos.c | 338 if (bpb.bpbBytesPerSec < MINBPS) { in mkfs_msdos() 340 bpb.bpbBytesPerSec, MINBPS); in mkfs_msdos() 374 o.block_size, bpb.bpbBytesPerSec); in mkfs_msdos() 447 bpb.bpbBytesPerSec * NPB) * in mkfs_msdos() 524 DEFBLK, bpb.bpbBytesPerSec); in mkfs_msdos() 550 bpb.bpbBytesPerSec * NPB); in mkfs_msdos() 657 memset(img, 0, bpb.bpbBytesPerSec); in mkfs_msdos() 663 mk2(bsbpb->bpbBytesPerSec, bpb.bpbBytesPerSec); in mkfs_msdos() 857 if (bpb->bpbBytesPerSec) in getdiskinfo() 885 if (bpb->bpbBytesPerSec == 0) { in getdiskinfo() [all …]
|
| /freebsd-12.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 | 138 #define pm_BytesPerSec pm_bpb.bpbBytesPerSec
|
| H A D | msdosfs_vfsops.c | 470 pmp->pm_BytesPerSec = getushort(b50->bpbBytesPerSec); in mountmsdosfs()
|
| /freebsd-12.1/usr.sbin/makefs/msdos/ |
| H A D | msdosfsmount.h | 103 #define pm_BytesPerSec pm_bpb.bpbBytesPerSec
|
| H A D | msdosfs_vfsops.c | 118 pmp->pm_BytesPerSec = getushort(b50->bpbBytesPerSec); in msdosfs_mount()
|