ESP-IDF
s_instances
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
s_instances
s_instances variable
Syntax
Show:
Summary
Declaration
from
wear_levelling.cpp:48
static
wl_instance_t
s_instances
[
MAX_WL_HANDLES
]
;
Examples
References
from
examples
Code
Location
Referrer
static
wl_instance_t
s_instances
[
MAX_WL_HANDLES
]
;
wear_levelling.cpp:48
if
(
s_instances
[
i
]
.
instance
==
NULL
)
{
wear_levelling.cpp:68
wl_mount()
s_instances
[
*
out_handle
]
.
instance
=
wl_flash
;
wear_levelling.cpp:150
wl_mount()
_lock_init
(
&
s_instances
[
*
out_handle
]
.
lock
)
;
wear_levelling.cpp:152
wl_mount()
Partition
*
part
=
s_instances
[
handle
]
.
instance
->
get_part
(
)
;
wear_levelling.cpp:178
wl_unmount()
result
=
s_instances
[
handle
]
.
instance
->
flush
(
)
;
wear_levelling.cpp:181
wl_unmount()
s_instances
[
handle
]
.
instance
->
~
WL_Flash
(
)
;
wear_levelling.cpp:185
wl_unmount()
free
(
s_instances
[
handle
]
.
instance
)
;
wear_levelling.cpp:186
wl_unmount()
s_instances
[
handle
]
.
instance
=
NULL
;
wear_levelling.cpp:187
wl_unmount()
_lock_close
(
&
s_instances
[
handle
]
.
lock
)
;
// also zeroes the lock variable
wear_levelling.cpp:188
wl_unmount()
_lock_acquire
(
&
s_instances
[
handle
]
.
lock
)
;
wear_levelling.cpp:200
wl_erase_range()
result
=
s_instances
[
handle
]
.
instance
->
erase_range
(
start_addr
,
size
)
;
wear_levelling.cpp:201
wl_erase_range()
_lock_release
(
&
s_instances
[
handle
]
.
lock
)
;
wear_levelling.cpp:202
wl_erase_range()
_lock_acquire
(
&
s_instances
[
handle
]
.
lock
)
;
wear_levelling.cpp:212
wl_write()
result
=
s_instances
[
handle
]
.
instance
->
write
(
dest_addr
,
src
,
size
)
;
wear_levelling.cpp:213
wl_write()
_lock_release
(
&
s_instances
[
handle
]
.
lock
)
;
wear_levelling.cpp:214
wl_write()
_lock_acquire
(
&
s_instances
[
handle
]
.
lock
)
;
wear_levelling.cpp:224
wl_read()
result
=
s_instances
[
handle
]
.
instance
->
read
(
src_addr
,
dest
,
size
)
;
wear_levelling.cpp:225
wl_read()
_lock_release
(
&
s_instances
[
handle
]
.
lock
)
;
wear_levelling.cpp:226
wl_read()
_lock_acquire
(
&
s_instances
[
handle
]
.
lock
)
;
wear_levelling.cpp:236
wl_size()
size_t
result
=
s_instances
[
handle
]
.
instance
->
get_flash_size
(
)
;
wear_levelling.cpp:237
wl_size()
_lock_release
(
&
s_instances
[
handle
]
.
lock
)
;
wear_levelling.cpp:238
wl_size()
_lock_acquire
(
&
s_instances
[
handle
]
.
lock
)
;
wear_levelling.cpp:248
wl_sector_size()
size_t
result
=
s_instances
[
handle
]
.
instance
->
get_sector_size
(
)
;
wear_levelling.cpp:249
wl_sector_size()
_lock_release
(
&
s_instances
[
handle
]
.
lock
)
;
wear_levelling.cpp:250
wl_sector_size()
if
(
s_instances
[
handle
]
.
instance
==
NULL
)
{
wear_levelling.cpp:264
check_handle()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
s_instances
is read by 8 functions:
All items filtered out
s_instances
wl_mount()
wl_unmount()
wl_erase_range()
wl_write()
wl_read()
wl_size()
wl_sector_size()
check_handle()
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