Lines Matching refs:rcnt
3862 UINT rcnt, cc, csect; local
3873 …for ( ; btr > 0; btr -= rcnt, *br += rcnt, rbuff += rcnt, fp->fptr += rcnt) { /* Repeat until btr …
3913 rcnt = SS(fs) * cc; /* Number of bytes transferred */
3929 rcnt = SS(fs) - (UINT)fp->fptr % SS(fs); /* Number of bytes remains in the sector */
3930 if (rcnt > btr) rcnt = btr; /* Clip it by btr if needed */
3933 memcpy(rbuff, fs->win + fp->fptr % SS(fs), rcnt); /* Extract partial sector */
3935 memcpy(rbuff, fp->buf + fp->fptr % SS(fs), rcnt); /* Extract partial sector */
5593 UINT rcnt, csect; local
5605 …for ( ; btf > 0 && (*func)(0, 0); fp->fptr += rcnt, *bf += rcnt, btf -= rcnt) { /* Repeat until al…
5635 rcnt = SS(fs) - (UINT)fp->fptr % SS(fs); /* Number of bytes remains in the sector */
5636 if (rcnt > btf) rcnt = btf; /* Clip it by btr if needed */
5637 rcnt = (*func)(dbuf + ((UINT)fp->fptr % SS(fs)), rcnt); /* Forward the file data */
5638 if (rcnt == 0) ABORT(fs, FR_INT_ERR);