Home
last modified time | relevance | path

Searched refs:VerOffset (Results 1 – 5 of 5) sorted by relevance

/device/soc/esp/esp32/components/nvs_flash/src/
Dnvs_page.hpp98 … void* data, size_t dataSize, uint8_t chunkIdx = CHUNK_ANY, VerOffset chunkStart = VerOffset::VER_…
100 … void* data, size_t dataSize, uint8_t chunkIdx = CHUNK_ANY, VerOffset chunkStart = VerOffset::VER_…
102 …pe datatype, const char* key, uint8_t chunkIdx = CHUNK_ANY, VerOffset chunkStart = VerOffset::VER_…
104 …pe datatype, const char* key, uint8_t chunkIdx = CHUNK_ANY, VerOffset chunkStart = VerOffset::VER_…
106 …ize_t &itemIndex, Item& item, uint8_t chunkIdx = CHUNK_ANY, VerOffset chunkStart = VerOffset::VER_…
Dnvs_storage.hpp56 VerOffset chunkStart;
118 …ageBlob(uint8_t nsIndex, const char* key, const void* data, size_t dataSize, VerOffset chunkStart);
124 …esp_err_t eraseMultiPageBlob(uint8_t nsIndex, const char* key, VerOffset chunkStart = VerOffset::V…
153 …age* &page, Item& item, uint8_t chunkIdx = Page::CHUNK_ANY, VerOffset chunkStart = VerOffset::VER_…
Dnvs_storage.cpp156 …temType datatype, const char* key, Page* &page, Item& item, uint8_t chunkIdx, VerOffset chunkStart) in findItem()
169 …PageBlob(uint8_t nsIndex, const char* key, const void* data, size_t dataSize, VerOffset chunkStart) in writeMultiPageBlob()
293 VerOffset prevStart, nextStart; in writeItem()
294 prevStart = nextStart = VerOffset::VER_0_OFFSET; in writeItem()
309 assert(prevStart == VerOffset::VER_0_OFFSET || prevStart == VerOffset::VER_1_OFFSET); in writeItem()
313 … = (prevStart == VerOffset::VER_1_OFFSET) ? VerOffset::VER_0_OFFSET : VerOffset::VER_1_OFFSET; in writeItem()
457 VerOffset chunkStart = item.blobIndex.chunkStart; in readMultiPageBlob()
500 VerOffset chunkStart = item.blobIndex.chunkStart; in cmpMultiPageBlob()
553 esp_err_t Storage::eraseMultiPageBlob(uint8_t nsIndex, const char* key, VerOffset chunkStart) in eraseMultiPageBlob()
573 if (chunkStart == VerOffset::VER_ANY) { in eraseMultiPageBlob()
[all …]
Dnvs_types.hpp37 enum class VerOffset: uint8_t { enum
70VerOffset chunkStart; // Offset from which the chunkIndex for children blobs starts
Dnvs_page.cpp273 …ype datatype, const char* key, void* data, size_t dataSize, uint8_t chunkIdx, VerOffset chunkStart) in readItem()
324 …tatype, const char* key, const void* data, size_t dataSize, uint8_t chunkIdx, VerOffset chunkStart) in cmpItem()
376 …seItem(uint8_t nsIndex, ItemType datatype, const char* key, uint8_t chunkIdx, VerOffset chunkStart) in eraseItem()
387 …ndItem(uint8_t nsIndex, ItemType datatype, const char* key, uint8_t chunkIdx, VerOffset chunkStart) in findItem()
804 …e datatype, const char* key, size_t &itemIndex, Item& item, uint8_t chunkIdx, VerOffset chunkStart) in findItem()
882 && chunkStart != VerOffset::VER_ANY in findItem()