Home
last modified time | relevance | path

Searched refs:chunkStart (Results 1 – 6 of 6) sorted by relevance

/hal_espressif-3.6.0/components/nvs_flash/src/
Dnvs_storage.cpp50 entry->chunkStart = item.blobIndex.chunkStart; in populateBlobIndices()
79 && (item.chunkIndex >= static_cast<uint8_t> (e.chunkStart)) in eraseOrphanDataBlobs()
80 … && (item.chunkIndex < static_cast<uint8_t> (e.chunkStart) + e.chunkCount);}); in eraseOrphanDataBlobs()
148 …temType datatype, const char* key, Page* &page, Item& item, uint8_t chunkIdx, VerOffset chunkStart) in findItem() argument
152 auto err = it->findItem(nsIndex, datatype, key, itemIndex, item, chunkIdx, chunkStart); in findItem()
161 …PageBlob(uint8_t nsIndex, const char* key, const void* data, size_t dataSize, VerOffset chunkStart) in writeMultiPageBlob() argument
212 …c_cast<const uint8_t*> (data) + offset, chunkSize, static_cast<uint8_t> (chunkStart) + chunkCount); in writeMultiPageBlob()
245 item.blobIndex.chunkStart = chunkStart; in writeMultiPageBlob()
300 prevStart = item.blobIndex.chunkStart; in writeItem()
449 VerOffset chunkStart = item.blobIndex.chunkStart; in readMultiPageBlob() local
[all …]
Dnvs_page.hpp98 …, void* data, size_t dataSize, uint8_t chunkIdx = CHUNK_ANY, VerOffset chunkStart = VerOffset::VER…
100 …t void* data, size_t dataSize, uint8_t chunkIdx = CHUNK_ANY, VerOffset chunkStart = VerOffset::VER…
102 …ype datatype, const char* key, uint8_t chunkIdx = CHUNK_ANY, VerOffset chunkStart = VerOffset::VER…
104 …ype datatype, const char* key, uint8_t chunkIdx = CHUNK_ANY, VerOffset chunkStart = VerOffset::VER…
106 …size_t &itemIndex, Item& item, uint8_t chunkIdx = CHUNK_ANY, VerOffset chunkStart = VerOffset::VER…
Dnvs_storage.hpp56 VerOffset chunkStart; member
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 …Page* &page, Item& item, uint8_t chunkIdx = Page::CHUNK_ANY, VerOffset chunkStart = VerOffset::VER…
Dnvs_page.cpp266 …ype datatype, const char* key, void* data, size_t dataSize, uint8_t chunkIdx, VerOffset chunkStart) in readItem() argument
275 esp_err_t rc = findItem(nsIndex, datatype, key, index, item, chunkIdx, chunkStart); in readItem()
317 …tatype, const char* key, const void* data, size_t dataSize, uint8_t chunkIdx, VerOffset chunkStart) in cmpItem() argument
326 esp_err_t rc = findItem(nsIndex, datatype, key, index, item, chunkIdx, chunkStart); in cmpItem()
369 …seItem(uint8_t nsIndex, ItemType datatype, const char* key, uint8_t chunkIdx, VerOffset chunkStart) in eraseItem() argument
373 esp_err_t rc = findItem(nsIndex, datatype, key, index, item, chunkIdx, chunkStart); in eraseItem()
380 …ndItem(uint8_t nsIndex, ItemType datatype, const char* key, uint8_t chunkIdx, VerOffset chunkStart) in findItem() argument
384 return findItem(nsIndex, datatype, key, index, item, chunkIdx, chunkStart); in findItem()
808 …e datatype, const char* key, size_t &itemIndex, Item& item, uint8_t chunkIdx, VerOffset chunkStart) in findItem() argument
886 && chunkStart != VerOffset::VER_ANY in findItem()
[all …]
Dnvs_types.hpp70 … VerOffset chunkStart; // Offset from which the chunkIndex for children blobs starts member
/hal_espressif-3.6.0/components/nvs_flash/test_nvs_host/
Dtest_nvs.cpp2476 item.blobIndex.chunkStart = VerOffset::VER_0_OFFSET;
2531 item.blobIndex.chunkStart = VerOffset::VER_0_OFFSET;