Lines Matching refs:mNextFreeEntry
97 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()
437 if (index + span > mNextFreeEntry) { in eraseEntryAndSpan()
438 mNextFreeEntry = index + span; in eraseEntryAndSpan()
448 size_t end = mNextFreeEntry; in updateFirstUsedEntry()
488 err = other.mHashList.insert(entry, other.mNextFreeEntry); in copyItems()
548 mNextFreeEntry = i; in mLoadEntryTable()
557 while (mNextFreeEntry < ENTRY_COUNT) { in mLoadEntryTable()
558 uint32_t entryAddress = getEntryAddress(mNextFreeEntry); in mLoadEntryTable()
566 auto oldState = mEntryTable.get(mNextFreeEntry); in mLoadEntryTable()
567 auto err = alterEntryState(mNextFreeEntry, EntryState::ERASED); in mLoadEntryTable()
572 ++mNextFreeEntry; in mLoadEntryTable()
586 size_t end = mNextFreeEntry; in mLoadEntryTable()
741 mNextFreeEntry = 0; in initialize()
824 size_t end = mNextFreeEntry; in findItem()
946 mNextFreeEntry = INVALID_ENTRY; in erase()
976 …return ((mNextFreeEntry < (ENTRY_COUNT-1)) ? ((ENTRY_COUNT - mNextFreeEntry - 1) * ENTRY_SIZE): 0); in getVarDataTailroom()
1008 …ess, mSeqNumber, static_cast<int>(mFirstUsedEntry), static_cast<int>(mNextFreeEntry), mUsedEntryCo… in debugDump()