Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/subsys/fs/nvs/
Dnvs.c47 addr = fs->ate_wra; in nvs_lookup_cache_rebuild()
65 if (addr == fs->ate_wra) { in nvs_lookup_cache_rebuild()
164 rc = nvs_flash_al_wrt(fs, fs->ate_wra, entry, in nvs_flash_ate_wrt()
169 fs->lookup_cache[nvs_lookup_cache_pos(entry->id)] = fs->ate_wra; in nvs_flash_ate_wrt()
172 fs->ate_wra -= nvs_al_size(fs, sizeof(struct nvs_ate)); in nvs_flash_ate_wrt()
503 *addr = fs->ate_wra; in nvs_prev_ate()
545 close_ate.offset = (uint16_t)((fs->ate_wra + ate_size) & ADDR_OFFS_MASK); in nvs_sector_close()
548 fs->ate_wra &= ADDR_SECT_MASK; in nvs_sector_close()
549 fs->ate_wra += (fs->sector_size - ate_size); in nvs_sector_close()
555 nvs_sector_advance(fs, &fs->ate_wra); in nvs_sector_close()
[all …]
/Zephyr-Core-3.5.0/tests/subsys/fs/nvs/src/
Dmain.c354 zassert_equal(fixture->fs.ate_wra >> ADDR_SECT_SHIFT, 0, in ZTEST_F()
361 zassert_equal(fixture->fs.ate_wra >> ADDR_SECT_SHIFT, 2, in ZTEST_F()
368 zassert_equal(fixture->fs.ate_wra >> ADDR_SECT_SHIFT, 2, in ZTEST_F()
376 zassert_equal(fixture->fs.ate_wra >> ADDR_SECT_SHIFT, 0, in ZTEST_F()
383 zassert_equal(fixture->fs.ate_wra >> ADDR_SECT_SHIFT, 0, in ZTEST_F()
391 zassert_equal(fixture->fs.ate_wra >> ADDR_SECT_SHIFT, 1, in ZTEST_F()
398 zassert_equal(fixture->fs.ate_wra >> ADDR_SECT_SHIFT, 1, in ZTEST_F()
406 zassert_equal(fixture->fs.ate_wra >> ADDR_SECT_SHIFT, 2, in ZTEST_F()
413 zassert_equal(fixture->fs.ate_wra >> ADDR_SECT_SHIFT, 2, in ZTEST_F()
576 uint32_t ate_wra, data_wra; in ZTEST_F() local
[all …]
/Zephyr-Core-3.5.0/include/zephyr/fs/
Dnvs.h45 uint32_t ate_wra; member