FatFS
FIL::clust
is only used within FatFS.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (2/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
FatFS
FIL::clust
FIL::clust field
Syntax
Show:
Summary
Declaration
from
ff.h:212
DWORD
clust
;
Examples
References
from
examples
Code
Location
Referrer
DWORD
clust
;
/* Current cluster of fpter (invalid when fptr is 0) */
ff.h:212
fp
->
clust
=
clst
;
ff.c:3905
f_open()
clst
=
get_fat
(
&
fp
->
obj
,
fp
->
clust
)
;
/* Follow cluster chain on the FAT */
ff.c:3987
f_read()
fp
->
clust
=
clst
;
/* Update current cluster */
ff.c:3992
f_read()
sect
=
clst2sect
(
fs
,
fp
->
clust
)
;
/* Get current sector */
ff.c:3994
f_read()
clst
=
create_chain
(
&
fp
->
obj
,
fp
->
clust
)
;
/* Follow or stretch cluster chain on the FAT */
ff.c:4092
f_write()
fp
->
clust
=
clst
;
/* Update current cluster */
ff.c:4098
f_write()
sect
=
clst2sect
(
fs
,
fp
->
clust
)
;
/* Get current sector */
ff.c:4109
f_write()
clst
=
fp
->
clust
;
ff.c:4567
f_lseek()
fp
->
clust
=
clst
;
ff.c:4578
f_lseek()
fp
->
clust
=
clst
;
ff.c:4600
f_lseek()
ncl
=
get_fat
(
&
fp
->
obj
,
fp
->
clust
)
;
ff.c:4971
f_truncate()
res
=
remove_chain
(
&
fp
->
obj
,
ncl
,
fp
->
clust
)
;
ff.c:4976
f_truncate()
if
(
clst
+
1
!=
fp
->
clust
)
break
;
/* Is not the cluster next to previous one? */
vfs_fat.c:1467
test_contiguous_file()
clst
=
fp
->
clust
;
fsz
-=
step
;
/* Get current cluster for next test */
vfs_fat.c:1468
test_contiguous_file()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
FIL::clust
is written by 4 functions and is read by 5 functions:
f_open()
f_read()
f_write()
f_lseek()
All items filtered out
FIL::clust
f_read()
f_write()
f_lseek()
f_truncate()
test_contiguous_file()
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