Home
last modified time | relevance | path

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

/Zephyr-latest/include/zephyr/fs/
Dnvs.h63 uint32_t lookup_cache[CONFIG_NVS_LOOKUP_CACHE_SIZE]; member
Dzms.h66 uint64_t lookup_cache[CONFIG_ZMS_LOOKUP_CACHE_SIZE]; member
/Zephyr-latest/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()
677 wlk_addr = fs->lookup_cache[nvs_lookup_cache_pos(gc_ate.id)]; in nvs_gc()
927 fs->lookup_cache[i] = fs->ate_wra; in nvs_startup()
1094 wlk_addr = fs->lookup_cache[nvs_lookup_cache_pos(id)]; in nvs_write()
1227 wlk_addr = fs->lookup_cache[nvs_lookup_cache_pos(id)]; in nvs_read_hist()
/Zephyr-latest/subsys/fs/zms/
Dzms.c54 memset(fs->lookup_cache, 0xff, sizeof(fs->lookup_cache)); in zms_lookup_cache_rebuild()
66 cache_entry = &fs->lookup_cache[zms_lookup_cache_pos(ate.id)]; in zms_lookup_cache_rebuild()
98 uint64_t *cache_entry = fs->lookup_cache; in zms_lookup_cache_invalidate()
99 uint64_t *const cache_end = &fs->lookup_cache[CONFIG_ZMS_LOOKUP_CACHE_SIZE]; in zms_lookup_cache_invalidate()
215 fs->lookup_cache[zms_lookup_cache_pos(entry->id)] = fs->ate_wra; in zms_flash_ate_wrt()
955 wlk_addr = fs->lookup_cache[zms_lookup_cache_pos(gc_ate.id)]; in zms_gc()
1300 fs->lookup_cache[i] = fs->ate_wra; in zms_init()
1421 wlk_addr = fs->lookup_cache[zms_lookup_cache_pos(id)]; in zms_write()
1561 wlk_addr = fs->lookup_cache[zms_lookup_cache_pos(id)]; in zms_read_hist()
/Zephyr-latest/tests/subsys/fs/zms/src/
Dmain.c696 if ((fs->lookup_cache[i] & mask) == addr) { in num_matching_cache_entries()
746 memset(fixture->fs.lookup_cache, 0xAA, sizeof(fixture->fs.lookup_cache)); in ZTEST_F()
/Zephyr-latest/tests/subsys/fs/nvs/src/
Dmain.c769 if ((fs->lookup_cache[i] & mask) == addr) { in num_matching_cache_entries()
819 memset(fixture->fs.lookup_cache, 0xAA, sizeof(fixture->fs.lookup_cache)); in ZTEST_F()