Searched refs:NSFLAG (Results 1 – 2 of 2) sorted by relevance
69 #define NSFLAG 11 /* Index of the name status byte */ macro1967 if (!(dp->fn[NSFLAG] & NS_NOLFN)) { in dir_find()1978 if (!(dp->fn[NSFLAG] & NS_LOSS) && !mem_cmp(dp->dir, dp->fn, 11)) break; /* SFN matched? */ in dir_find()2005 nent = (dp->fn[NSFLAG] & NS_LFN) ? (nlen + 12) / 13 + 1 : 1; /* Number of entries of the lfn */ in dir_ofs()2030 if (dp->fn[NSFLAG] & (NS_DOT | NS_NONAME)) return FR_INVALID_NAME; /* Check name validity */ in dir_register()2035 if (sn[NSFLAG] & NS_LOSS) { /* When LFN is out of 8.3 format, generate a numbered name */ in dir_register()2036 dp->fn[NSFLAG] = NS_NOLFN; /* Find only SFN */ in dir_register()2044 dp->fn[NSFLAG] = sn[NSFLAG]; in dir_register()2048 n_ent = (sn[NSFLAG] & NS_LFN) ? (len + 12) / 13 + 1 : 1; /* Number of entries to allocate */ in dir_register()2080 dp->dir[DIR_NTres] = dp->fn[NSFLAG] & (NS_BODY | NS_EXT); /* Put NT flag */ in dir_register()[all …]
92 #define NSFLAG 11 /* Index of the name status byte */ macro