Lines Matching refs:sector_count
604 *addr += ((uint64_t)(fs->sector_count - 1) << ADDR_SECT_SHIFT); in zms_compute_prev_addr()
647 if ((*addr >> ADDR_SECT_SHIFT) == fs->sector_count) { in zms_sector_advance()
648 *addr -= ((uint64_t)fs->sector_count << ADDR_SECT_SHIFT); in zms_sector_advance()
1042 for (uint32_t i = 0; i < fs->sector_count; i++) { in zms_clear()
1083 for (i = 0; i < fs->sector_count; i++) { in zms_init()
1127 if ((closed_sectors == fs->sector_count) && !zms_magic_exist) { in zms_init()
1135 if (i == fs->sector_count) { in zms_init()
1370 if (fs->sector_count < 2) { in zms_mount()
1384 LOG_INF("%u Sectors of %u bytes", fs->sector_count, fs->sector_size); in zms_mount()
1492 if (gc_count == fs->sector_count) { in zms_write()
1686 free_space = (fs->sector_count - 1) * (fs->sector_size - 4 * fs->ate_size); in zms_calc_free_space()
1739 for (int i = 0; i < fs->sector_count; i++) { in zms_calc_free_space()