Lines Matching refs:eba_tbl
108 ldesc->pnum = vol->eba_tbl->entries[lnum].pnum; in ubi_eba_get_ldesc()
176 ubi_assert(dst && vol && vol->eba_tbl); in ubi_eba_copy_table()
178 src = vol->eba_tbl; in ubi_eba_copy_table()
193 ubi_eba_destroy_table(vol->eba_tbl); in ubi_eba_replace_table()
194 vol->eba_tbl = tbl; in ubi_eba_replace_table()
434 return vol->eba_tbl->entries[lnum].pnum >= 0; in ubi_eba_is_mapped()
459 pnum = vol->eba_tbl->entries[lnum].pnum; in ubi_eba_unmap_leb()
467 vol->eba_tbl->entries[lnum].pnum = UBI_LEB_UNMAPPED; in ubi_eba_unmap_leb()
529 vol->eba_tbl->entries[lnum].pnum = UBI_LEB_UNMAPPED; in check_mapping()
604 pnum = vol->eba_tbl->entries[lnum].pnum; in ubi_eba_read_leb()
863 vol->eba_tbl->entries[lnum].pnum = new_pnum; in try_recover_peb()
954 opnum = vol->eba_tbl->entries[lnum].pnum; in try_write_vid_and_data()
976 vol->eba_tbl->entries[lnum].pnum = pnum; in try_write_vid_and_data()
1027 pnum = vol->eba_tbl->entries[lnum].pnum; in ubi_eba_write_leb()
1155 ubi_assert(vol->eba_tbl->entries[lnum].pnum < 0); in ubi_eba_write_leb_st()
1371 if (vol->eba_tbl->entries[lnum].pnum != from) { in ubi_eba_copy_leb()
1373 vol_id, lnum, from, vol->eba_tbl->entries[lnum].pnum); in ubi_eba_copy_leb()
1458 ubi_assert(vol->eba_tbl->entries[lnum].pnum == from); in ubi_eba_copy_leb()
1465 vol->eba_tbl->entries[lnum].pnum = to; in ubi_eba_copy_leb()
1672 entry = &vol->eba_tbl->entries[aeb->lnum]; in ubi_eba_init()