Searched refs:wcnt (Results 1 – 1 of 1) sorted by relevance
/fatfs-latest/ |
D | ff.c | 4040 UINT wcnt, cc, csect; local 4054 …for ( ; btw > 0; btw -= wcnt, *bw += wcnt, wbuff += wcnt, fp->fptr += wcnt, fp->obj.objsize = (fp-… 4109 wcnt = SS(fs) * cc; /* Number of bytes transferred */ 4126 wcnt = SS(fs) - (UINT)fp->fptr % SS(fs); /* Number of bytes remains in the sector */ 4127 if (wcnt > btw) wcnt = btw; /* Clip it by btw if needed */ 4130 memcpy(fs->win + fp->fptr % SS(fs), wbuff, wcnt); /* Fit data to the sector */ 4133 memcpy(fp->buf + fp->fptr % SS(fs), wbuff, wcnt); /* Fit data to the sector */
|