ESP-IDF
spiffs_cache
is only used within ESP-IDF.
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
ESP-IDF
spiffs_cache
spiffs_cache struct
Syntax
Show:
Summary
Declaration
from
spiffs_nucleus.h:429
typedef
struct
{
u8_t
cpage_count
;
u32_t
last_access
;
u32_t
cpage_use_map
;
u32_t
cpage_use_mask
;
u8_t
*
cpages
;
}
spiffs_cache
;
Fields
Field
Declared as
spiffs_cache::cpage_count
u8_t
spiffs_cache::last_access
u32_t
spiffs_cache::cpage_use_map
u32_t
spiffs_cache::cpage_use_mask
u32_t
spiffs_cache::cpages
u8_t
*
Examples
References
from
examples
Code
Location
Referrer
typedef
struct
{
spiffs_nucleus.h:429
}
spiffs_cache
;
spiffs_nucleus.h:435
efs
->
cache_sz
=
sizeof
(
spiffs_cache
)
+
conf
->
max_files
*
(
sizeof
(
spiffs_cache_page
)
esp_spiffs.c:239
esp_spiffs_init()
spiffs_cache
*
cache
=
spiffs_get_cache
(
fs
)
;
spiffs_cache.c:15
spiffs_cache_page_get()
spiffs_cache
*
cache
=
spiffs_get_cache
(
fs
)
;
spiffs_cache.c:35
spiffs_cache_page_free()
spiffs_cache
*
cache
=
spiffs_get_cache
(
fs
)
;
spiffs_cache.c:64
spiffs_cache_page_remove_oldest()
spiffs_cache
*
cache
=
spiffs_get_cache
(
fs
)
;
spiffs_cache.c:93
spiffs_cache_page_allocate()
spiffs_cache
*
cache
=
spiffs_get_cache
(
fs
)
;
spiffs_cache.c:132
spiffs_phys_rd()
spiffs_cache
*
cache
=
spiffs_get_cache
(
fs
)
;
spiffs_cache.c:193
spiffs_phys_wr()
spiffs_cache
*
cache
=
spiffs_get_cache
(
fs
)
;
spiffs_cache.c:228
spiffs_cache_page_get_by_fd()
(
sz
-
sizeof
(
spiffs_cache
)
)
/
(
SPIFFS_CACHE_PAGE_SIZE
(
fs
)
)
;
spiffs_cache.c:292
spiffs_cache_init()
spiffs_cache
cache
;
spiffs_cache.c:300
spiffs_cache_init()
memset
(
&
cache
,
0
,
sizeof
(
spiffs_cache
)
)
;
spiffs_cache.c:301
spiffs_cache_init()
cache
.
cpages
=
(
u8_t
*
)
(
(
u8_t
*
)
fs
->
cache
+
sizeof
(
spiffs_cache
)
)
;
spiffs_cache.c:303
spiffs_cache_init()
_SPIFFS_MEMCPY
(
fs
->
cache
,
&
cache
,
sizeof
(
spiffs_cache
)
)
;
spiffs_cache.c:307
spiffs_cache_init()
spiffs_cache
*
c
=
spiffs_get_cache
(
fs
)
;
spiffs_cache.c:309
spiffs_cache_init()
spiffs_get_cache_page
(
fs
,
spiffs_get_cache
(
fs
)
,
fd
->
cache_page
->
ix
)
,
spiffs_hydrogen.c:520
SPIFFS_write()
spiffs_cache
*
cache
=
spiffs_get_cache
(
fs
)
;
spiffs_hydrogen.c:545
SPIFFS_write()
spiffs_get_cache_page
(
fs
,
spiffs_get_cache
(
fs
)
,
fd
->
cache_page
->
ix
)
,
spiffs_hydrogen.c:577
SPIFFS_write()
spiffs_get_cache_page
(
fs
,
spiffs_get_cache
(
fs
)
,
fd
->
cache_page
->
ix
)
,
spiffs_hydrogen.c:860
spiffs_fflush_cache()
}
spiffs_cache
;
spiffs_nucleus.h:435
spiffs_cache
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
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