Searched refs:BytesPerSec (Results 1 – 5 of 5) sorted by relevance
/external/fsck_msdos/ |
D | boot.c | 74 boot->BytesPerSec = block[11] + (block[12] << 8); 109 if (lseek(dosfs, boot->FSInfo * boot->BytesPerSec, SEEK_SET) 110 != boot->FSInfo * boot->BytesPerSec 136 if (lseek(dosfs, boot->FSInfo * boot->BytesPerSec, SEEK_SET) 137 != boot->FSInfo * boot->BytesPerSec 156 if (lseek(dosfs, boot->Backup * boot->BytesPerSec, SEEK_SET) 157 != boot->Backup * boot->BytesPerSec 196 boot->ClusterOffset = (boot->RootDirEnts * 32 + boot->BytesPerSec - 1) 197 / boot->BytesPerSec 202 if (boot->BytesPerSec % DOSBOOTBLOCKSIZE != 0) { [all …]
|
D | fat.c | 84 off *= boot->BytesPerSec; in checkdirty() 86 buffer = malloc(boot->BytesPerSec); in checkdirty() 97 if (read(fs, buffer, boot->BytesPerSec) != boot->BytesPerSec) { in checkdirty() 174 (boot->FATsecs * boot->BytesPerSec) / 1024); in _readfat() 176 *buffer = malloc(boot->FATsecs * boot->BytesPerSec); in _readfat() 183 off *= boot->BytesPerSec; in _readfat() 190 if (read(fs, *buffer, boot->FATsecs * boot->BytesPerSec) in _readfat() 191 != boot->FATsecs * boot->BytesPerSec) { in _readfat() 562 buffer = malloc(fatsz = boot->FATsecs * boot->BytesPerSec); in writefat() 646 off *= boot->BytesPerSec; in writefat()
|
D | dir.c | 231 b2 = boot->SecPerClust * boot->BytesPerSec; in resetDosDirSection() 312 int clsz = boot->SecPerClust * boot->BytesPerSec; in delete() 323 off *= boot->BytesPerSec; in delete() 464 last = boot->SecPerClust * boot->BytesPerSec; in check_dot_dot() 468 off *= boot->BytesPerSec; in check_dot_dot() 556 last = boot->SecPerClust * boot->BytesPerSec; in readDosDirSection() 560 off *= boot->BytesPerSec; in readDosDirSection() 1060 + boot->ClusterOffset * boot->BytesPerSec; in reconnect()
|
D | dosfs.h | 49 u_int BytesPerSec; /* bytes per sector */ member
|
D | check.c | 103 if (((boot.FATsecs * boot.BytesPerSec) / 1024) > FAT_COMPARE_MAX_KB) in checkfilesys()
|