Searched refs:cycle_cnt (Results 1 – 4 of 4) sorted by relevance
/Zephyr-latest/subsys/fs/zms/ |
D | zms.c | 20 static int zms_get_sector_cycle(struct zms_fs *fs, uint64_t addr, uint8_t *cycle_cnt); 24 uint8_t cycle_cnt); 413 uint8_t cycle_cnt) in zms_ate_valid_different_sector() argument 415 if ((cycle_cnt != entry->cycle_cnt) || zms_ate_crc8_check(entry)) { in zms_ate_valid_different_sector() 423 int previous_sector_num, uint8_t *cycle_cnt) in zms_get_cycle_on_sector_change() argument 431 rc = zms_get_sector_cycle(fs, addr, cycle_cnt); in zms_get_cycle_on_sector_change() 434 *cycle_cnt = 0; in zms_get_cycle_on_sector_change() 453 return (zms_ate_valid_different_sector(fs, entry, entry->cycle_cnt) && (!entry->len) && in zms_close_ate_valid() 465 return (zms_ate_valid_different_sector(fs, entry, entry->cycle_cnt) && in zms_empty_ate_valid() 478 return (zms_ate_valid_different_sector(fs, entry, entry->cycle_cnt) && (!entry->len) && in zms_gc_done_ate_valid() [all …]
|
D | zms_priv.h | 49 uint8_t cycle_cnt; /* cycle counter for non erasable devices */ member
|
/Zephyr-latest/tests/subsys/fs/zms/src/ |
D | main.c | 586 close_ate.cycle_cnt = 1; in ZTEST_F() 593 empty_ate.cycle_cnt = 1; in ZTEST_F() 601 ate.cycle_cnt = 1; in ZTEST_F()
|
/Zephyr-latest/doc/services/storage/zms/ |
D | zms.rst | 204 uint8_t cycle_cnt; /* cycle counter for non-erasable devices */
|