Home
last modified time | relevance | path

Searched refs:free_entries (Results 1 – 7 of 7) sorted by relevance

/hal_espressif-3.6.0/components/nvs_flash/test/
Dtest_nvs.c125 TEST_ASSERT_TRUE(stat1.free_entries == 0);
156 TEST_ASSERT_TRUE(stat1.free_entries != 0);
165 TEST_ASSERT_TRUE(stat2.free_entries + 1 == stat1.free_entries);
173 TEST_ASSERT_TRUE(stat1.free_entries + 1 == stat2.free_entries);
181 TEST_ASSERT_TRUE(stat2.free_entries == stat1.free_entries);
189 TEST_ASSERT_TRUE(stat1.free_entries + 1 == stat2.free_entries);
203 TEST_ASSERT_TRUE(stat2.free_entries + 1 == stat1.free_entries);
213 TEST_ASSERT_TRUE(stat1.free_entries + 3 == stat2.free_entries);
218 TEST_ASSERT_TRUE(stat1.total_entries == (stat1.used_entries + stat1.free_entries));
240 TEST_ASSERT_TRUE(stat2.free_entries + 1 == stat1.free_entries);
[all …]
/hal_espressif-3.6.0/components/nvs_flash/src/
Dnvs_pagemanager.cpp225 nvsStats.free_entries = 0; in fillStats()
239 nvsStats.free_entries += mFreePageList.size() * Page::ENTRY_COUNT; in fillStats()
Dnvs_page.cpp1044 nvsStats.free_entries += ENTRY_COUNT; in calcEntries()
1050 … nvsStats.free_entries += ENTRY_COUNT - mUsedEntryCount; // it's equivalent free + erase entries. in calcEntries()
Dnvs_api.cpp538 nvs_stats->free_entries = 0; in nvs_get_stats()
/hal_espressif-3.6.0/components/nvs_flash/test_nvs_host/
Dtest_nvs.cpp1858 CHECK(stat1.free_entries == 0);
1877 CHECK(stat1.free_entries != 0);
1886 CHECK(stat2.free_entries + 1 == stat1.free_entries);
1894 CHECK(stat1.free_entries + 1 == stat2.free_entries);
1902 CHECK(stat2.free_entries == stat1.free_entries);
1910 CHECK(stat1.free_entries + 1 == stat2.free_entries);
1924 CHECK(stat2.free_entries + 1 == stat1.free_entries);
1934 CHECK(stat1.free_entries + 3 == stat2.free_entries);
1939 CHECK(stat1.total_entries == (stat1.used_entries + stat1.free_entries));
1961 CHECK(stat2.free_entries + 1 == stat1.free_entries);
[all …]
/hal_espressif-3.6.0/components/nvs_flash/host_test/nvs_page_test/main/
Dnvs_page_test.cpp870 TEST_ASSERT_EQUAL(Page::ENTRY_COUNT, nvsStats.free_entries); in test_Page_calcEntries__uninit()
895 TEST_ASSERT_EQUAL(Page::ENTRY_COUNT, nvsStats.free_entries); in test_Page_calcEntries__corrupt()
908 TEST_ASSERT_EQUAL(124, nvsStats.free_entries); in test_Page_calcEntries__active_wo_blob()
921 TEST_ASSERT_EQUAL(122, nvsStats.free_entries); in test_Page_calcEntries__active_with_blob()
937 TEST_ASSERT_EQUAL(0, nvsStats.free_entries); in test_Page_calcEntries__invalid()
/hal_espressif-3.6.0/components/nvs_flash/include/
Dnvs.h520 size_t free_entries; /**< Amount of free entries. */ member