Home
last modified time | relevance | path

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

/fatfs-2.7.6/
Dff.c1033 if (disk_write(fs->pdrv, fs->win, fs->winsect, 1) == RES_OK) { /* Write it back into the volume */ in sync_window()
1035 if (fs->winsect - fs->fatbase < fs->fsize) { /* Is it in the 1st FAT? */ in sync_window()
1036 …if (fs->n_fats == 2) disk_write(fs->pdrv, fs->win, fs->winsect + fs->fsize, 1); /* Reflect it to 2… in sync_window()
1055 if (sect != fs->winsect) { /* Window offset changed? */ in move_window()
1064 fs->winsect = sect; in move_window()
1095 fs->winsect = fs->volbase + 1; /* Write it into the FSInfo sector (Next to VBR) */ in sync_fs()
1096 disk_write(fs->pdrv, fs->win, fs->winsect, 1); in sync_fs()
1639 fs->winsect = sect; /* Set window to top of the cluster */ in dir_clear()
3247 fs->wflag = 0; fs->winsect = (LBA_t)0 - 1; /* Invaidate window */
3392 bsect = fs->winsect; /* Volume offset */
[all …]
/fatfs-2.7.6/include/
Dff.h175 LBA_t winsect; /* Current sector appearing in the win[] */ member