FatFS
FFOBJID::fs
is only used within FatFS.
Symbol previews are coming soon...
Symbols
loading (4/5)...
Files
loading (5/5)...
FatFS
ESP-IDF
lwIP
FreeRTOS
cJSON
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
FatFS
FFOBJID::fs
FFOBJID::fs field
Syntax
Show:
Summary
Declaration
from
ff.h:185
FATFS
*
fs
;
Examples
References
from
examples
Code
Location
Referrer
FATFS
*
fs
;
/* Pointer to the hosting volume of this object */
ff.h:185
FATFS
*
fs
=
obj
->
fs
;
ff.c:1173
get_fat()
FATFS
*
fs
=
obj
->
fs
;
ff.c:1442
remove_chain()
FATFS
*
fs
=
obj
->
fs
;
ff.c:1536
create_chain()
FATFS
*
fs
=
dp
->
obj
.
fs
;
ff.c:1708
dir_sdi()
FATFS
*
fs
=
dp
->
obj
.
fs
;
ff.c:1756
dir_next()
FATFS
*
fs
=
dp
->
obj
.
fs
;
ff.c:1818
dir_alloc()
FATFS
*
fs
=
dp
->
obj
.
fs
;
ff.c:2317
dir_read()
FATFS
*
fs
=
dp
->
obj
.
fs
;
ff.c:2394
dir_find()
FATFS
*
fs
=
dp
->
obj
.
fs
;
ff.c:2475
dir_register()
FATFS
*
fs
=
dp
->
obj
.
fs
;
ff.c:2581
dir_remove()
FATFS
*
fs
=
dp
->
obj
.
fs
;
ff.c:2631
get_fileinfo()
p
=
*
path
;
lfn
=
dp
->
obj
.
fs
->
lfnbuf
;
di
=
0
;
ff.c:2867
create_name()
FATFS
*
fs
=
dp
->
obj
.
fs
;
ff.c:3063
follow_path()
if
(
obj
&&
obj
->
fs
&&
obj
->
fs
->
fs_type
&&
obj
->
id
==
obj
->
fs
->
id
)
{
/* Test if the object is valid */
ff.c:3630
validate()
if
(
lock_volume
(
obj
->
fs
,
0
)
)
{
/* Take a grant to access the volume */
ff.c:3632
validate()
if
(
!
(
disk_status
(
obj
->
fs
->
pdrv
)
&
STA_NOINIT
)
)
{
/* Test if the hosting phsical drive is kept initialized */
ff.c:3633
validate()
unlock_volume
(
obj
->
fs
,
FR_OK
)
;
/* Invalidated volume, abort to access */
ff.c:3636
validate()
*
rfs
=
(
res
==
FR_OK
)
?
obj
->
fs
:
0
;
/* Return corresponding filesystem object if it is valid */
ff.c:3647
validate()
dj
.
obj
.
fs
=
fs
;
ff.c:3753
f_open()
fp
->
obj
.
fs
=
fs
;
/* Validate the file object */
ff.c:3874
f_open()
fp
->
obj
.
fs
=
0
;
/* Invalidate file object on error */
ff.c:3928
f_open()
st_clust
(
fp
->
obj
.
fs
,
dir
,
fp
->
obj
.
sclust
)
;
/* Update file allocation information */
ff.c:4229
f_sync()
fp
->
obj
.
fs
=
0
;
/* Invalidate file object */
ff.c:4271
f_close()
dp
->
obj
.
fs
=
fs
;
ff.c:4653
f_opendir()
if
(
res
!=
FR_OK
)
dp
->
obj
.
fs
=
0
;
/* Invalidate the directory object if function failed */
ff.c:4692
f_opendir()
dp
->
obj
.
fs
=
0
;
/* Invalidate directory object */
ff.c:4718
f_closedir()
res
=
mount_volume
(
&
path
,
&
dj
.
obj
.
fs
,
0
)
;
ff.c:4833
f_stat()
INIT_NAMBUF
(
dj
.
obj
.
fs
)
;
ff.c:4835
f_stat()
LEAVE_FF
(
dj
.
obj
.
fs
,
res
)
;
ff.c:4847
f_stat()
clst
=
2
;
obj
.
fs
=
fs
;
ff.c:4882
f_getfree()
dj
.
obj
.
fs
=
fs
;
ff.c:5020
f_unlink()
sdj
.
obj
.
fs
=
fs
;
/* Open the sub-directory */
ff.c:5055
f_unlink()
dj
.
obj
.
fs
=
fs
;
ff.c:5111
f_mkdir()
sobj
.
fs
=
fs
;
/* New object id to create a new chain */
ff.c:5119
f_mkdir()
djo
.
obj
.
fs
=
fs
;
ff.c:5197
f_rename()
dj
.
obj
.
fs
=
fs
;
ff.c:5305
f_chmod()
dj
.
obj
.
fs
=
fs
;
ff.c:5351
f_utime()
if
(
fat_ctx
->
files
[
i
]
.
obj
.
fs
==
NULL
)
{
vfs_fat.c:288
get_next_fd()
clsz
=
(
DWORD
)
fp
->
obj
.
fs
->
csize
*
fp
->
obj
.
fs
->
ssize
;
vfs_fat.c:1458
test_contiguous_file()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
FFOBJID::fs
is written by 10 functions and is read by 18 functions:
f_open()
f_close()
f_opendir()
f_closedir()
f_getfree()
f_unlink()
f_mkdir()
f_rename()
f_chmod()
f_utime()
All items filtered out
FFOBJID::fs
get_fat()
remove_chain()
create_chain()
dir_sdi()
dir_next()
dir_alloc()
dir_read()
dir_find()
dir_register()
dir_remove()
get_fileinfo()
create_name()
follow_path()
validate()
f_sync()
f_stat()
get_next_fd()
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