ESP-IDF
nvs::Page::ENTRY_SIZE
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
nvs::Page::ENTRY_SIZE
nvs::Page::ENTRY_SIZE variable
Syntax
Show:
Summary
Declaration
from
nvs_page.hpp:39
static
const
size_t
ENTRY_SIZE
=
NVS_CONST_ENTRY_SIZE
;
Examples
References
from
examples
Code
Location
Scope
Referrer
static
const
size_t
ENTRY_SIZE
=
NVS_CONST_ENTRY_SIZE
;
nvs_page.hpp:39
NVS_ASSERT_OR_RETURN
(
size
%
ENTRY_SIZE
==
0
,
ESP_FAIL
)
;
nvs_page.cpp:130
nvs::Page
nvs::Page::writeEntryData()
const
uint16_t
count
=
size
/
ENTRY_SIZE
;
nvs_page.cpp:133
nvs::Page
nvs::Page::writeEntryData()
size_t
totalSize
=
ENTRY_SIZE
;
nvs_page.cpp:186
nvs::Page
nvs::Page::writeItem()
size_t
roundedSize
=
(
dataSize
+
ENTRY_SIZE
-
1
)
&
~
(
ENTRY_SIZE
-
1
)
;
nvs_page.cpp:189
nvs::Page
nvs::Page::writeItem()
entriesCount
+=
roundedSize
/
ENTRY_SIZE
;
nvs_page.cpp:191
nvs::Page
nvs::Page::writeItem()
NVS_ASSERT_OR_RETURN
(
totalSize
==
ENTRY_SIZE
||
nvs_page.cpp:195
nvs::Page
nvs::Page::writeItem()
size_t
span
=
(
totalSize
+
ENTRY_SIZE
-
1
)
/
ENTRY_SIZE
;
nvs_page.cpp:204
nvs::Page
nvs::Page::writeItem()
size_t
rest
=
dataSize
%
ENTRY_SIZE
;
nvs_page.cpp:230
nvs::Page
nvs::Page::writeItem()
size_t
willCopy
=
ENTRY_SIZE
;
nvs_page.cpp:288
nvs::Page
nvs::Page::readItem()
size_t
willCopy
=
ENTRY_SIZE
;
nvs_page.cpp:341
nvs::Page
nvs::Page::cmpItem()
return
(
(
mNextFreeEntry
<
(
ENTRY_COUNT
-
1
)
)
?
(
(
ENTRY_COUNT
-
mNextFreeEntry
-
1
)
*
ENTRY_SIZE
)
:
0
)
;
nvs_page.cpp:1064
nvs::Page
nvs::Page::getVarDataTailroom() const
static
const
size_t
CHUNK_MAX_SIZE
=
ENTRY_SIZE
*
(
ENTRY_COUNT
-
1
)
;
nvs_page.hpp:43
*
address
=
mBaseAddress
+
ENTRY_DATA_OFFSET
+
static_cast
<
uint32_t
>
(
entry
)
*
ENTRY_SIZE
;
nvs_page.hpp:203
nvs::Page
nvs::Page::getEntryAddress() const
if
(
remainingSize
||
(
tailroom
-
chunkSize
)
<
Page
::
ENTRY_SIZE
)
{
nvs_storage.cpp:336
nvs::Storage
nvs::Storage::writeMultiPageBlob()
const
uint32_t
maxDataSize
=
(
uint32_t
)
(
(
UINT8_MAX
/
2
)
*
(
Page
::
ENTRY_COUNT
-
1
)
*
Page
::
ENTRY_SIZE
)
;
nvs_types.cpp:87
nvs::Item
nvs::Item::checkHeaderConsistency() const
maxAvailableVDataSize
=
(
(
Page
::
ENTRY_COUNT
-
entryIndex
)
-
1
)
*
Page
::
ENTRY_SIZE
;
nvs_types.cpp:115
nvs::Item
nvs::Item::checkHeaderConsistency() const
spanCalcFromLen
=
(
uint8_t
)
(
(
(
size_t
)
varLength
.
dataSize
+
Page
::
ENTRY_SIZE
-
1
)
/
Page
::
ENTRY_SIZE
)
;
nvs_types.cpp:133
nvs::Item
nvs::Item::checkHeaderConsistency() const
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
nvs::Page::ENTRY_SIZE
is read by 8 functions:
All items filtered out
nvs::Page::ENTRY_SIZE
nvs::Page::getEntryAddress() const
nvs::Page::writeEntryData()
nvs::Page::writeItem()
nvs::Page::readItem()
nvs::Page::cmpItem()
nvs::Page::getVarDataTailroom() const
nvs::Storage::writeMultiPageBlob()
nvs::Item::checkHeaderConsistency() const
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