Searched refs:ate_size (Results 1 – 3 of 3) sorted by relevance
407 size_t ate_size; in nvs_ate_valid() local410 ate_size = nvs_al_size(fs, sizeof(struct nvs_ate)); in nvs_ate_valid()414 (position >= (fs->sector_size - ate_size))) { in nvs_ate_valid()429 size_t ate_size; in nvs_close_ate_valid() local436 ate_size = nvs_al_size(fs, sizeof(struct nvs_ate)); in nvs_close_ate_valid()437 if ((fs->sector_size - entry->offset) % ate_size) { in nvs_close_ate_valid()486 size_t ate_size; in nvs_recover_last_ate() local492 ate_size = nvs_al_size(fs, sizeof(struct nvs_ate)); in nvs_recover_last_ate()494 *addr -= ate_size; in nvs_recover_last_ate()508 ate_end_addr -= ate_size; in nvs_recover_last_ate()[all …]
143 return (addr & ADDR_SECT_MASK) + fs->sector_size - fs->ate_size; in zms_empty_ate_addr()149 return (addr & ADDR_SECT_MASK) + fs->sector_size - 2 * fs->ate_size; in zms_close_ate_addr()454 (entry->id == ZMS_HEAD_ID) && !((fs->sector_size - entry->offset) % fs->ate_size)); in zms_close_ate_valid()563 *addr -= 2 * fs->ate_size; in zms_recover_last_ate()584 ate_end_addr -= fs->ate_size; in zms_recover_last_ate()597 *addr += fs->ate_size; in zms_compute_prev_addr()598 if ((SECTOR_OFFSET(*addr)) != (fs->sector_size - 2 * fs->ate_size)) { in zms_compute_prev_addr()663 close_ate.offset = (uint32_t)SECTOR_OFFSET(fs->ate_wra + fs->ate_size); in zms_sector_close()734 LOG_DBG("Adding empty ate at %llx", (uint64_t)(addr + fs->sector_size - fs->ate_size)); in zms_add_empty_ate()806 rc = zms_flash_ate_rd(fs, close_addr + fs->ate_size, empty_ate); in zms_get_sector_header()[all …]
62 size_t ate_size; member