FatFS
FATFS::n_rootdir
is only used within FatFS.
Symbol previews are coming soon...
Symbols
loading (3/5)...
Files
loading (3/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
FatFS
FATFS::n_rootdir
FATFS::n_rootdir field
Syntax
Show:
Summary
Declaration
from
ff.h:140
WORD
n_rootdir
;
Examples
References
from
examples
Code
Location
Referrer
WORD
n_rootdir
;
/* Number of root directory entries (FAT12/16) */
ff.h:140
if
(
ofs
/
SZDIRE
>=
fs
->
n_rootdir
)
return
FR_INT_ERR
;
/* Is index out of range? */
ff.c:1722
dir_sdi()
if
(
ofs
/
SZDIRE
>=
fs
->
n_rootdir
)
{
/* Report EOT if it reached end of static table */
ff.c:1767
dir_next()
fs
->
n_rootdir
=
ld_word
(
fs
->
win
+
BPB_RootEntCnt
)
;
/* Number of root directory entries */
ff.c:3534
mount_volume()
if
(
fs
->
n_rootdir
%
(
SS
(
fs
)
/
SZDIRE
)
)
return
FR_NO_FILESYSTEM
;
/* (Must be sector aligned) */
ff.c:3535
mount_volume()
sysect
=
nrsv
+
fasize
+
fs
->
n_rootdir
/
(
SS
(
fs
)
/
SZDIRE
)
;
/* RSV + FAT + FF_DIR */
ff.c:3544
mount_volume()
if
(
fs
->
n_rootdir
!=
0
)
return
FR_NO_FILESYSTEM
;
/* (BPB_RootEntCnt must be 0) */
ff.c:3561
mount_volume()
if
(
fs
->
n_rootdir
==
0
)
return
FR_NO_FILESYSTEM
;
/* (BPB_RootEntCnt must not be 0) */
ff.c:3565
mount_volume()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
FATFS::n_rootdir
is written by 1 function and is read by 3 functions:
mount_volume()
All items filtered out
FATFS::n_rootdir
dir_sdi()
dir_next()
mount_volume()
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