Lines Matching refs:fatbase
1035 if (fs->winsect - fs->fatbase < fs->fsize) { /* Is it in the 1st FAT? */ in sync_window()
1150 if (move_window(fs, fs->fatbase + (bc / SS(fs))) != FR_OK) break; in get_fat()
1152 if (move_window(fs, fs->fatbase + (bc / SS(fs))) != FR_OK) break; in get_fat()
1158 if (move_window(fs, fs->fatbase + (clst / (SS(fs) / 2))) != FR_OK) break; in get_fat()
1163 if (move_window(fs, fs->fatbase + (clst / (SS(fs) / 4))) != FR_OK) break; in get_fat()
1184 if (move_window(fs, fs->fatbase + (clst / (SS(fs) / 4))) != FR_OK) break; in get_fat()
1224 res = move_window(fs, fs->fatbase + (bc / SS(fs))); in put_fat()
1229 res = move_window(fs, fs->fatbase + (bc / SS(fs))); in put_fat()
1237 res = move_window(fs, fs->fatbase + (clst / (SS(fs) / 2))); in put_fat()
1247 res = move_window(fs, fs->fatbase + (clst / (SS(fs) / 4))); in put_fat()
3428 fs->fatbase = bsect + ld_dword(fs->win + BPB_FatOfsEx);
3447 if (move_window(fs, fs->fatbase + bcl / (SS(fs) / 4)) != FR_OK) return FR_DISK_ERR;
3496 fs->fatbase = bsect + nrsv; /* FAT start sector */
3505 fs->dirbase = fs->fatbase + fasize; /* Root directory start sector */
4806 sect = fs->fatbase; /* Top of the FAT */