i80_controller sample
lv_cache_t::ops
is only used within i80_controller sample.
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
i80_controller sample
lv_cache_t::ops
lv_cache_t::ops field
Cache operations struct lv_cache_ops_t
Syntax
Show:
Summary
Declaration
from
lv_cache_private.h:132
lv_cache_ops_t
ops
;
Examples
References
from
examples
Code
Location
Referrer
lv_cache_ops_t
ops
;
/**< Cache operations struct lv_cache_ops_t */
lv_cache_private.h:132
cache
->
ops
=
ops
;
lv_cache.c:55
lv_cache_create()
cache
->
ops
.
free_cb
(
lv_cache_entry_get_data
(
entry
)
,
user_data
)
;
lv_cache.c:114
lv_cache_release()
bool
create_res
=
cache
->
ops
.
create_cb
(
lv_cache_entry_get_data
(
entry
)
,
user_data
)
;
lv_cache.c:180
lv_cache_acquire_or_create()
cache
->
ops
.
compare_cb
=
compare_cb
;
lv_cache.c:273
lv_cache_set_compare_cb()
cache
->
ops
.
create_cb
=
alloc_cb
;
lv_cache.c:278
lv_cache_set_create_cb()
cache
->
ops
.
free_cb
=
free_cb
;
lv_cache.c:283
lv_cache_set_free_cb()
cache
->
ops
.
free_cb
(
lv_cache_entry_get_data
(
entry
)
,
user_data
)
;
lv_cache.c:308
cache_drop_internal_no_lock()
cache
->
ops
.
free_cb
(
lv_cache_entry_get_data
(
victim
)
,
user_data
)
;
lv_cache.c:327
cache_evict_one_internal_no_lock()
LV_ASSERT_NULL
(
lru
->
cache
.
ops
.
compare_cb
)
;
lv_cache_lru_rb.c:197
init_cnt_cb()
LV_ASSERT_NULL
(
lru
->
cache
.
ops
.
free_cb
)
;
lv_cache_lru_rb.c:198
init_cnt_cb()
if
(
lru
->
cache
.
node_size
<=
0
||
lru
->
cache
.
ops
.
compare_cb
==
NULL
||
lru
->
cache
.
ops
.
free_cb
==
NULL
)
{
lv_cache_lru_rb.c:201
init_cnt_cb()
if
(
!
lv_rb_init
(
&
lru
->
rb
,
lru
->
cache
.
ops
.
compare_cb
,
lv_cache_entry_get_size
(
lru
->
cache
.
node_size
)
+
sizeof
(
void
*
)
)
)
{
lv_cache_lru_rb.c:206
init_cnt_cb()
LV_ASSERT_NULL
(
lru
->
cache
.
ops
.
compare_cb
)
;
lv_cache_lru_rb.c:220
init_size_cb()
LV_ASSERT_NULL
(
lru
->
cache
.
ops
.
free_cb
)
;
lv_cache_lru_rb.c:221
init_size_cb()
if
(
lru
->
cache
.
node_size
<=
0
||
lru
->
cache
.
ops
.
compare_cb
==
NULL
||
lru
->
cache
.
ops
.
free_cb
==
NULL
)
{
lv_cache_lru_rb.c:224
init_size_cb()
if
(
!
lv_rb_init
(
&
lru
->
rb
,
lru
->
cache
.
ops
.
compare_cb
,
lv_cache_entry_get_size
(
lru
->
cache
.
node_size
)
+
sizeof
(
void
*
)
)
)
{
lv_cache_lru_rb.c:229
init_size_cb()
if
(
lru
->
cache
.
ops
.
compare_cb
(
data
,
key
)
==
0
)
{
lv_cache_lru_rb.c:273
get_cb()
lru
->
cache
.
ops
.
free_cb
(
data
,
user_data
)
;
lv_cache_lru_rb.c:361
drop_cb()
lru
->
cache
.
ops
.
free_cb
(
search_key
,
user_data
)
;
lv_cache_lru_rb.c:391
drop_all_cb()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
lv_cache_t::ops
is written by 1 function and is read by 12 functions:
lv_cache_create()
All items filtered out
lv_cache_t::ops
lv_cache_release()
lv_cache_acquire_or_create()
lv_cache_set_compare_cb()
lv_cache_set_create_cb()
lv_cache_set_free_cb()
cache_drop_internal_no_lock()
cache_evict_one_internal_no_lock()
init_cnt_cb()
init_size_cb()
get_cb()
drop_cb()
drop_all_cb()
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