Lines Matching refs:fatbase
1052 if (fs->winsect - fs->fatbase < fs->fsize) { /* Is it in the 1st FAT? */ in sync_window()
1168 if (move_window(fs, fs->fatbase + (bc / SS(fs))) != FR_OK) break; in get_fat()
1170 if (move_window(fs, fs->fatbase + (bc / SS(fs))) != FR_OK) break; in get_fat()
1176 if (move_window(fs, fs->fatbase + (clst / (SS(fs) / 2))) != FR_OK) break; in get_fat()
1181 if (move_window(fs, fs->fatbase + (clst / (SS(fs) / 4))) != FR_OK) break; in get_fat()
1202 if (move_window(fs, fs->fatbase + (clst / (SS(fs) / 4))) != FR_OK) break; in get_fat()
1241 res = move_window(fs, fs->fatbase + (bc / SS(fs))); in put_fat()
1246 res = move_window(fs, fs->fatbase + (bc / SS(fs))); in put_fat()
1254 res = move_window(fs, fs->fatbase + (clst / (SS(fs) / 2))); in put_fat()
1264 res = move_window(fs, fs->fatbase + (clst / (SS(fs) / 4))); in put_fat()
3322 fs->fatbase = bsect + ld_dword(fs->win + BPB_FatOfsEx);
3341 if (move_window(fs, fs->fatbase + bcl / (SS(fs) / 4)) != FR_OK) return FR_DISK_ERR;
3390 fs->fatbase = bsect + nrsv; /* FAT start sector */
3399 fs->dirbase = fs->fatbase + fasize; /* Root directory start sector */
4689 sect = fs->fatbase; /* Top of the FAT */