Searched refs:LEAVE_FF (Results 1 – 1 of 1) sorted by relevance
/fatfs-2.7.6/ |
D | ff.c | 234 #define ABORT(fs, res) { fp->err = (BYTE)(res); LEAVE_FF(fs, res); } 242 #define LEAVE_FF(fs, res) { unlock_fs(fs, res); return res; } macro 244 #define LEAVE_FF(fs, res) return res macro 541 … { lfn = ff_memalloc((FF_MAX_LFN+1)*2 + MAXDIRB(FF_MAX_LFN)); if (!lfn) LEAVE_FF(fs, FR_NOT_ENOUGH… 545 #define INIT_NAMBUF(fs) { lfn = ff_memalloc((FF_MAX_LFN+1)*2); if (!lfn) LEAVE_FF(fs, FR_NOT_ENOUGH… 3643 LEAVE_FF(fs, res); 3840 LEAVE_FF(fs, res); 3868 if (res != FR_OK || (res = (FRESULT)fp->err) != FR_OK) LEAVE_FF(fs, res); /* Check validity */ 3869 if (!(fp->flag & FA_READ)) LEAVE_FF(fs, FR_DENIED); /* Check access mode */ 3939 LEAVE_FF(fs, FR_OK); [all …]
|