Home
last modified time | relevance | path

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

/fatfs-2.7.6/
Dff.c72 #define NSFLAG 11 /* Index of the name status byte */ macro
2401 if (!(dp->fn[NSFLAG] & NS_NOLFN)) {
2412 if (!(dp->fn[NSFLAG] & NS_LOSS) && !memcmp(dp->dir, dp->fn, 11)) break; /* SFN matched? */
2445 if (dp->fn[NSFLAG] & (NS_DOT | NS_NONAME)) return FR_INVALID_NAME; /* Check name validity */
2481 if (sn[NSFLAG] & NS_LOSS) { /* When LFN is out of 8.3 format, generate a numbered name */
2482 dp->fn[NSFLAG] = NS_NOLFN; /* Find only SFN */
2490 dp->fn[NSFLAG] = sn[NSFLAG];
2494 n_ent = (sn[NSFLAG] & NS_LFN) ? (len + 12) / 13 + 1 : 1; /* Number of entries to allocate */
2522 dp->dir[DIR_NTres] = dp->fn[NSFLAG] & (NS_BODY | NS_EXT); /* Put NT flag */
2927 dp->fn[NSFLAG] = cf; /* SFN is created into dp->fn[] */
[all …]