• Home
  • Raw
  • Download

Lines Matching refs:NSFLAG

70 #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()
2475 dp->fn[NSFLAG] = cf; /* SFN is created into dp->fn[] */ in create_name()
2499 …sfn[NSFLAG] = (c <= ' ') ? NS_LAST | NS_DOT : NS_DOT; /* Set last segment flag if end of the path … in create_name()
2539 …sfn[NSFLAG] = (c <= ' ' || p[si] <= ' ') ? NS_LAST : 0; /* Set last segment flag if end of the pat… in create_name()
2573 dp->fn[NSFLAG] = NS_NONAME; in follow_path()
2581 ns = dp->fn[NSFLAG]; in follow_path()
2586 dp->fn[NSFLAG] = NS_NONAME; in follow_path()
3327 if (dj.fn[NSFLAG] & NS_NONAME) { /* Origin directory itself? */ in f_open()
3424 if (dj.fn[NSFLAG] & NS_NONAME) { /* Is it origin directory itself? */ in f_open()
3931 if (dj.fn[NSFLAG] & NS_NONAME) { /* Is it the start directory itself? */ in f_chdir()
4231 if (!(dp->fn[NSFLAG] & NS_NONAME)) { /* It is not the origin directory itself */ in f_opendir()
4402 if (dj.fn[NSFLAG] & NS_NONAME) { /* It is origin directory */ in f_stat()
4646 if (FF_FS_RPATH && res == FR_OK && (dj.fn[NSFLAG] & NS_DOT)) { in f_unlink()
4696 if (dj.fn[NSFLAG] & NS_NONAME) { in f_unlink()
4793 if (FF_FS_RPATH && res == FR_NO_FILE && (dj.fn[NSFLAG] & NS_DOT)) { /* Invalid name? */ in f_mkdir()
4925 …if (res == FR_OK && (djo.fn[NSFLAG] & (NS_DOT | NS_NONAME))) res = FR_INVALID_NAME; /* Check valid…
5080 …if (res == FR_OK && (dj.fn[NSFLAG] & (NS_DOT | NS_NONAME))) res = FR_INVALID_NAME; /* Check object…
5125 …if (res == FR_OK && (dj.fn[NSFLAG] & (NS_DOT | NS_NONAME))) res = FR_INVALID_NAME; /* Check object…