Home
last modified time | relevance | path

Searched refs:mPartition (Results 1 – 4 of 4) sorted by relevance

/hal_espressif-3.6.0/components/nvs_flash/src/
Dnvs_storage.hpp64 Storage(Partition *partition) : mPartition(partition) { in Storage()
105 return mPartition; in getPart()
110 return mPartition->get_partition_name(); in getPartName()
156 Partition *mPartition; member in nvs::Storage
Dnvs_page.cpp14 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()
[all …]
Dnvs_page.hpp233 Partition *mPartition; member in nvs::Page
Dnvs_storage.cpp91 auto err = mPageManager.load(mPartition, baseSector, sectorCount); in init()