Searched refs:err (Results 1 – 3 of 3) sorted by relevance
/fatfs-latest/option/ |
D | ffsystem.c | 94 OS_ERR err; in ff_mutex_create() 96 Mutex[vol] = OSMutexCreate(0, &err); in ff_mutex_create() 97 return (int)(err == OS_NO_ERR); in ff_mutex_create() 131 OS_ERR err; in ff_mutex_delete() 133 OSMutexDel(Mutex[vol], OS_DEL_ALWAYS, &err); in ff_mutex_delete() 163 OS_ERR err; in ff_mutex_take() 165 OSMutexPend(Mutex[vol], FF_FS_TIMEOUT, &err)); in ff_mutex_take() 166 return (int)(err == OS_NO_ERR); in ff_mutex_take()
|
/fatfs-latest/include/ |
D | ff.h | 207 BYTE err; /* Abort flag (error code) */ member 343 #define f_error(fp) ((fp)->err)
|
/fatfs-latest/ |
D | ff.c | 235 #define ABORT(fs, res) { fp->err = (BYTE)(res); LEAVE_FF(fs, res); } 3879 fp->err = 0; /* Clear error flag */ 3947 if (res != FR_OK || (res = (FRESULT)fp->err) != FR_OK) LEAVE_FF(fs, res); /* Check validity */ 4046 if (res != FR_OK || (res = (FRESULT)fp->err) != FR_OK) LEAVE_FF(fs, res); /* Check validity */ 4465 if (res == FR_OK) res = (FRESULT)fp->err; 4937 if (res != FR_OK || (res = (FRESULT)fp->err) != FR_OK) LEAVE_FF(fs, res); 5595 if (res != FR_OK || (res = (FRESULT)fp->err) != FR_OK) LEAVE_FF(fs, res); 5697 if (res != FR_OK || (res = (FRESULT)fp->err) != FR_OK) LEAVE_FF(fs, res);
|