FatFS
SZDIRE
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
SZDIRE
SZDIRE macro
Syntax
Show:
Summary
Declaration
from
ff.c:191
#define
SZDIRE
32
Examples
References
from
examples
Code
Location
#define
SZDIRE
32
/* Size of a directory entry */
ff.c:191
if
(
ofs
>=
(
DWORD
)
(
(
FF_FS_EXFAT
&&
fs
->
fs_type
==
FS_EXFAT
)
?
MAX_DIR_EX
:
MAX_DIR
)
||
ofs
%
SZDIRE
)
{
/* Check range of offset and alignment */
ff.c:1711
if
(
ofs
/
SZDIRE
>=
fs
->
n_rootdir
)
return
FR_INT_ERR
;
/* Is index out of range? */
ff.c:1722
ofs
=
dp
->
dptr
+
SZDIRE
;
/* Next entry */
ff.c:1759
if
(
ofs
/
SZDIRE
>=
fs
->
n_rootdir
)
{
/* Report EOT if it reached end of static table */
ff.c:1767
res
=
dir_sdi
(
dp
,
dp
->
dptr
-
n_ent
*
SZDIRE
)
;
ff.c:2533
memset
(
dp
->
dir
,
0
,
SZDIRE
)
;
/* Clean the entry */
ff.c:2555
if
(
fs
->
n_rootdir
%
(
SS
(
fs
)
/
SZDIRE
)
)
return
FR_NO_FILESYSTEM
;
/* (Must be sector aligned) */
ff.c:3535
sysect
=
nrsv
+
fasize
+
fs
->
n_rootdir
/
(
SS
(
fs
)
/
SZDIRE
)
;
/* RSV + FAT + FF_DIR */
ff.c:3544
memcpy
(
fs
->
win
+
SZDIRE
,
fs
->
win
,
SZDIRE
)
;
/* Create ".." entry */
ff.c:5135
fs
->
win
[
SZDIRE
+
1
]
=
'.'
;
pcl
=
dj
.
obj
.
sclust
;
ff.c:5136
st_clust
(
fs
,
fs
->
win
+
SZDIRE
,
pcl
)
;
ff.c:5137
BYTE
buf
[
FF_FS_EXFAT
?
SZDIRE
*
2
:
SZDIRE
]
,
*
dir
;
ff.c:5189
memcpy
(
buf
,
djo
.
dir
,
SZDIRE
)
;
/* Save directory entry of the object */
ff.c:5234
memcpy
(
dir
+
13
,
buf
+
13
,
SZDIRE
-
13
)
;
ff.c:5244
dir
=
fs
->
win
+
SZDIRE
*
1
;
/* Ptr to .. entry */
ff.c:5255
n_root
=
(
opt
->
n_root
>=
1
&&
opt
->
n_root
<=
32768
&&
(
opt
->
n_root
%
(
ss
/
SZDIRE
)
)
==
0
)
?
opt
->
n_root
:
512
;
ff.c:5974
sz_dir
=
(
DWORD
)
n_root
*
SZDIRE
/
ss
;
/* Root dir size [sector] */
ff.c:6258
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