Lines Matching refs:mPartition
14 Page::Page() : mPartition(nullptr) { } in Page()
29 mPartition = partition; in load()
35 auto rc = mPartition->read_raw(mBaseAddress, &header, sizeof(header)); in load()
50 rc = mPartition->read_raw(mBaseAddress + i, block, 4 * BLOCK_SIZE); in load()
97 err = mPartition->write(getEntryAddress(mNextFreeEntry), &item, sizeof(item)); in writeEntry()
146 auto rc = mPartition->write(getEntryAddress(mNextFreeEntry), buf, size); in writeEntryData()
521 auto rc = mPartition->read_raw(mBaseAddress + ENTRY_TABLE_OFFSET, mEntryTable.data(), in mLoadEntryTable()
560 auto rc = mPartition->read_raw(entryAddress, &header, sizeof(header)); in mLoadEntryTable()
735 auto rc = mPartition->write_raw(mBaseAddress, &header, sizeof(header)); in initialize()
752 …auto rc = mPartition->write_raw(mBaseAddress + ENTRY_TABLE_OFFSET + static_cast<uint32_t>(wordToWr… in alterEntryState()
776 …auto rc = mPartition->write_raw(mBaseAddress + ENTRY_TABLE_OFFSET + static_cast<uint32_t>(wordInde… in alterEntryRangeState()
790 auto rc = mPartition->write_raw(mBaseAddress, &state_val, sizeof(state)); in alterPageState()
801 auto rc = mPartition->read(getEntryAddress(index), &dst, sizeof(dst)); in readEntry()
938 auto rc = mPartition->erase_range(mBaseAddress, SPI_FLASH_SEC_SIZE); in erase()