Home
last modified time | relevance | path

Searched refs:eba_tbl (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/mtd/ubi/
Deba.c108 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()
[all …]
Dvmt.c168 struct ubi_eba_table *eba_tbl = NULL; in ubi_create_volume() local
261 eba_tbl = ubi_eba_create_table(vol, vol->reserved_pebs); in ubi_create_volume()
262 if (IS_ERR(eba_tbl)) { in ubi_create_volume()
263 err = PTR_ERR(eba_tbl); in ubi_create_volume()
267 ubi_eba_replace_table(vol, eba_tbl); in ubi_create_volume()
500 old_eba_tbl = vol->eba_tbl; in ubi_resize_volume()
501 vol->eba_tbl = new_eba_tbl; in ubi_resize_volume()
517 old_eba_tbl = vol->eba_tbl; in ubi_resize_volume()
518 vol->eba_tbl = new_eba_tbl; in ubi_resize_volume()
563 vol->eba_tbl = old_eba_tbl; in ubi_resize_volume()
Dubi.h359 struct ubi_eba_table *eba_tbl; member