Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/fatfs/src/
Dff.c68 #define NSFLAG 11 /* Index of the name status byte */ macro
2460 if (!(dp->fn[NSFLAG] & NS_NOLFN)) {
2471 if (!(dp->fn[NSFLAG] & NS_LOSS) && !mem_cmp(dp->dir, dp->fn, 11)) break; /* SFN matched? */
2504 if (dp->fn[NSFLAG] & (NS_DOT | NS_NONAME)) return FR_INVALID_NAME; /* Check name validity */
2540 if (sn[NSFLAG] & NS_LOSS) { /* When LFN is out of 8.3 format, generate a numbered name */
2541 dp->fn[NSFLAG] = NS_NOLFN; /* Find only SFN */
2549 dp->fn[NSFLAG] = sn[NSFLAG];
2553 nent = (sn[NSFLAG] & NS_LFN) ? (nlen + 12) / 13 + 1 : 1; /* Number of entries to allocate */
2581 dp->dir[DIR_NTres] = dp->fn[NSFLAG] & (NS_BODY | NS_EXT); /* Put NT flag */
2950 dp->fn[NSFLAG] = cf; /* SFN is created into dp->fn[] */
[all …]