Lines Matching refs:rest
1002 u32 rest = *length; in FSi_FATFS_ReadFile() local
1006 while (rest > 0) in FSi_FATFS_ReadFile()
1009 u32 len = rest; in FSi_FATFS_ReadFile()
1012 if (!FSi_IsValidAddressForARM7(buffer, rest)) in FSi_FATFS_ReadFile()
1047 async &= ((dst == buffer) && (len == rest)); in FSi_FATFS_ReadFile()
1056 rest -= len; in FSi_FATFS_ReadFile()
1067 rest -= read; in FSi_FATFS_ReadFile()
1074 *length -= rest; in FSi_FATFS_ReadFile()
1096 u32 rest = *length; in FSi_FATFS_WriteFile() local
1100 while (rest > 0) in FSi_FATFS_WriteFile()
1104 u32 len = rest; in FSi_FATFS_WriteFile()
1106 if (!FSi_IsValidAddressForARM7(buffer, rest) || ((((u32)buffer | len) & 31) != 0)) in FSi_FATFS_WriteFile()
1144 async &= ((dst == buffer) && (len == rest)); in FSi_FATFS_WriteFile()
1153 rest -= len; in FSi_FATFS_WriteFile()
1158 rest -= written; in FSi_FATFS_WriteFile()
1165 *length -= rest; in FSi_FATFS_WriteFile()