Searched refs:BytesPerSec (Results 1 - 4 of 4) sorted by relevance

/netbsd-6-1-5-RELEASE/sbin/fsck_msdos/
H A Dboot.c65 boot->BytesPerSec = block[11] + (block[12] << 8);
100 if (lseek(dosfs, boot->FSInfo * boot->BytesPerSec, SEEK_SET)
101 != boot->FSInfo * boot->BytesPerSec
127 if (lseek(dosfs, boot->FSInfo * boot->BytesPerSec, SEEK_SET)
128 != boot->FSInfo * boot->BytesPerSec
147 if (lseek(dosfs, boot->Backup * boot->BytesPerSec, SEEK_SET)
148 != boot->Backup * boot->BytesPerSec
175 boot->ClusterOffset = (boot->RootDirEnts * 32 + boot->BytesPerSec - 1)
176 / boot->BytesPerSec
181 if (boot->BytesPerSec
[all...]
H A Ddosfs.h42 u_int BytesPerSec; /* bytes per sector */ member in struct:bootblock
H A Dfat.c88 *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) {
471 buffer = malloc(fatsz = boot->FATsecs * boot->BytesPerSec);
555 off *= boot->BytesPerSec;
H A Ddir.c226 b2 = boot->SecPerClust * boot->BytesPerSec;
319 int clsz = boot->SecPerClust * boot->BytesPerSec;
330 off *= boot->BytesPerSec;
491 last = boot->SecPerClust * boot->BytesPerSec;
495 off *= boot->BytesPerSec;
969 + boot->ClusterOffset * boot->BytesPerSec;

Completed in 139 milliseconds