Lines Matching refs:eba_tbl
111 ldesc->pnum = vol->eba_tbl->entries[lnum].pnum; in ubi_eba_get_ldesc()
179 ubi_assert(dst && vol && vol->eba_tbl); in ubi_eba_copy_table()
181 src = vol->eba_tbl; in ubi_eba_copy_table()
196 ubi_eba_destroy_table(vol->eba_tbl); in ubi_eba_replace_table()
197 vol->eba_tbl = tbl; in ubi_eba_replace_table()
437 return vol->eba_tbl->entries[lnum].pnum >= 0; in ubi_eba_is_mapped()
462 pnum = vol->eba_tbl->entries[lnum].pnum; in ubi_eba_unmap_leb()
470 vol->eba_tbl->entries[lnum].pnum = UBI_LEB_UNMAPPED; in ubi_eba_unmap_leb()
532 vol->eba_tbl->entries[lnum].pnum = UBI_LEB_UNMAPPED; in check_mapping()
607 pnum = vol->eba_tbl->entries[lnum].pnum; in ubi_eba_read_leb()
866 vol->eba_tbl->entries[lnum].pnum = new_pnum; in try_recover_peb()
957 opnum = vol->eba_tbl->entries[lnum].pnum; in try_write_vid_and_data()
979 vol->eba_tbl->entries[lnum].pnum = pnum; in try_write_vid_and_data()
1030 pnum = vol->eba_tbl->entries[lnum].pnum; in ubi_eba_write_leb()
1158 ubi_assert(vol->eba_tbl->entries[lnum].pnum < 0); in ubi_eba_write_leb_st()
1374 if (vol->eba_tbl->entries[lnum].pnum != from) { in ubi_eba_copy_leb()
1376 vol_id, lnum, from, vol->eba_tbl->entries[lnum].pnum); in ubi_eba_copy_leb()
1461 ubi_assert(vol->eba_tbl->entries[lnum].pnum == from); in ubi_eba_copy_leb()
1462 vol->eba_tbl->entries[lnum].pnum = to; in ubi_eba_copy_leb()
1667 entry = &vol->eba_tbl->entries[aeb->lnum]; in ubi_eba_init()