Home
last modified time | relevance | path

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

/fatfs-2.7.6/
Dff.c3961 UINT wcnt, cc, csect; local
3975 …for ( ; btw > 0; btw -= wcnt, *bw += wcnt, wbuff += wcnt, fp->fptr += wcnt, fp->obj.objsize = (fp-…
4030 wcnt = SS(fs) * cc; /* Number of bytes transferred */
4047 wcnt = SS(fs) - (UINT)fp->fptr % SS(fs); /* Number of bytes remains in the sector */
4048 if (wcnt > btw) wcnt = btw; /* Clip it by btw if needed */
4051 memcpy(fs->win + fp->fptr % SS(fs), wbuff, wcnt); /* Fit data to the sector */
4054 memcpy(fp->buf + fp->fptr % SS(fs), wbuff, wcnt); /* Fit data to the sector */