Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/fs/zms/
Dzms.c18 static int zms_prev_ate(struct zms_fs *fs, uint64_t *addr, struct zms_ate *ate);
19 static int zms_ate_valid(struct zms_fs *fs, const struct zms_ate *entry);
21 static int zms_get_sector_header(struct zms_fs *fs, uint64_t addr, struct zms_ate *empty_ate,
22 struct zms_ate *close_ate);
23 static int zms_ate_valid_different_sector(struct zms_fs *fs, const struct zms_ate *entry,
51 struct zms_ate ate; in zms_lookup_cache_rebuild()
203 static int zms_flash_ate_wrt(struct zms_fs *fs, const struct zms_ate *entry) in zms_flash_ate_wrt()
207 rc = zms_flash_al_wrt(fs, fs->ate_wra, entry, sizeof(struct zms_ate)); in zms_flash_ate_wrt()
217 fs->ate_wra -= zms_al_size(fs, sizeof(struct zms_ate)); in zms_flash_ate_wrt()
237 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.h47 struct zms_ate { struct
/Zephyr-latest/tests/subsys/fs/zms/src/
Dmain.c574 struct zms_ate ate; in ZTEST_F()
575 struct zms_ate close_ate; in ZTEST_F()
576 struct zms_ate empty_ate; in ZTEST_F()
583 close_ate.offset = fixture->fs.sector_size - sizeof(struct zms_ate) * 5; in ZTEST_F()
595 crc8_ccitt(0xff, (uint8_t *)&empty_ate + SIZEOF_FIELD(struct zms_ate, crc8), in ZTEST_F()
596 sizeof(struct zms_ate) - SIZEOF_FIELD(struct zms_ate, crc8)); in ZTEST_F()
598 memset(&ate, 0, sizeof(struct zms_ate)); in ZTEST_F()
604 ate.crc8 = crc8_ccitt(0xff, (uint8_t *)&ate + SIZEOF_FIELD(struct zms_ate, crc8), in ZTEST_F()
605 sizeof(struct zms_ate) - SIZEOF_FIELD(struct zms_ate, crc8)); in ZTEST_F()
609 fixture->fs.offset + fixture->fs.sector_size - sizeof(struct zms_ate), in ZTEST_F()
[all …]
/Zephyr-latest/doc/services/storage/zms/
Dzms.rst202 struct zms_ate {