Home
last modified time | relevance | path

Searched refs:MAXDIRB (Results 1 – 1 of 1) sorted by relevance

/fatfs-2.7.6/
Dff.c514 #define MAXDIRB(nc) ((nc + 44U) / 15 * SZDIRE) /* exFAT: Size of directory entry block scratchpad b… macro
518 static BYTE DirBuf[MAXDIRB(FF_MAX_LFN)]; /* Directory entry block scratchpad buffer */
528 #define DEF_NAMBUF WCHAR lbuf[FF_MAX_LFN+1]; BYTE dbuf[MAXDIRB(FF_MAX_LFN)]; /* LFN working buffer…
541 #define INIT_NAMBUF(fs) { lfn = ff_memalloc((FF_MAX_LFN+1)*2 + MAXDIRB(FF_MAX_LFN)); if (!lfn) LEAV…
2124 if (MAXDIRB(dirb[XDIR_NumName]) > sz_ent) return FR_INT_ERR;
2135 if (i < MAXDIRB(FF_MAX_LFN)) memcpy(dirb + i, dp->dir, SZDIRE);
2139 if (i <= MAXDIRB(FF_MAX_LFN)) {
2613 if (si >= MAXDIRB(FF_MAX_LFN)) { di = 0; break; } /* Truncated directory block? */