Lines Matching refs:ADDR_SECT_MASK
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()
342 addr &= ADDR_SECT_MASK; in zms_flash_erase_sector()
566 data_end_addr = *addr & ADDR_SECT_MASK; in zms_recover_last_ate()
577 data_end_addr &= ADDR_SECT_MASK; in zms_recover_last_ate()
623 (*addr) &= ADDR_SECT_MASK; in zms_compute_prev_addr()
704 fs->data_wra = fs->ate_wra & ADDR_SECT_MASK; in zms_sector_close()
732 addr &= ADDR_SECT_MASK; in zms_add_empty_ate()
916 sec_addr = (fs->ate_wra & ADDR_SECT_MASK); in zms_gc()
939 gc_addr &= ADDR_SECT_MASK; in zms_gc()
985 data_addr = (gc_prev_addr & ADDR_SECT_MASK); in zms_gc()
1269 addr = fs->ate_wra & ADDR_SECT_MASK; in zms_init()
1289 fs->ate_wra &= ADDR_SECT_MASK; in zms_init()
1291 fs->data_wra = (fs->ate_wra & ADDR_SECT_MASK); in zms_init()
1440 rd_addr &= ADDR_SECT_MASK; in zms_write()
1606 rd_addr &= ADDR_SECT_MASK; in zms_read_hist()