Home
last modified time | relevance | path

Searched refs:lookup_cache (Results 1 – 3 of 3) sorted by relevance

/Zephyr-Core-3.5.0/include/zephyr/fs/
Dnvs.h61 uint32_t lookup_cache[CONFIG_NVS_LOOKUP_CACHE_SIZE]; member
/Zephyr-Core-3.5.0/subsys/fs/nvs/
Dnvs.c46 memset(fs->lookup_cache, 0xff, sizeof(fs->lookup_cache)); in nvs_lookup_cache_rebuild()
58 cache_entry = &fs->lookup_cache[nvs_lookup_cache_pos(ate.id)]; in nvs_lookup_cache_rebuild()
75 uint32_t *cache_entry = fs->lookup_cache; in nvs_lookup_cache_invalidate()
76 uint32_t *const cache_end = &fs->lookup_cache[CONFIG_NVS_LOOKUP_CACHE_SIZE]; in nvs_lookup_cache_invalidate()
169 fs->lookup_cache[nvs_lookup_cache_pos(entry->id)] = fs->ate_wra; in nvs_flash_ate_wrt()
630 wlk_addr = fs->lookup_cache[nvs_lookup_cache_pos(gc_ate.id)]; in nvs_gc()
869 fs->lookup_cache[i] = fs->ate_wra; in nvs_startup()
1035 wlk_addr = fs->lookup_cache[nvs_lookup_cache_pos(id)]; in nvs_write()
1165 wlk_addr = fs->lookup_cache[nvs_lookup_cache_pos(id)]; in nvs_read_hist()
/Zephyr-Core-3.5.0/tests/subsys/fs/nvs/src/
Dmain.c740 if ((fs->lookup_cache[i] & mask) == addr) { in num_matching_cache_entries()
790 memset(fixture->fs.lookup_cache, 0xAA, sizeof(fixture->fs.lookup_cache)); in ZTEST_F()