Home
last modified time | relevance | path

Searched refs:mNextFreeEntry (Results 1 – 2 of 2) sorted by relevance

/hal_espressif-3.6.0/components/nvs_flash/src/
Dnvs_page.cpp97 err = mPartition->write(getEntryAddress(mNextFreeEntry), &item, sizeof(item)); in writeEntry()
104 err = alterEntryState(mNextFreeEntry, EntryState::WRITTEN); in writeEntry()
110 mFirstUsedEntry = mNextFreeEntry; in writeEntry()
114 ++mNextFreeEntry; in writeEntry()
122 assert(mNextFreeEntry != INVALID_ENTRY); in writeEntryData()
146 auto rc = mPartition->write(getEntryAddress(mNextFreeEntry), buf, size); in writeEntryData()
157 auto err = alterEntryRangeState(mNextFreeEntry, mNextFreeEntry + count, EntryState::WRITTEN); in writeEntryData()
162 mNextFreeEntry += count; in writeEntryData()
211 if (mNextFreeEntry == INVALID_ENTRY || mNextFreeEntry + entriesCount > ENTRY_COUNT) { in writeItem()
219 err = mHashList.insert(item, mNextFreeEntry); in writeItem()
[all …]
Dnvs_page.hpp223 size_t mNextFreeEntry = INVALID_ENTRY; member in nvs::Page