Home
last modified time | relevance | path

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

/third_party/FatFs/source/
Dff.c70 #define NSFLAG 11 /* Index of the name status byte */ macro
1969 if (!(dp->fn[NSFLAG] & NS_NOLFN)) { in dir_find()
1980 if (!(dp->fn[NSFLAG] & NS_LOSS) && !mem_cmp(dp->dir, dp->fn, 11)) break; /* SFN matched? */ in dir_find()
2007 nent = (dp->fn[NSFLAG] & NS_LFN) ? (nlen + 12) / 13 + 1 : 1; /* Number of entries of the lfn */ in dir_ofs()
2032 if (dp->fn[NSFLAG] & (NS_DOT | NS_NONAME)) return FR_INVALID_NAME; /* Check name validity */ in dir_register()
2037 if (sn[NSFLAG] & NS_LOSS) { /* When LFN is out of 8.3 format, generate a numbered name */ in dir_register()
2038 dp->fn[NSFLAG] = NS_NOLFN; /* Find only SFN */ in dir_register()
2046 dp->fn[NSFLAG] = sn[NSFLAG]; in dir_register()
2050 n_ent = (sn[NSFLAG] & NS_LFN) ? (len + 12) / 13 + 1 : 1; /* Number of entries to allocate */ in dir_register()
2082 dp->dir[DIR_NTres] = dp->fn[NSFLAG] & (NS_BODY | NS_EXT); /* Put NT flag */ in dir_register()
[all …]
Dff.h92 #define NSFLAG 11 /* Index of the name status byte */ macro