Home
last modified time | relevance | path

Searched refs:new_aeb (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/mtd/ubi/
Dfastmap.c243 struct ubi_ainf_peb *new_aeb) in update_vol() argument
266 if (aeb->pnum == new_aeb->pnum) { in update_vol()
267 ubi_assert(aeb->lnum == new_aeb->lnum); in update_vol()
268 ubi_free_aeb(ai, new_aeb); in update_vol()
273 cmp_res = ubi_compare_lebs(ubi, aeb, new_aeb->pnum, new_vh); in update_vol()
290 av->vol_id, aeb->lnum, new_aeb->pnum); in update_vol()
292 aeb->ec = new_aeb->ec; in update_vol()
293 aeb->pnum = new_aeb->pnum; in update_vol()
295 aeb->scrub = new_aeb->scrub; in update_vol()
296 aeb->sqnum = new_aeb->sqnum; in update_vol()
[all …]
Dvtbl.c291 struct ubi_ainf_peb *new_aeb; in create_vtbl() local
302 new_aeb = ubi_early_get_peb(ubi, ai); in create_vtbl()
303 if (IS_ERR(new_aeb)) { in create_vtbl()
304 err = PTR_ERR(new_aeb); in create_vtbl()
317 err = ubi_io_write_vid_hdr(ubi, new_aeb->pnum, vidb); in create_vtbl()
322 err = ubi_io_write_data(ubi, vtbl, new_aeb->pnum, 0, ubi->vtbl_size); in create_vtbl()
330 err = ubi_add_to_av(ubi, ai, new_aeb->pnum, new_aeb->ec, vid_hdr, 0); in create_vtbl()
331 ubi_free_aeb(ai, new_aeb); in create_vtbl()
341 list_add(&new_aeb->u.list, &ai->erase); in create_vtbl()
344 ubi_free_aeb(ai, new_aeb); in create_vtbl()