FatFS
validate()
is only used within FatFS.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Related
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
FatFS
validate()
validate() function
Syntax
Show:
Summary
Declaration
from
ff.c:3622
static
FRESULT
validate
(
FFOBJID
*
obj
,
FATFS
*
*
rfs
)
;
Arguments
Argument
obj
rfs
Related Functions
Found 3 other functions taking a
FFOBJID
argument:
Function
get_fat()
create_chain()
remove_chain()
Examples
References
from
examples
Code
Location
Referrer
static
FRESULT
validate
(
/* Returns FR_OK or FR_INVALID_OBJECT */
ff.c:3622
res
=
validate
(
&
fp
->
obj
,
&
fs
)
;
/* Check validity of the file object */
ff.c:3968
f_read()
res
=
validate
(
&
fp
->
obj
,
&
fs
)
;
/* Check validity of the file object */
ff.c:4067
f_write()
res
=
validate
(
&
fp
->
obj
,
&
fs
)
;
/* Check validity of the file object */
ff.c:4182
f_sync()
res
=
validate
(
&
fp
->
obj
,
&
fs
)
;
/* Lock volume */
ff.c:4265
f_close()
res
=
validate
(
&
fp
->
obj
,
&
fs
)
;
/* Check validity of the file object */
ff.c:4490
f_lseek()
res
=
validate
(
&
dp
->
obj
,
&
fs
)
;
/* Check validity of the file object */
ff.c:4712
f_closedir()
res
=
validate
(
&
dp
->
obj
,
&
fs
)
;
/* Check validity of the directory object */
ff.c:4744
f_readdir()
res
=
validate
(
&
fp
->
obj
,
&
fs
)
;
/* Check validity of the file object */
ff.c:4962
f_truncate()
res
=
validate
(
&
fp
->
obj
,
&
fs
)
;
/* Check validity of the file object */
ff.c:5617
f_expand()
Call Tree
from
examples
validate()
is called by 9 functions and calls 3 functions:
f_read()
f_write()
f_sync()
f_close()
f_lseek()
f_closedir()
f_readdir()
f_truncate()
f_expand()
All items filtered out
validate()
ff_disk_status()
lock_volume()
unlock_volume()
All items filtered out
Data Use
from
examples
validate()
reads 8 variables:
FRESULT::FR_OK
FRESULT::FR_INVALID_OBJECT
FRESULT::FR_TIMEOUT
FATFS::fs_type
FATFS::pdrv
FATFS::id
FFOBJID::fs
FFOBJID::id
All items filtered out
validate()
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