Home
last modified time | relevance | path

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

/fatfs-2.7.6/
Dff.c3862 UINT rcnt, cc, csect; local
3896 cc = btr / SS(fs); /* When remaining bytes >= sector size, */
3897 if (cc > 0) { /* Read maximum contiguous sectors directly */
3898 if (csect + cc > fs->csize) { /* Clip at cluster boundary */
3899 cc = fs->csize - csect;
3901 if (disk_read(fs->pdrv, rbuff, sect, cc) != RES_OK) ABORT(fs, FR_DISK_ERR);
3904 if (fs->wflag && fs->winsect - sect < cc) {
3908 if ((fp->flag & FA_DIRTY) && fp->sect - sect < cc) {
3913 rcnt = SS(fs) * cc; /* Number of bytes transferred */
3961 UINT wcnt, cc, csect; local
[all …]