Home
last modified time | relevance | path

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

/fatfs-2.7.6/include/
Dff.h186 BYTE attr; /* Object attribute */ member
321 FRESULT f_chmod (const TCHAR* path, BYTE attr, BYTE mask); /* Change attribute of a file/dir */
/fatfs-2.7.6/
Dff.c2282 BYTE attr, b; local
2303 dp->obj.attr = fs->dirbuf[XDIR_Attr] & AM_MASK; /* Get attribute */
2311 dp->obj.attr = attr = dp->dir[DIR_Attr] & AM_MASK; /* Get attribute */
2313 …if (b == DDEM || b == '.' || (int)((attr & ~AM_ARC) == AM_VOL) != vol) { /* An entry without valid…
2316 if (attr == AM_LFN) { /* An LFN entry is found */
2332 …if (b != DDEM && b != '.' && attr != AM_LFN && (int)((attr & ~AM_ARC) == AM_VOL) == vol) { /* Is i…
2396 dp->obj.attr = a = dp->dir[DIR_Attr] & AM_MASK;
2417 dp->obj.attr = dp->dir[DIR_Attr] & AM_MASK;
3063 if (!(dp->obj.attr & AM_DIR)) { /* It is not a sub-directory and cannot follow */
3703 if (dj.obj.attr & (AM_RDO | AM_DIR)) { /* Cannot overwrite it (R/O or DIR) */
[all …]