Searched refs:gc_ate (Results 1 – 1 of 1) sorted by relevance
583 struct nvs_ate close_ate, gc_ate, wlk_ate; in nvs_gc() local620 rc = nvs_prev_ate(fs, &gc_addr, &gc_ate); in nvs_gc()625 if (!nvs_ate_valid(fs, &gc_ate)) { in nvs_gc()630 wlk_addr = fs->lookup_cache[nvs_lookup_cache_pos(gc_ate.id)]; in nvs_gc()649 if ((wlk_ate.id == gc_ate.id) && in nvs_gc()658 if ((wlk_prev_addr == gc_prev_addr) && gc_ate.len) { in nvs_gc()660 LOG_DBG("Moving %d, len %d", gc_ate.id, gc_ate.len); in nvs_gc()663 data_addr += gc_ate.offset; in nvs_gc()665 gc_ate.offset = (uint16_t)(fs->data_wra & ADDR_OFFS_MASK); in nvs_gc()666 nvs_ate_crc8_update(&gc_ate); in nvs_gc()[all …]