Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/mtd/ubi/
Deba.c111 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()
[all …]
Dvmt.c143 struct ubi_eba_table *eba_tbl = NULL; in ubi_create_volume() local
235 eba_tbl = ubi_eba_create_table(vol, vol->reserved_pebs); in ubi_create_volume()
236 if (IS_ERR(eba_tbl)) { in ubi_create_volume()
237 err = PTR_ERR(eba_tbl); in ubi_create_volume()
241 ubi_eba_replace_table(vol, eba_tbl); in ubi_create_volume()
Dubi.h366 struct ubi_eba_table *eba_tbl; member