Home
last modified time | relevance | path

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

/external/fsck_msdos/
Dboot.c87 boot->FATsecs = boot->FATsmall;
92 boot->FATsecs = block[36] + (block[37] << 8)
240 + boot->FATs * boot->FATsecs
259 boot->NumFatEntries = (boot->FATsecs * boot->BytesPerSec) / 4;
262 boot->NumFatEntries = (boot->FATsecs * boot->BytesPerSec) / 2;
265 boot->NumFatEntries = (boot->FATsecs * boot->BytesPerSec * 2) / 3;
271 boot->NumClusters, boot->FATsecs);
Dfat.c174 (boot->FATsecs * boot->BytesPerSec) / 1024); in _readfat()
176 *buffer = malloc(boot->FATsecs * boot->BytesPerSec); in _readfat()
182 off = boot->ResSectors + no * boot->FATsecs; 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()
645 off = boot->ResSectors + i * boot->FATsecs; in writefat()
Ddosfs.h78 u_int32_t FATsecs; /* how many sectors are in FAT */ member
Dcheck.c103 if (((boot.FATsecs * boot.BytesPerSec) / 1024) > FAT_COMPARE_MAX_KB) in checkfilesys()
Ddir.c462 off = boot->ResSectors + boot->FATs * boot->FATsecs; in check_dot_dot()
556 off = boot->ResSectors + boot->FATs * boot->FATsecs; in readDosDirSection()