Searched refs:FF_MAX_LFN (Results 1 – 3 of 3) sorted by relevance
53 #if FF_MAX_LFN < 12 || FF_MAX_LFN > 25554 #error Wrong setting of FF_MAX_LFN65 static WCHAR LfnBuf[FF_MAX_LFN + 1]; /* LFN working buffer */72 #define DEF_NAMBUF WCHAR lbuf[FF_MAX_LFN+1]; /* LFN working buffer */79 #define INIT_NAMBUF(fs) { lfn = ff_memalloc((FF_MAX_LFN+1)*2); if (!lfn) LEAVE_FF(fs, FR_NOT_ENOUGH…
144 #define FF_MAX_LFN 255 macro
1642 if (i >= FF_MAX_LFN + 1 || ff_wtoupper(uc) != ff_wtoupper(lfnbuf[i++])) { /* Compare it */ in cmp_lfn()1678 if (i >= FF_MAX_LFN + 1) return 0; /* Buffer overflow? */ in pick_lfn()1686 if (i >= FF_MAX_LFN + 1) return 0; /* Buffer overflow? */ in pick_lfn()2355 if (di >= FF_MAX_LFN) return FR_INVALID_NAME; /* Reject too long name */ in create_name()