Lines Matching full:nvs
24 #include <zephyr/fs/nvs.h>
89 /* Clear NVS */ in after()
100 ZTEST_SUITE(nvs, NULL, setup, before, after, NULL);
102 ZTEST_F(nvs, test_nvs_mount) in ZTEST_F() argument
135 ZTEST_F(nvs, test_nvs_write) in ZTEST_F() argument
167 ZTEST_F(nvs, test_nvs_corrupted_write) in ZTEST_F() argument
227 * are corrupted at this point and should be discarded by the NVS. in ZTEST_F()
232 /* Reinitialize the NVS. */ in ZTEST_F()
249 ZTEST_F(nvs, test_nvs_gc) in ZTEST_F() argument
348 ZTEST_F(nvs, test_nvs_gc_3sectors) in ZTEST_F() argument
463 ZTEST_F(nvs, test_nvs_corrupted_sector_close_operation) in ZTEST_F() argument
503 * sector closing operation, so only a part of a NVS in ZTEST_F()
525 /* Ensure that the NVS is able to store new content. */ in ZTEST_F()
532 ZTEST_F(nvs, test_nvs_full_sector) in ZTEST_F() argument
566 /* sanitycheck on NVS content */ in ZTEST_F()
584 ZTEST_F(nvs, test_delete) in ZTEST_F() argument
649 ZTEST_F(nvs, test_nvs_gc_corrupt_close_ate) in ZTEST_F() argument
717 ZTEST_F(nvs, test_nvs_gc_corrupt_ate) in ZTEST_F() argument
781 * Test that NVS lookup cache is properly rebuilt on nvs_mount(), or initialized
784 ZTEST_F(nvs, test_nvs_cache_init) in ZTEST_F() argument
828 * Test that even after writing more NVS IDs than the number of NVS lookup cache
831 ZTEST_F(nvs, test_nvs_cache_collission) in ZTEST_F() argument
857 * Test that NVS lookup cache does not contain any address from gc-ed sector
859 ZTEST_F(nvs, test_nvs_cache_gc) in ZTEST_F() argument
906 * Test NVS lookup cache hash quality.
908 ZTEST_F(nvs, test_nvs_cache_hash_quality) in ZTEST_F() argument
920 /* Write NVS IDs from 0 to CONFIG_NVS_LOOKUP_CACHE_SIZE - 1 */ in ZTEST_F()
943 /* Write CONFIG_NVS_LOOKUP_CACHE_SIZE NVS IDs that form the following series: 0, 4, 8... */ in ZTEST_F()
964 * Test NVS bad region initialization recovery.
966 ZTEST_F(nvs, test_nvs_init_bad_memory_region) in ZTEST_F() argument
984 /* Reinitialize the NVS. */ in ZTEST_F()
992 /* Ensure that the NVS is able to store new content. */ in ZTEST_F()