Searched refs:eba_tbl (Results 1 – 7 of 7) sorted by relevance
328 pnum = vol->eba_tbl[lnum]; in ubi_eba_unmap_leb()336 vol->eba_tbl[lnum] = UBI_LEB_UNMAPPED; in ubi_eba_unmap_leb()375 pnum = vol->eba_tbl[lnum]; in ubi_eba_read_leb()611 vol->eba_tbl[lnum] = new_pnum; in recover_peb()667 pnum = vol->eba_tbl[lnum]; in ubi_eba_write_leb()732 vol->eba_tbl[lnum] = pnum; in ubi_eba_write_leb()853 ubi_assert(vol->eba_tbl[lnum] < 0); in ubi_eba_write_leb_st()854 vol->eba_tbl[lnum] = pnum; in ubi_eba_write_leb_st()955 vol_id, lnum, vol->eba_tbl[lnum], pnum); in ubi_eba_atomic_leb_change()973 old_pnum = vol->eba_tbl[lnum]; in ubi_eba_atomic_leb_change()[all …]
136 kfree(vol->eba_tbl); in vol_release()239 vol->eba_tbl = kmalloc(vol->reserved_pebs * sizeof(int), GFP_KERNEL); in ubi_create_volume()240 if (!vol->eba_tbl) { in ubi_create_volume()246 vol->eba_tbl[i] = UBI_LEB_UNMAPPED; in ubi_create_volume()329 kfree(vol->eba_tbl); in ubi_create_volume()482 new_mapping[i] = vol->eba_tbl[i]; in ubi_resize_volume()483 kfree(vol->eba_tbl); in ubi_resize_volume()484 vol->eba_tbl = new_mapping; in ubi_resize_volume()506 new_mapping[i] = vol->eba_tbl[i]; in ubi_resize_volume()507 kfree(vol->eba_tbl); in ubi_resize_volume()[all …]
719 if (vol->eba_tbl[lnum] >= 0) in ubi_leb_map()754 return vol->eba_tbl[lnum] >= 0; in ubi_is_mapped()
343 int *eba_tbl; member
600 kfree(ubi->volumes[i]->eba_tbl); in ubi_free_internal_volumes()
1285 feba->pnum[j] = cpu_to_be32(vol->eba_tbl[j]); in ubi_write_fastmap()
239 kfree(vol->eba_tbl); in ubi_remove_vol()240 ubi->volumes[vol->vol_id]->eba_tbl = NULL; in ubi_remove_vol()