Searched refs:ENTRY_COUNT (Results 1 – 8 of 8) sorted by relevance
/hal_espressif-3.6.0/components/nvs_flash/src/ |
D | nvs_page.cpp | 211 if (mNextFreeEntry == INVALID_ENTRY || mNextFreeEntry + entriesCount > ENTRY_COUNT) { in writeItem() 449 if (end > ENTRY_COUNT) { in updateFirstUsedEntry() 450 end = ENTRY_COUNT; in updateFirstUsedEntry() 476 while (readEntryIndex < ENTRY_COUNT) { in copyItems() 500 assert(end <= ENTRY_COUNT); in copyItems() 531 for (size_t i = 0; i < ENTRY_COUNT; ++i) { in mLoadEntryTable() 546 for (size_t i = 0; i < ENTRY_COUNT; ++i) { in mLoadEntryTable() 557 while (mNextFreeEntry < ENTRY_COUNT) { in mLoadEntryTable() 587 if (end > ENTRY_COUNT) { in mLoadEntryTable() 588 end = ENTRY_COUNT; in mLoadEntryTable() [all …]
|
D | nvs_page.hpp | 47 static const size_t ENTRY_COUNT = 126; member in nvs::Page 50 static const size_t CHUNK_MAX_SIZE = ENTRY_SIZE * (ENTRY_COUNT - 1); 209 assert(entry < ENTRY_COUNT); in getEntryAddress() 221 typedef CompressedEnumTable<EntryState, 2, ENTRY_COUNT> TEntryTable;
|
D | nvs_item_hash_list.hpp | 61 …static const size_t ENTRY_COUNT = (BYTE_SIZE - sizeof(intrusive_list_node<HashListBlock>) - sizeof… member 64 HashListNode mNodes[ENTRY_COUNT];
|
D | nvs_pagemanager.cpp | 156 auto unused = Page::ENTRY_COUNT - it->getUsedEntryCount(); in requestNewPage() 238 nvsStats.total_entries += mFreePageList.size() * Page::ENTRY_COUNT; in fillStats() 239 nvsStats.free_entries += mFreePageList.size() * Page::ENTRY_COUNT; in fillStats()
|
D | nvs_item_hash_list.cpp | 51 if (block.mCount < HashListBlock::ENTRY_COUNT) { in insert()
|
D | nvs_storage.cpp | 720 if (itemIndex >= it->ENTRY_COUNT) break; in calcEntriesInNamespace()
|
/hal_espressif-3.6.0/components/nvs_flash/host_test/nvs_page_test/main/ |
D | nvs_page_test.cpp | 858 TEST_ASSERT_EQUAL((Page::ENTRY_COUNT - 3) * Page::ENTRY_SIZE, fix.page.getVarDataTailroom()); in test_Page_getVarDataTailroom__success() 870 TEST_ASSERT_EQUAL(Page::ENTRY_COUNT, nvsStats.free_entries); in test_Page_calcEntries__uninit() 871 TEST_ASSERT_EQUAL(Page::ENTRY_COUNT, nvsStats.total_entries); in test_Page_calcEntries__uninit() 895 TEST_ASSERT_EQUAL(Page::ENTRY_COUNT, nvsStats.free_entries); in test_Page_calcEntries__corrupt() 896 TEST_ASSERT_EQUAL(Page::ENTRY_COUNT, nvsStats.total_entries); in test_Page_calcEntries__corrupt() 909 TEST_ASSERT_EQUAL(Page::ENTRY_COUNT, nvsStats.total_entries); in test_Page_calcEntries__active_wo_blob() 922 TEST_ASSERT_EQUAL(Page::ENTRY_COUNT, nvsStats.total_entries); in test_Page_calcEntries__active_with_blob() 938 TEST_ASSERT_EQUAL(Page::ENTRY_COUNT, nvsStats.total_entries); in test_Page_calcEntries__invalid()
|
/hal_espressif-3.6.0/components/nvs_flash/test_nvs_host/ |
D | test_nvs.cpp | 145 for (size_t i = 0; i < Page::ENTRY_COUNT - 2; ++i) { 150 CHECK(page.getUsedEntryCount() == Page::ENTRY_COUNT - 1); 152 for (size_t i = 0; i < Page::ENTRY_COUNT - 2; ++i) { 158 CHECK(page.getErasedEntryCount() == Page::ENTRY_COUNT - 1); 166 for (size_t i = 0; i < Page::ENTRY_COUNT; ++i) { 268 …TEST_ESP_ERR(page.writeItem(1, ItemType::BLOB, "2", buf, Page::ENTRY_COUNT * Page::ENTRY_SIZE), ES… 400 for (size_t i = 0; i < Page::ENTRY_COUNT * 4 * 2; ++i) { 414 for (size_t i = 0; i < Page::ENTRY_COUNT; ++i) { 458 for (size_t i = 0; i < Page::ENTRY_COUNT * 4 * 2; ++i) { 516 for (size_t i = 0; i < Page::ENTRY_COUNT * 3; ++i) { [all …]
|