HomeSort by: relevance | last modified time | path
    Searched refs:BytesPerSec (Results 1 - 4 of 4) sorted by relevancy

  /src/sbin/fsck_msdos/
boot.c 83 boot->BytesPerSec = block[11] + (block[12] << 8);
133 if (lseek(dosfs, boot->FSInfo * boot->BytesPerSec, SEEK_SET)
134 != boot->FSInfo * boot->BytesPerSec
160 if (lseek(dosfs, boot->FSInfo * boot->BytesPerSec, SEEK_SET)
161 != boot->FSInfo * boot->BytesPerSec
183 if (lseek(dosfs, boot->Backup * boot->BytesPerSec, SEEK_SET)
184 != boot->Backup * boot->BytesPerSec
223 boot->FirstCluster = (boot->RootDirEnts * 32 + boot->BytesPerSec - 1)
224 / boot->BytesPerSec
228 if (boot->BytesPerSec % DOSBOOTBLOCKSIZE != 0)
    [all...]
dosfs.h 42 u_int BytesPerSec; /* bytes per sector */
fat.c 88 *buffer = malloc(len = boot->FATsecs * boot->BytesPerSec);
95 off *= boot->BytesPerSec;
102 if ((size_t)read(fs, *buffer, boot->FATsecs * boot->BytesPerSec)
103 != boot->FATsecs * boot->BytesPerSec) {
486 buffer = malloc(fatsz = boot->FATsecs * boot->BytesPerSec);
572 off *= boot->BytesPerSec;
dir.c 226 b2 = boot->SecPerClust * boot->BytesPerSec;
319 int clsz = boot->SecPerClust * boot->BytesPerSec;
330 off *= boot->BytesPerSec;
493 last = boot->SecPerClust * boot->BytesPerSec;
497 off *= boot->BytesPerSec;
972 + boot->FirstCluster * boot->BytesPerSec;

Completed in 76 milliseconds