FatFS
FATFS::fs_type
is only used within FatFS.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (1/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
FatFS
FATFS::fs_type
FATFS::fs_type field
Syntax
Show:
Summary
Declaration
from
ff.h:133
BYTE
fs_type
;
Examples
References
from
examples
Code
Location
Referrer
BYTE
fs_type
;
/* Filesystem type (0:not mounted) */
ff.h:133
if
(
fs
->
fs_type
==
FS_FAT32
&&
fs
->
fsi_flag
==
1
)
{
/* FAT32: Update FSInfo sector if needed */
ff.c:1122
sync_fs()
switch
(
fs
->
fs_type
)
{
ff.c:1182
get_fat()
switch
(
fs
->
fs_type
)
{
ff.c:1256
put_fat()
if
(
!
FF_FS_EXFAT
||
fs
->
fs_type
!=
FS_EXFAT
)
{
ff.c:1284
put_fat()
if
(
pclst
!=
0
&&
(
!
FF_FS_EXFAT
||
fs
->
fs_type
!=
FS_EXFAT
||
obj
->
stat
!=
2
)
)
{
ff.c:1453
remove_chain()
if
(
!
FF_FS_EXFAT
||
fs
->
fs_type
!=
FS_EXFAT
)
{
ff.c:1464
remove_chain()
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
dir_sdi()
if
(
clst
==
0
&&
fs
->
fs_type
>=
FS_FAT32
)
{
/* Replace cluster# 0 with root cluster# */
ff.c:1716
dir_sdi()
if
(
ofs
>=
(
DWORD
)
(
(
FF_FS_EXFAT
&&
fs
->
fs_type
==
FS_EXFAT
)
?
MAX_DIR_EX
:
MAX_DIR
)
)
dp
->
sect
=
0
;
/* Disable it if the offset reached the max value */
ff.c:1760
dir_next()
if
(
fs
->
fs_type
==
FS_FAT32
)
{
ff.c:1861
ld_clust()
if
(
fs
->
fs_type
==
FS_FAT32
)
{
ff.c:1877
st_clust()
if
(
FF_FS_EXFAT
&&
fs
->
fs_type
==
FS_EXFAT
)
{
/* On the exFAT volume */
ff.c:2590
dir_remove()
if
(
fs
->
fs_type
!=
0
)
{
/* If the volume has been mounted */
ff.c:3419
mount_volume()
fs
->
fs_type
=
0
;
/* Invalidate the filesystem object */
ff.c:3432
mount_volume()
fs
->
fs_type
=
(
BYTE
)
fmt
;
/* FAT sub-type (the filesystem object gets valid) */
ff.c:3598
mount_volume()
if
(
obj
&&
obj
->
fs
&&
obj
->
fs
->
fs_type
&&
obj
->
id
==
obj
->
fs
->
id
)
{
/* Test if the object is valid */
ff.c:3630
validate()
cfs
->
fs_type
=
0
;
/* Invalidate the filesystem object to be unregistered */
ff.c:3695
f_mount()
fs
->
fs_type
=
0
;
/* Invalidate the new filesystem object */
ff.c:3713
f_mount()
if
(
(
!
FF_FS_EXFAT
||
fs
->
fs_type
!=
FS_EXFAT
)
&&
(
DWORD
)
(
fp
->
fptr
+
btw
)
<
(
DWORD
)
fp
->
fptr
)
{
ff.c:4072
f_write()
if
(
fs
->
fs_type
==
FS_FAT12
)
{
/* FAT12: Scan bit field FAT entries */
ff.c:4881
f_getfree()
if
(
fs
->
fs_type
==
FS_FAT16
)
{
ff.c:4924
f_getfree()
if
(
!
FF_FS_EXFAT
||
fs
->
fs_type
!=
FS_EXFAT
)
{
/* Create dot entries (FAT only) */
ff.c:5129
f_mkdir()
if
(
FatFs
[
vol
]
)
FatFs
[
vol
]
->
fs_type
=
0
;
/* Clear the fs object if mounted */
ff.c:5950
f_mkfs()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
FATFS::fs_type
is written by 3 functions and is read by 14 functions:
mount_volume()
f_mount()
f_mkfs()
All items filtered out
FATFS::fs_type
sync_fs()
get_fat()
put_fat()
remove_chain()
dir_sdi()
dir_next()
ld_clust()
st_clust()
dir_remove()
mount_volume()
validate()
f_write()
f_getfree()
f_mkdir()
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