ESP-IDF
spiffs_cache_page
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (3/5)...
Files
loading (4/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_page
spiffs_cache_page struct
Syntax
Show:
Summary
Declaration
from
spiffs_nucleus.h:401
typedef
struct
{
u8_t
flags
;
u8_t
ix
;
u32_t
last_access
;
union
{
struct
{
spiffs_page_ix
pix
;
}
;
#if
SPIFFS_CACHE_WR
struct
{
spiffs_obj_id
obj_id
;
u32_t
offset
;
u16_t
size
;
}
;
#endif
}
;
}
spiffs_cache_page
;
Fields
Field
Declared as
spiffs_cache_page::flags
u8_t
spiffs_cache_page::ix
u8_t
spiffs_cache_page::last_access
u32_t
Examples
References
from
examples
Code
Location
Scope
Referrer
typedef
struct
{
spiffs_nucleus.h:401
}
spiffs_cache_page
;
spiffs_nucleus.h:426
efs
->
cache_sz
=
sizeof
(
spiffs_cache
)
+
conf
->
max_files
*
(
sizeof
(
spiffs_cache_page
)
esp_spiffs.c:239
esp_spiffs_init()
static
spiffs_cache_page
*
spiffs_cache_page_get
(
spiffs
*
fs
,
spiffs_page_ix
pix
)
{
spiffs_cache.c:14
spiffs_cache_page_get()
spiffs_cache_page
*
cp
=
spiffs_get_cache_page_hdr
(
fs
,
cache
,
i
)
;
spiffs_cache.c:19
spiffs_cache_page_get()
spiffs_cache_page
*
cp
=
spiffs_get_cache_page_hdr
(
fs
,
cache
,
ix
)
;
spiffs_cache.c:36
spiffs_cache_page_free()
u8_t
*
mem
=
spiffs_get_cache_page
(
fs
,
cache
,
ix
)
;
spiffs_cache.c:41
spiffs_cache_page_free()
spiffs_cache_page
*
cp
=
spiffs_get_cache_page_hdr
(
fs
,
cache
,
i
)
;
spiffs_cache.c:76
spiffs_cache_page_remove_oldest()
static
spiffs_cache_page
*
spiffs_cache_page_allocate
(
spiffs
*
fs
)
{
spiffs_cache.c:92
spiffs_cache_page_allocate()
spiffs_cache_page
*
cp
=
spiffs_get_cache_page_hdr
(
fs
,
cache
,
i
)
;
spiffs_cache.c:101
spiffs_cache_page_allocate()
spiffs_cache_page
*
cp
=
spiffs_cache_page_get
(
fs
,
pix
)
;
spiffs_cache.c:114
spiffs_cache_drop_page()
spiffs_cache_page
*
cp
=
spiffs_cache_page_get
(
fs
,
SPIFFS_PADDR_TO_PAGE
(
fs
,
addr
)
)
;
spiffs_cache.c:133
spiffs_phys_rd()
u8_t
*
mem
=
spiffs_get_cache_page
(
fs
,
cache
,
cp
->
ix
)
;
spiffs_cache.c:141
spiffs_phys_rd()
spiffs_get_cache_page
(
fs
,
cache
,
cp
->
ix
)
)
;
spiffs_cache.c:164
spiffs_phys_rd()
u8_t
*
mem
=
spiffs_get_cache_page
(
fs
,
cache
,
cp
->
ix
)
;
spiffs_cache.c:169
spiffs_phys_rd()
spiffs_cache_page
*
cp
=
spiffs_cache_page_get
(
fs
,
pix
)
;
spiffs_cache.c:194
spiffs_phys_wr()
u8_t
*
mem
=
spiffs_get_cache_page
(
fs
,
cache
,
cp
->
ix
)
;
spiffs_cache.c:207
spiffs_phys_wr()
spiffs_cache_page
*
spiffs_cache_page_get_by_fd
(
spiffs
*
fs
,
spiffs_fd
*
fd
)
{
spiffs_cache.c:227
spiffs_cache_page_get_by_fd()
spiffs_cache_page
*
cp
=
spiffs_get_cache_page_hdr
(
fs
,
cache
,
i
)
;
spiffs_cache.c:237
spiffs_cache_page_get_by_fd()
spiffs_cache_page
*
spiffs_cache_page_allocate_by_fd
(
spiffs
*
fs
,
spiffs_fd
*
fd
)
{
spiffs_cache.c:250
spiffs_cache_page_allocate_by_fd()
spiffs_cache_page
*
cp
=
spiffs_cache_page_allocate
(
fs
)
;
spiffs_cache.c:254
spiffs_cache_page_allocate_by_fd()
void
spiffs_cache_fd_release
(
spiffs
*
fs
,
spiffs_cache_page
*
cp
)
{
spiffs_cache.c:268
spiffs_cache_fd_release()
spiffs_cache_fd_release()::cp
(
sz
-
sizeof
(
spiffs_cache
)
)
/
(
SPIFFS_CACHE_PAGE_SIZE
(
fs
)
)
;
spiffs_cache.c:292
spiffs_cache_init()
memset
(
c
->
cpages
,
0
,
c
->
cpage_count
*
SPIFFS_CACHE_PAGE_SIZE
(
fs
)
)
;
spiffs_cache.c:311
spiffs_cache_init()
spiffs_get_cache_page_hdr
(
fs
,
c
,
i
)
->
ix
=
i
;
spiffs_cache.c:315
spiffs_cache_init()
spiffs_get_cache_page
(
fs
,
spiffs_get_cache
(
fs
)
,
fd
->
cache_page
->
ix
)
,
spiffs_hydrogen.c:520
SPIFFS_write()
u8_t
*
cpage_data
=
spiffs_get_cache_page
(
fs
,
cache
,
fd
->
cache_page
->
ix
)
;
spiffs_hydrogen.c:546
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_page
;
spiffs_nucleus.h:426
spiffs_cache_page
spiffs_cache_page
*
cache_page
;
spiffs_nucleus.h:463
spiffs_fd
spiffs_fd::cache_page
spiffs_cache_page
*
spiffs_cache_page_allocate_by_fd
(
spiffs_nucleus.h:798
spiffs_cache_page_allocate_by_fd()
spiffs_cache_page
*
cp
)
;
spiffs_nucleus.h:804
spiffs_cache_fd_release()
spiffs_cache_fd_release()::cp
spiffs_cache_page
*
spiffs_cache_page_get_by_fd
(
spiffs_nucleus.h:806
spiffs_cache_page_get_by_fd()
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
Instance
Scope
Location
Project
spiffs_fd::cache_page
spiffs_fd
spiffs_nucleus.h:463
return
spiffs_cache_page_allocate_by_fd()
spiffs_nucleus.h:798
spiffs_cache_fd_release()::cp
spiffs_cache_fd_release()
spiffs_nucleus.h:804
return
spiffs_cache_page_get_by_fd()
spiffs_nucleus.h:806
return
spiffs_cache_page_get()
spiffs_cache.c:14
return
spiffs_cache_page_allocate()
spiffs_cache.c:92
return
spiffs_cache_page_get_by_fd()
spiffs_cache.c:227
return
spiffs_cache_page_allocate_by_fd()
spiffs_cache.c:250
spiffs_cache_fd_release()::cp
spiffs_cache_fd_release()
spiffs_cache.c:268
Lifecycle
from
examples
All items filtered out
All items filtered out