ESP-IDF
_efs
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
_efs
_efs variable
Syntax
Show:
Summary
Declaration
from
esp_spiffs.c:84
static
esp_spiffs_t
*
_efs
[
CONFIG_SPIFFS_MAX_PARTITIONS
]
;
Examples
References
from
examples
Code
Location
Referrer
static
esp_spiffs_t
*
_efs
[
CONFIG_SPIFFS_MAX_PARTITIONS
]
;
esp_spiffs.c:84
p
=
_efs
[
i
]
;
esp_spiffs.c:109
esp_spiffs_by_label()
if
(
_efs
[
i
]
==
NULL
)
{
esp_spiffs.c:127
esp_spiffs_get_empty()
_efs
[
index
]
=
efs
;
esp_spiffs.c:289
esp_spiffs_init()
return
(
SPIFFS_mounted
(
_efs
[
index
]
->
fs
)
)
;
esp_spiffs.c:299
esp_spiffs_mounted()
SPIFFS_info
(
_efs
[
index
]
->
fs
,
(
uint32_t
*
)
total_bytes
,
(
uint32_t
*
)
used_bytes
)
;
esp_spiffs.c:308
esp_spiffs_info()
if
(
SPIFFS_check
(
_efs
[
index
]
->
fs
)
!=
SPIFFS_OK
)
{
esp_spiffs.c:318
esp_spiffs_check()
int
spiffs_res
=
SPIFFS_errno
(
_efs
[
index
]
->
fs
)
;
esp_spiffs.c:319
esp_spiffs_check()
errno
=
spiffs_res_to_errno
(
SPIFFS_errno
(
_efs
[
index
]
->
fs
)
)
;
esp_spiffs.c:321
esp_spiffs_check()
SPIFFS_clearerr
(
_efs
[
index
]
->
fs
)
;
esp_spiffs.c:322
esp_spiffs_check()
}
else
if
(
SPIFFS_mounted
(
_efs
[
index
]
->
fs
)
)
{
esp_spiffs.c:349
esp_spiffs_format()
SPIFFS_unmount
(
_efs
[
index
]
->
fs
)
;
esp_spiffs.c:353
esp_spiffs_format()
s32_t
res
=
SPIFFS_format
(
_efs
[
index
]
->
fs
)
;
esp_spiffs.c:355
esp_spiffs_format()
ESP_LOGE
(
TAG
,
"format failed, %"
PRId32
,
SPIFFS_errno
(
_efs
[
index
]
->
fs
)
)
;
esp_spiffs.c:357
esp_spiffs_format()
SPIFFS_clearerr
(
_efs
[
index
]
->
fs
)
;
esp_spiffs.c:358
esp_spiffs_format()
esp_spiffs_free
(
&
_efs
[
index
]
)
;
esp_spiffs.c:364
esp_spiffs_format()
res
=
SPIFFS_mount
(
_efs
[
index
]
->
fs
,
&
_efs
[
index
]
->
cfg
,
_efs
[
index
]
->
work
,
esp_spiffs.c:370
esp_spiffs_format()
_efs
[
index
]
->
fds
,
_efs
[
index
]
->
fds_sz
,
_efs
[
index
]
->
cache
,
esp_spiffs.c:371
esp_spiffs_format()
_efs
[
index
]
->
cache_sz
,
spiffs_api_check
)
;
esp_spiffs.c:372
esp_spiffs_format()
ESP_LOGE
(
TAG
,
"mount failed, %"
PRId32
,
SPIFFS_errno
(
_efs
[
index
]
->
fs
)
)
;
esp_spiffs.c:374
esp_spiffs_format()
SPIFFS_clearerr
(
_efs
[
index
]
->
fs
)
;
esp_spiffs.c:375
esp_spiffs_format()
esp_spiffs_free
(
&
_efs
[
index
]
)
;
esp_spiffs.c:379
esp_spiffs_format()
int
res
=
SPIFFS_gc
(
_efs
[
index
]
->
fs
,
size_to_gc
)
;
esp_spiffs.c:390
esp_spiffs_gc()
SPIFFS_clearerr
(
_efs
[
index
]
->
fs
)
;
esp_spiffs.c:393
esp_spiffs_gc()
if
(
_efs
[
index
]
->
partition
->
readonly
)
{
esp_spiffs.c:454
esp_vfs_spiffs_register()
strlcat
(
_efs
[
index
]
->
base_path
,
conf
->
base_path
,
ESP_VFS_PATH_MAX
+
1
)
;
esp_spiffs.c:458
esp_vfs_spiffs_register()
err
=
esp_vfs_register_fs
(
conf
->
base_path
,
&
s_vfs_spiffs
,
vfs_flags
,
_efs
[
index
]
)
;
esp_spiffs.c:459
esp_vfs_spiffs_register()
esp_spiffs_free
(
&
_efs
[
index
]
)
;
esp_spiffs.c:461
esp_vfs_spiffs_register()
esp_err_t
err
=
esp_vfs_unregister
(
_efs
[
index
]
->
base_path
)
;
esp_spiffs.c:474
esp_vfs_spiffs_unregister()
esp_spiffs_free
(
&
_efs
[
index
]
)
;
esp_spiffs.c:478
esp_vfs_spiffs_unregister()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
_efs
is read by 10 functions:
All items filtered out
_efs
esp_spiffs_by_label()
esp_spiffs_get_empty()
esp_spiffs_init()
esp_spiffs_mounted()
esp_spiffs_info()
esp_spiffs_check()
esp_spiffs_format()
esp_spiffs_gc()
esp_vfs_spiffs_register()
esp_vfs_spiffs_unregister()
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