FatFs
SZDIRE
is only used within FatFs.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
STM32 Libraries and Samples
FatFs
SZDIRE
SZDIRE macro
Syntax
from
ff.c:430
#define
SZDIRE
32
References
Location
Text
ff.c:430
#define
SZDIRE
32
/* Size of a directory entry */
ff.c:1479
if
(
ofs
>=
(
DWORD
)
(
(
_FS_EXFAT
&&
fs
->
fs_type
==
FS_EXFAT
)
?
MAX_DIR_EX
:
MAX_DIR
)
||
ofs
%
SZDIRE
)
{
/* Check range of offset and alignment */
ff.c:1490
if
(
ofs
/
SZDIRE
>=
fs
->
n_rootdir
)
return
FR_INT_ERR
;
/* Is index out of range? */
ff.c:1530
ofs
=
dp
->
dptr
+
SZDIRE
;
/* Next entry */
ff.c:1537
if
(
ofs
/
SZDIRE
>=
fs
->
n_rootdir
)
{
/* Report EOT if it reached end of static table */
ff.c:2352
res
=
dir_sdi
(
dp
,
dp
->
dptr
-
nent
*
SZDIRE
)
;
ff.c:2374
mem_set
(
dp
->
dir
,
0
,
SZDIRE
)
;
/* Clean the entry */
ff.c:3130
if
(
fs
->
n_rootdir
%
(
SS
(
fs
)
/
SZDIRE
)
)
return
FR_NO_FILESYSTEM
;
/* (Must be sector aligned) */
ff.c:3139
sysect
=
nrsv
+
fasize
+
fs
->
n_rootdir
/
(
SS
(
fs
)
/
SZDIRE
)
;
/* RSV + FAT + DIR */
ff.c:4662
mem_cpy
(
dir
+
SZDIRE
,
dir
,
SZDIRE
)
;
/* Create ".." entry */
ff.c:4663
dir
[
SZDIRE
+
1
]
=
'.'
;
pcl
=
dj
.
obj
.
sclust
;
ff.c:4665
st_clust
(
fs
,
dir
+
SZDIRE
,
pcl
)
;
ff.c:4725
BYTE
buf
[
_FS_EXFAT
?
SZDIRE
*
2
:
24
]
,
*
dir
;
ff.c:4789
dir
=
fs
->
win
+
SZDIRE
*
1
;
/* Ptr to .. entry */
ff.c:5579
sz_dir
=
(
DWORD
)
n_rootdir
*
SZDIRE
/
ss
;
/* Rootdir size [sector] */