Home
last modified time | relevance | path

Searched refs:zms_ate (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/subsys/fs/zms/
Dzms.c19 static int zms_prev_ate(struct zms_fs *fs, uint64_t *addr, struct zms_ate *ate);
20 static int zms_ate_valid(struct zms_fs *fs, const struct zms_ate *entry);
22 static int zms_get_sector_header(struct zms_fs *fs, uint64_t addr, struct zms_ate *empty_ate,
23 struct zms_ate *close_ate);
24 static int zms_ate_valid_different_sector(struct zms_fs *fs, const struct zms_ate *entry,
52 struct zms_ate ate; in zms_lookup_cache_rebuild()
204 static int zms_flash_ate_wrt(struct zms_fs *fs, const struct zms_ate *entry) in zms_flash_ate_wrt()
208 rc = zms_flash_al_wrt(fs, fs->ate_wra, entry, sizeof(struct zms_ate)); in zms_flash_ate_wrt()
218 fs->ate_wra -= zms_al_size(fs, sizeof(struct zms_ate)); in zms_flash_ate_wrt()
238 static int zms_flash_ate_rd(struct zms_fs *fs, uint64_t addr, struct zms_ate *entry) in zms_flash_ate_rd()
[all …]
Dzms_priv.h48 struct zms_ate { struct
/Zephyr-latest/tests/subsys/fs/zms/src/
Dmain.c573 struct zms_ate ate; in ZTEST_F()
574 struct zms_ate close_ate; in ZTEST_F()
575 struct zms_ate empty_ate; in ZTEST_F()
582 close_ate.offset = fixture->fs.sector_size - sizeof(struct zms_ate) * 5; in ZTEST_F()
594 crc8_ccitt(0xff, (uint8_t *)&empty_ate + SIZEOF_FIELD(struct zms_ate, crc8), in ZTEST_F()
595 sizeof(struct zms_ate) - SIZEOF_FIELD(struct zms_ate, crc8)); in ZTEST_F()
597 memset(&ate, 0, sizeof(struct zms_ate)); in ZTEST_F()
603 ate.crc8 = crc8_ccitt(0xff, (uint8_t *)&ate + SIZEOF_FIELD(struct zms_ate, crc8), in ZTEST_F()
604 sizeof(struct zms_ate) - SIZEOF_FIELD(struct zms_ate, crc8)); in ZTEST_F()
608 fixture->fs.offset + fixture->fs.sector_size - sizeof(struct zms_ate), in ZTEST_F()
[all …]
/Zephyr-latest/doc/services/storage/zms/
Dzms.rst201 See the :c:struct:`zms_ate` structure.