FatFS
NSFLAG
is only used within FatFS.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
FatFS
NSFLAG
NSFLAG macro
Syntax
Show:
Summary
Declaration
from
ff.c:75
#define
NSFLAG
11
Examples
References
from
examples
Code
Location
#define
NSFLAG
11
/* Index of the name status byte */
ff.c:75
if
(
!
(
dp
->
fn
[
NSFLAG
]
&
NS_NOLFN
)
)
{
ff.c:2437
if
(
!
(
dp
->
fn
[
NSFLAG
]
&
NS_LOSS
)
&&
!
memcmp
(
dp
->
dir
,
dp
->
fn
,
11
)
)
break
;
/* SFN matched? */
ff.c:2448
if
(
dp
->
fn
[
NSFLAG
]
&
(
NS_DOT
|
NS_NONAME
)
)
return
FR_INVALID_NAME
;
/* Check name validity */
ff.c:2481
if
(
sn
[
NSFLAG
]
&
NS_LOSS
)
{
/* When LFN is out of 8.3 format, generate a numbered name */
ff.c:2517
dp
->
fn
[
NSFLAG
]
=
NS_NOLFN
;
/* Find only SFN */
ff.c:2518
dp
->
fn
[
NSFLAG
]
=
sn
[
NSFLAG
]
;
ff.c:2526
n_ent
=
(
sn
[
NSFLAG
]
&
NS_LFN
)
?
(
len
+
12
)
/
13
+
1
:
1
;
/* Number of entries to allocate */
ff.c:2530
dp
->
dir
[
DIR_NTres
]
=
dp
->
fn
[
NSFLAG
]
&
(
NS_BODY
|
NS_EXT
)
;
/* Put NT flag */
ff.c:2558
dp
->
fn
[
NSFLAG
]
=
cf
;
/* SFN is created into dp->fn[] */
ff.c:2979
sfn
[
NSFLAG
]
=
(
c
<=
' '
||
p
[
si
]
<=
' '
)
?
NS_LAST
:
0
;
/* Set last segment flag if end of the path */
ff.c:3043
dp
->
fn
[
NSFLAG
]
=
NS_NONAME
;
ff.c:3093
ns
=
dp
->
fn
[
NSFLAG
]
;
ff.c:3101
dp
->
fn
[
NSFLAG
]
=
NS_NONAME
;
ff.c:3106
if
(
dj
.
fn
[
NSFLAG
]
&
NS_NONAME
)
{
/* Origin directory itself? */
ff.c:3758
if
(
!
(
dp
->
fn
[
NSFLAG
]
&
NS_NONAME
)
)
{
/* It is not the origin directory itself */
ff.c:4657
if
(
dj
.
fn
[
NSFLAG
]
&
NS_NONAME
)
{
/* It is origin directory */
ff.c:4838
if
(
FF_FS_RPATH
&&
res
==
FR_OK
&&
(
dj
.
fn
[
NSFLAG
]
&
NS_DOT
)
)
{
ff.c:5023
if
(
dj
.
fn
[
NSFLAG
]
&
NS_NONAME
)
{
ff.c:5030
if
(
FF_FS_RPATH
&&
res
==
FR_NO_FILE
&&
(
dj
.
fn
[
NSFLAG
]
&
NS_DOT
)
)
{
/* Invalid name? */
ff.c:5115
if
(
res
==
FR_OK
&&
(
djo
.
fn
[
NSFLAG
]
&
(
NS_DOT
|
NS_NONAME
)
)
)
res
=
FR_INVALID_NAME
;
/* Check validity of name */
ff.c:5200
if
(
res
==
FR_OK
&&
(
dj
.
fn
[
NSFLAG
]
&
(
NS_DOT
|
NS_NONAME
)
)
)
res
=
FR_INVALID_NAME
;
/* Check object validity */
ff.c:5308
if
(
res
==
FR_OK
&&
(
dj
.
fn
[
NSFLAG
]
&
(
NS_DOT
|
NS_NONAME
)
)
)
res
=
FR_INVALID_NAME
;
/* Check object validity */
ff.c:5354
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out