Home
last modified time | relevance | path

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

/fatfs-2.7.6/
Dff.c3399 DWORD so, cv, bcl, i; local
3443 bcl = ld_dword(fs->win + i + 20); /* Bitmap cluster */
3444 if (bcl < 2 || bcl >= fs->n_fatent) return FR_NO_FILESYSTEM; /* (Wrong cluster#) */
3445 fs->bitbase = fs->database + fs->csize * (bcl - 2); /* Bitmap sector */
3447 if (move_window(fs, fs->fatbase + bcl / (SS(fs) / 4)) != FR_OK) return FR_DISK_ERR;
3448 cv = ld_dword(fs->win + bcl % (SS(fs) / 4) * 4);
3450 if (cv != ++bcl) return FR_NO_FILESYSTEM; /* Fragmented? */