Searched refs:bpbBytesPerSec (Results 1 – 5 of 5) sorted by relevance
| /third_party/uapp/fsck-msdosfs/ |
| A D | boot.c | 58 boot->bpbBytesPerSec = block[11] + (block[12] << 8); in readboot() 95 if (lseek(dosfs, boot->bpbFSInfo * boot->bpbBytesPerSec, in readboot() 96 SEEK_SET) != boot->bpbFSInfo * boot->bpbBytesPerSec in readboot() 122 boot->bpbBytesPerSec, SEEK_SET) in readboot() 123 != boot->bpbFSInfo * boot->bpbBytesPerSec in readboot() 142 if (lseek(dosfs, boot->bpbBackup * boot->bpbBytesPerSec, in readboot() 144 != boot->bpbBackup * boot->bpbBytesPerSec in readboot() 172 boot->bpbBytesPerSec - 1) / boot->bpbBytesPerSec + in readboot() 176 if (boot->bpbBytesPerSec % DOSBOOTBLOCKSIZE_REAL != 0) { in readboot() 257 != boot->bpbFSInfo * boot->bpbBytesPerSec in writefsinfo() [all …]
|
| A D | fat.c | 70 off *= boot->bpbBytesPerSec; in checkdirty() 72 buffer = malloc(len = boot->bpbBytesPerSec); in checkdirty() 83 if ((size_t)read(fs, buffer, boot->bpbBytesPerSec) != in checkdirty() 84 boot->bpbBytesPerSec) { in checkdirty() 161 *buffer = malloc(len = boot->FATsecs * boot->bpbBytesPerSec); in _readfat() 168 off *= boot->bpbBytesPerSec; in _readfat() 175 if ((size_t)read(fs, *buffer, boot->FATsecs * boot->bpbBytesPerSec) in _readfat() 176 != boot->FATsecs * boot->bpbBytesPerSec) { in _readfat() 559 buffer = malloc(fatsz = boot->FATsecs * boot->bpbBytesPerSec); in writefat() 645 off *= boot->bpbBytesPerSec; in writefat()
|
| A D | dosfs.h | 44 u_int bpbBytesPerSec; /* bytes per sector */ member
|
| A D | dir.c | 216 b2 = boot->bpbSecPerClust * boot->bpbBytesPerSec; in resetDosDirSection() 310 int clsz = boot->bpbSecPerClust * boot->bpbBytesPerSec; in delete() 321 off *= boot->bpbBytesPerSec; in delete() 465 last = boot->bpbSecPerClust * boot->bpbBytesPerSec; in readDosDirSection() 469 off *= boot->bpbBytesPerSec; in readDosDirSection() 960 + boot->ClusterOffset * boot->bpbBytesPerSec; in reconnect()
|
| /third_party/uapp/mkfs-msdosfs/ |
| A D | mkfs_msdos.c | 130 uint32_t bpbBytesPerSec; /* bytes per sector */ member 258 if (!powerof2(bpb.bpbBytesPerSec)) { in mkfs_msdos() 262 if (bpb.bpbBytesPerSec < MINBPS) { in mkfs_msdos() 293 if (o.block_size < bpb.bpbBytesPerSec) { in mkfs_msdos() 295 bpb.bpbBytesPerSec); in mkfs_msdos() 300 bpb.bpbBytesPerSec * MAXSPC); in mkfs_msdos() 354 sb.st_size < bpb.bpbBytesPerSec || in mkfs_msdos() 359 bss = sb.st_size / bpb.bpbBytesPerSec; in mkfs_msdos() 449 bpb.bpbBytesPerSec * NPB); in mkfs_msdos() 532 mk2(bsbpb->bpbBytesPerSec, bpb.bpbBytesPerSec); in mkfs_msdos() [all …]
|
Completed in 14 milliseconds