Lines Matching refs:data_wra

182 	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()
797 fs->data_wra += nvs_al_size(fs, last_ate.offset + last_ate.len); in nvs_startup()
802 if (fs->ate_wra == fs->data_wra && last_ate.len) { in nvs_startup()
861 fs->data_wra = (fs->ate_wra & ADDR_SECT_MASK); in nvs_startup()
877 while (fs->ate_wra > fs->data_wra) { in nvs_startup()
878 empty_len = fs->ate_wra - fs->data_wra; in nvs_startup()
880 rc = nvs_flash_cmp_const(fs, fs->data_wra, erase_value, in nvs_startup()
889 fs->data_wra += fs->flash_parameters->write_block_size; in nvs_startup()
897 (fs->data_wra != (fs->ate_wra & ADDR_SECT_MASK))) { in nvs_startup()
902 fs->data_wra = fs->ate_wra & ADDR_SECT_MASK; in nvs_startup()
1001 (fs->data_wra >> ADDR_SECT_SHIFT), in nvs_mount()
1002 (fs->data_wra & ADDR_OFFS_MASK)); in nvs_mount()
1110 if (fs->ate_wra >= (fs->data_wra + required_space)) { in nvs_write()