Lines Matching refs:rest
1002 u32 rest = *length; in FSi_FATFS_ReadFile() local
1006 while (rest > 0) in FSi_FATFS_ReadFile()
1012 u32 len = rest; in FSi_FATFS_ReadFile()
1014 if (!FSi_IsValidAddressForARM7(buffer, rest) || (((u32)buffer & 31) != 0)) in FSi_FATFS_ReadFile()
1027 async &= ((dst == buffer) && (len == rest)); in FSi_FATFS_ReadFile()
1036 rest -= len; in FSi_FATFS_ReadFile()
1047 rest -= read; in FSi_FATFS_ReadFile()
1054 *length -= rest; in FSi_FATFS_ReadFile()
1076 u32 rest = *length; in FSi_FATFS_WriteFile() local
1080 while (rest > 0) in FSi_FATFS_WriteFile()
1086 u32 len = rest; in FSi_FATFS_WriteFile()
1088 if (!FSi_IsValidAddressForARM7(buffer, rest) || (((u32)buffer & 31) != 0)) in FSi_FATFS_WriteFile()
1103 async &= ((dst == buffer) && (len == rest)); in FSi_FATFS_WriteFile()
1112 rest -= len; in FSi_FATFS_WriteFile()
1117 rest -= written; in FSi_FATFS_WriteFile()
1124 *length -= rest; in FSi_FATFS_WriteFile()