FatFs
_FDID::sclust
is only used within FatFs.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
STM32 Libraries and Samples
FatFs
_FDID::sclust
_FDID::sclust field
Syntax
from
ff.h:137
DWORD
sclust
;
References
Location
Referrer
Text
ff.h:137
DWORD
sclust
;
/* Object start cluster (0:no cluster or root directory) */
ff.c:782
chk_lock()
Files
[
i
]
.
clu
==
dp
->
obj
.
sclust
&&
ff.c:818
inc_lock()
Files
[
i
]
.
clu
==
dp
->
obj
.
sclust
&&
ff.c:826
inc_lock()
Files
[
i
]
.
clu
=
dp
->
obj
.
sclust
;
ff.c:1483
dir_sdi()
clst
=
dp
->
obj
.
sclust
;
/* Table start cluster (0:root) */
ff.c:2831
follow_path()
obj
->
sclust
=
0
;
/* Start from root directory */
ff.c:2888
follow_path()
obj
->
sclust
=
ld_clust
(
fs
,
fs
->
win
+
dp
->
dptr
%
SS
(
fs
)
)
;
/* Open next directory */
ff.c:3456
f_open()
fp
->
obj
.
sclust
=
ld_clust
(
fs
,
dj
.
dir
)
;
/* Get object allocation info */
ff.c:3475
f_open()
clst
=
fp
->
obj
.
sclust
;
/* Follow the cluster chain */
ff.c:3539
f_read()
clst
=
fp
->
obj
.
sclust
;
/* Follow cluster chain from the origin */
ff.c:3641
f_write()
clst
=
fp
->
obj
.
sclust
;
/* Follow from the origin */
ff.c:3659
f_write()
if
(
fp
->
obj
.
sclust
==
0
)
fp
->
obj
.
sclust
=
clst
;
/* Set start cluster if the first write */
ff.c:3789
f_sync()
st_clust
(
fp
->
obj
.
fs
,
dir
,
fp
->
obj
.
sclust
)
;
/* Update file allocation info */
ff.c:4028
f_lseek()
cl
=
fp
->
obj
.
sclust
;
/* Origin of the chain */
ff.c:4093
f_lseek()
clst
=
fp
->
obj
.
sclust
;
/* start from the first cluster */
ff.c:4099
f_lseek()
fp
->
obj
.
sclust
=
clst
;
ff.c:4196
f_opendir()
obj
->
sclust
=
ld_clust
(
fs
,
dp
->
dir
)
;
/* Get object allocation info */
ff.c:4207
f_opendir()
if
(
obj
->
sclust
)
{
ff.c:4490
f_truncate()
res
=
remove_chain
(
&
fp
->
obj
,
fp
->
obj
.
sclust
,
0
)
;
ff.c:4491
f_truncate()
fp
->
obj
.
sclust
=
0
;
ff.c:4579
f_unlink()
sdj
.
obj
.
sclust
=
dclst
;
ff.c:4663
f_mkdir()
dir
[
SZDIRE
+
1
]
=
'.'
;
pcl
=
dj
.
obj
.
sclust
;
ff.c:4773
f_rename()
res
=
(
djn
.
obj
.
sclust
==
djo
.
obj
.
sclust
&&
djn
.
dptr
==
djo
.
dptr
)
?
FR_NO_FILE
:
FR_EXIST
;
ff.c:4782
f_rename()
if
(
(
dir
[
DIR_Attr
]
&
AM_DIR
)
&&
djo
.
obj
.
sclust
!=
djn
.
obj
.
sclust
)
{
/* Update .. entry in the sub-directory if needed */
ff.c:4791
f_rename()
st_clust
(
fs
,
dir
,
djn
.
obj
.
sclust
)
;
Data Use
Functions writing
_FDID::sclust
Functions reading
_FDID::sclust
follow_path()
f_open()
f_write()
f_lseek()
f_opendir()
f_truncate()
f_unlink()
all items filtered out
_FDID::sclust
chk_lock()
inc_lock()
dir_sdi()
f_open()
f_read()
f_write()
f_sync()
f_lseek()
f_opendir()
f_truncate()
f_mkdir()
f_rename()
all items filtered out
Type of
_FDID::sclust
_FDID::sclust
DWORD
all items filtered out