Home
last modified time | relevance | path

Searched refs:BytesPerSec (Results 1 – 5 of 5) sorted by relevance

/external/fsck_msdos/
Dboot.c74 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 if (boot->BytesPerSec % DOSBOOTBLOCKSIZE != 0) {
197 pfatal("Invalid sector size: %u", boot->BytesPerSec);
204 if (boot->BytesPerSec == 0) {
[all …]
Dfat.c84 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()
Ddir.c231 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()
558 last = boot->SecPerClust * boot->BytesPerSec; in readDosDirSection()
562 off *= boot->BytesPerSec; in readDosDirSection()
1062 + boot->ClusterOffset * boot->BytesPerSec; in reconnect()
Ddosfs.h49 u_int BytesPerSec; /* bytes per sector */ member
Dcheck.c103 if (((boot.FATsecs * boot.BytesPerSec) / 1024) > FAT_COMPARE_MAX_KB) in checkfilesys()