Home
last modified time | relevance | path

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

/fatfs-2.7.6/include/
Dff.h308 FRESULT f_write (FIL* fp, const void* buff, UINT btw, UINT* bw); /* Write data to the file */
/fatfs-2.7.6/
Dff.c3953 UINT btw, /* Number of bytes to write */ argument
3971 if ((!FF_FS_EXFAT || fs->fs_type != FS_EXFAT) && (DWORD)(fp->fptr + btw) < (DWORD)fp->fptr) {
3972 btw = (UINT)(0xFFFFFFFF - (DWORD)fp->fptr);
3975 …for ( ; btw > 0; btw -= wcnt, *bw += wcnt, wbuff += wcnt, fp->fptr += wcnt, fp->obj.objsize = (fp-…
4011 cc = btw / SS(fs); /* When remaining bytes >= sector size, */
4048 if (wcnt > btw) wcnt = btw; /* Clip it by btw if needed */