Home
last modified time | relevance | path

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

/Zephyr-Core-2.7.6/subsys/fs/nvs/
Dnvs.c97 rc = nvs_flash_al_wrt(fs, fs->ate_wra, entry, in nvs_flash_ate_wrt()
99 fs->ate_wra -= nvs_al_size(fs, sizeof(struct nvs_ate)); in nvs_flash_ate_wrt()
430 *addr = fs->ate_wra; in nvs_prev_ate()
473 close_ate.offset = (uint16_t)((fs->ate_wra + ate_size) & ADDR_OFFS_MASK); in nvs_sector_close()
475 fs->ate_wra &= ADDR_SECT_MASK; in nvs_sector_close()
476 fs->ate_wra += (fs->sector_size - ate_size); in nvs_sector_close()
482 nvs_sector_advance(fs, &fs->ate_wra); in nvs_sector_close()
484 fs->data_wra = fs->ate_wra & ADDR_SECT_MASK; in nvs_sector_close()
493 LOG_DBG("Adding gc done ate at %x", fs->ate_wra & ADDR_OFFS_MASK); in nvs_add_gc_done_ate()
515 sec_addr = (fs->ate_wra & ADDR_SECT_MASK); in nvs_gc()
[all …]
/Zephyr-Core-2.7.6/tests/subsys/fs/nvs/src/
Dmain.c325 zassert_equal(fs.ate_wra >> ADDR_SECT_SHIFT, 0, in test_nvs_gc_3sectors()
332 zassert_equal(fs.ate_wra >> ADDR_SECT_SHIFT, 2, in test_nvs_gc_3sectors()
339 zassert_equal(fs.ate_wra >> ADDR_SECT_SHIFT, 2, in test_nvs_gc_3sectors()
347 zassert_equal(fs.ate_wra >> ADDR_SECT_SHIFT, 0, in test_nvs_gc_3sectors()
354 zassert_equal(fs.ate_wra >> ADDR_SECT_SHIFT, 0, in test_nvs_gc_3sectors()
362 zassert_equal(fs.ate_wra >> ADDR_SECT_SHIFT, 1, in test_nvs_gc_3sectors()
369 zassert_equal(fs.ate_wra >> ADDR_SECT_SHIFT, 1, in test_nvs_gc_3sectors()
377 zassert_equal(fs.ate_wra >> ADDR_SECT_SHIFT, 2, in test_nvs_gc_3sectors()
384 zassert_equal(fs.ate_wra >> ADDR_SECT_SHIFT, 2, in test_nvs_gc_3sectors()
547 uint32_t ate_wra, data_wra; in test_delete() local
[all …]
/Zephyr-Core-2.7.6/include/fs/
Dnvs.h49 uint32_t ate_wra; member