Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/tests/subsys/fs/nvs/src/
Dmain.c638 struct nvs_ate ate, close_ate; in ZTEST_F() local
648 ate.id = 0x1; in ZTEST_F()
649 ate.offset = 0; in ZTEST_F()
650 ate.len = sizeof(data); in ZTEST_F()
651 ate.crc8 = crc8_ccitt(0xff, &ate, in ZTEST_F()
662 sizeof(struct nvs_ate) * 6, &ate, sizeof(ate)); in ZTEST_F()
/Zephyr-Core-3.5.0/subsys/fs/nvs/
Dnvs.c19 static int nvs_prev_ate(struct nvs_fs *fs, uint32_t *addr, struct nvs_ate *ate);
44 struct nvs_ate ate; in nvs_lookup_cache_rebuild() local
52 rc = nvs_prev_ate(fs, &addr, &ate); in nvs_lookup_cache_rebuild()
58 cache_entry = &fs->lookup_cache[nvs_lookup_cache_pos(ate.id)]; in nvs_lookup_cache_rebuild()
60 if (ate.id != 0xFFFF && *cache_entry == NVS_LOOKUP_CACHE_NO_ADDR && in nvs_lookup_cache_rebuild()
61 nvs_ate_valid(fs, &ate)) { in nvs_lookup_cache_rebuild()
470 static int nvs_prev_ate(struct nvs_fs *fs, uint32_t *addr, struct nvs_ate *ate) in nvs_prev_ate() argument
478 rc = nvs_flash_ate_rd(fs, *addr, ate); in nvs_prev_ate()
/Zephyr-Core-3.5.0/doc/releases/
Drelease-notes-2.4.rst1385 * :github:`26407` - fs: nvs: Incorrect handling of corrupt ate's in nvs_gc