FatFS
FF_MAX_LFN
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
FF_MAX_LFN
FF_MAX_LFN macro
Syntax
Show:
Summary
Declaration
from
ffconf.h:155
#define
FF_MAX_LFN
CONFIG_FATFS_MAX_LFN
Examples
References
from
examples
Code
Location
#define
FF_MAX_LFN
CONFIG_FATFS_MAX_LFN
ffconf.h:155
#if
FF_MAX_LFN
<
12
||
FF_MAX_LFN
>
255
ff.c:511
#define
DEF_NAMBUF
WCHAR
lbuf
[
FF_MAX_LFN
+
1
]
;
/* LFN working buffer */
ff.c:539
#define
INIT_NAMBUF
(
fs
)
{
lfn
=
ff_memalloc
(
(
FF_MAX_LFN
+
1
)
*
2
)
;
if
(
!
lfn
)
LEAVE_FF
(
fs
,
FR_NOT_ENOUGH_CORE
)
;
(
fs
)
->
lfnbuf
=
lfn
;
}
ff.c:552
if
(
i
>=
FF_MAX_LFN
+
1
||
ff_wtoupper
(
uc
)
!=
ff_wtoupper
(
lfnbuf
[
i
++
]
)
)
{
/* Compare it */
ff.c:1906
if
(
i
>=
FF_MAX_LFN
+
1
)
return
0
;
/* Buffer overflow? */
ff.c:1942
if
(
i
>=
FF_MAX_LFN
+
1
)
return
0
;
/* Buffer overflow? */
ff.c:1950
if
(
di
>=
FF_MAX_LFN
)
return
FR_INVALID_NAME
;
/* Reject too long name */
ff.c:2875
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