Home
last modified time | relevance | path

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

/fatfs-2.7.6/
Dff.c2401 if (!(dp->fn[NSFLAG] & NS_NOLFN)) {
2412 if (!(dp->fn[NSFLAG] & NS_LOSS) && !memcmp(dp->dir, dp->fn, 11)) break; /* SFN matched? */
2418 …if (!(dp->dir[DIR_Attr] & AM_VOL) && !memcmp(dp->dir, dp->fn, 11)) break; /* Is it a valid entry? …
2445 if (dp->fn[NSFLAG] & (NS_DOT | NS_NONAME)) return FR_INVALID_NAME; /* Check name validity */
2480 memcpy(sn, dp->fn, 12);
2482 dp->fn[NSFLAG] = NS_NOLFN; /* Find only SFN */
2484 gen_numname(dp->fn, sn, fs->lfnbuf, n); /* Generate a numbered name */
2490 dp->fn[NSFLAG] = sn[NSFLAG];
2499 sum = sum_sfn(dp->fn); /* Checksum value of the SFN tied to the LFN */
2520 memcpy(dp->dir + DIR_Name, dp->fn, 11); /* Put SFN */
[all …]
/fatfs-2.7.6/include/
Dff.h235 BYTE fn[12]; /* SFN (in/out) {body[8],ext[3],status[1]} */ member