Searched refs:free_entries (Results 1 – 7 of 7) sorted by relevance
125 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 …]
225 nvsStats.free_entries = 0; in fillStats()239 nvsStats.free_entries += mFreePageList.size() * Page::ENTRY_COUNT; in fillStats()
1044 nvsStats.free_entries += ENTRY_COUNT; in calcEntries()1050 … nvsStats.free_entries += ENTRY_COUNT - mUsedEntryCount; // it's equivalent free + erase entries. in calcEntries()
538 nvs_stats->free_entries = 0; in nvs_get_stats()
1858 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 …]
870 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()
520 size_t free_entries; /**< Amount of free entries. */ member