Searched refs:new_aeb (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/mtd/ubi/ |
H A D | fastmap.c | 244 struct ubi_ainf_peb *new_aeb) in update_vol() argument 267 if (aeb->pnum == new_aeb->pnum) { in update_vol() 268 ubi_assert(aeb->lnum == new_aeb->lnum); in update_vol() 269 ubi_free_aeb(ai, new_aeb); in update_vol() 274 cmp_res = ubi_compare_lebs(ubi, aeb, new_aeb->pnum, new_vh); in update_vol() 291 av->vol_id, aeb->lnum, new_aeb->pnum); in update_vol() 293 aeb->ec = new_aeb->ec; in update_vol() 294 aeb->pnum = new_aeb->pnum; in update_vol() 296 aeb->scrub = new_aeb->scrub; in update_vol() 297 aeb->sqnum = new_aeb->sqnum; in update_vol() [all …]
|
H A D | vtbl.c | 291 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()
|