Searched refs:btr (Results 1 – 3 of 3) sorted by relevance
285 FRESULT f_read (FIL* fp, void* buff, UINT btr, UINT* br); /* Read data from the file */
3740 UINT btr, /* Number of bytes to read */ argument3757 if (btr > remain) btr = (UINT)remain; /* Truncate btr by remaining bytes */3759 for ( ; btr; /* Repeat until btr bytes read */3760 btr -= rcnt, *br += rcnt, rbuff += rcnt, fp->fptr += rcnt) {3783 cc = btr / SS(fs); /* When remaining bytes >= sector size, */3817 if (rcnt > btr) rcnt = btr; /* Clip it by btr if needed */
84 Fixed btr in f_read() can be mistruncated.