Lines Matching refs:rcnt
3941 UINT rcnt, cc, csect; local
3952 …for ( ; btr > 0; btr -= rcnt, *br += rcnt, rbuff += rcnt, fp->fptr += rcnt) { /* Repeat until btr …
3992 rcnt = SS(fs) * cc; /* Number of bytes transferred */
4008 rcnt = SS(fs) - (UINT)fp->fptr % SS(fs); /* Number of bytes remains in the sector */
4009 if (rcnt > btr) rcnt = btr; /* Clip it by btr if needed */
4012 memcpy(rbuff, fs->win + fp->fptr % SS(fs), rcnt); /* Extract partial sector */
4014 memcpy(rbuff, fp->buf + fp->fptr % SS(fs), rcnt); /* Extract partial sector */
5691 UINT rcnt, csect; local
5703 …for ( ; btf > 0 && (*func)(0, 0); fp->fptr += rcnt, *bf += rcnt, btf -= rcnt) { /* Repeat until al…
5733 rcnt = SS(fs) - (UINT)fp->fptr % SS(fs); /* Number of bytes remains in the sector */
5734 if (rcnt > btf) rcnt = btf; /* Clip it by btr if needed */
5735 rcnt = (*func)(dbuf + ((UINT)fp->fptr % SS(fs)), rcnt); /* Forward the file data */
5736 if (rcnt == 0) ABORT(fs, FR_INT_ERR);