Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/subsys/fs/nvs/
Dnvs.c182 rc = nvs_flash_al_wrt(fs, fs->data_wra, data, len); in nvs_flash_data_wrt()
183 fs->data_wra += nvs_al_size(fs, len); in nvs_flash_data_wrt()
409 entry.offset = (uint16_t)(fs->data_wra & ADDR_OFFS_MASK); in nvs_flash_wrt_entry()
557 fs->data_wra = fs->ate_wra & ADDR_SECT_MASK; in nvs_sector_close()
570 gc_done_ate.offset = (uint16_t)(fs->data_wra & ADDR_OFFS_MASK); in nvs_add_gc_done_ate()
665 gc_ate.offset = (uint16_t)(fs->data_wra & ADDR_OFFS_MASK); in nvs_gc()
688 if (fs->ate_wra >= (fs->data_wra + ate_size)) { in nvs_gc()
773 fs->data_wra = addr & ADDR_SECT_MASK; in nvs_startup()
775 while (fs->ate_wra >= fs->data_wra) { in nvs_startup()
790 fs->data_wra = addr & ADDR_SECT_MASK; in nvs_startup()
[all …]
/Zephyr-Core-3.5.0/include/zephyr/fs/
Dnvs.h47 uint32_t data_wra; member
/Zephyr-Core-3.5.0/tests/subsys/fs/nvs/src/
Dmain.c576 uint32_t ate_wra, data_wra; in ZTEST_F() local
612 data_wra = fixture->fs.data_wra; in ZTEST_F()
617 zassert_true(ate_wra == fixture->fs.ate_wra && data_wra == fixture->fs.data_wra, in ZTEST_F()
624 zassert_true(ate_wra == fixture->fs.ate_wra && data_wra == fixture->fs.data_wra, in ZTEST_F()
847 while (fixture->fs.data_wra + sizeof(data) <= fixture->fs.ate_wra) { in ZTEST_F()