Searched refs:ate (Results 1 – 6 of 6) sorted by relevance
/Zephyr-latest/tests/subsys/fs/zms/src/ |
D | main.c | 574 struct zms_ate ate; in ZTEST_F() local 598 memset(&ate, 0, sizeof(struct zms_ate)); in ZTEST_F() 599 ate.id = 0x1; in ZTEST_F() 600 ate.len = sizeof(data); in ZTEST_F() 601 ate.cycle_cnt = 1; in ZTEST_F() 603 memcpy(&ate.data, &data, sizeof(data)); in ZTEST_F() 604 ate.crc8 = crc8_ccitt(0xff, (uint8_t *)&ate + SIZEOF_FIELD(struct zms_ate, crc8), in ZTEST_F() 622 &ate, sizeof(ate)); in ZTEST_F()
|
/Zephyr-latest/tests/subsys/fs/nvs/src/ |
D | main.c | 651 struct nvs_ate ate, close_ate; in ZTEST_F() local 664 ate.id = 0x1; in ZTEST_F() 665 ate.offset = 0; in ZTEST_F() 666 ate.len = sizeof(data); in ZTEST_F() 668 ate.len += sizeof(data_crc); in ZTEST_F() 670 ate.crc8 = crc8_ccitt(0xff, &ate, in ZTEST_F() 681 sizeof(struct nvs_ate) * 6, &ate, sizeof(ate)); in ZTEST_F()
|
/Zephyr-latest/subsys/fs/nvs/ |
D | nvs.c | 19 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() 517 static int nvs_prev_ate(struct nvs_fs *fs, uint32_t *addr, struct nvs_ate *ate) in nvs_prev_ate() argument 525 rc = nvs_flash_ate_rd(fs, *addr, ate); in nvs_prev_ate()
|
/Zephyr-latest/subsys/fs/zms/ |
D | zms.c | 18 static int zms_prev_ate(struct zms_fs *fs, uint64_t *addr, struct zms_ate *ate); 51 struct zms_ate ate; in zms_lookup_cache_rebuild() local 59 rc = zms_prev_ate(fs, &addr, &ate); in zms_lookup_cache_rebuild() 65 cache_entry = &fs->lookup_cache[zms_lookup_cache_pos(ate.id)]; in zms_lookup_cache_rebuild() 67 if (ate.id != ZMS_HEAD_ID && *cache_entry == ZMS_LOOKUP_CACHE_NO_ADDR) { in zms_lookup_cache_rebuild() 81 if (zms_ate_valid_different_sector(fs, &ate, current_cycle)) { in zms_lookup_cache_rebuild() 632 static int zms_prev_ate(struct zms_fs *fs, uint64_t *addr, struct zms_ate *ate) in zms_prev_ate() argument 636 rc = zms_flash_ate_rd(fs, *addr, ate); in zms_prev_ate() 829 uint64_t end_addr, struct zms_ate *ate, uint64_t *ate_addr) in zms_find_ate_with_id() argument 864 *ate = wlk_ate; in zms_find_ate_with_id()
|
/Zephyr-latest/doc/releases/ |
D | release-notes-3.7.rst | 1822 size than available, because space for reserved ate was not subtracted.
|
D | release-notes-2.4.rst | 1385 * :github:`26407` - fs: nvs: Incorrect handling of corrupt ate's in nvs_gc
|