Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/mtd/ubi/
H A Dfastmap.c297 if (aeb->pnum == new_aeb->pnum) { in update_vol()
326 aeb->ec = new_aeb->ec; in update_vol()
327 aeb->pnum = new_aeb->pnum; in update_vol()
329 aeb->scrub = new_aeb->scrub; in update_vol()
370 struct ubi_ainf_peb *new_aeb) in process_pool_aeb() argument
465 struct ubi_ainf_peb *new_aeb; in scan_pool() local
536 if (!new_aeb) { in scan_pool()
542 new_aeb->pnum = pnum; in scan_pool()
546 new_aeb->scrub = scrub; in scan_pool()
548 if (*max_sqnum < new_aeb->sqnum) in scan_pool()
[all …]
H A Dvtbl.c300 struct ubi_ainf_peb *new_aeb; local
309 new_aeb = ubi_early_get_peb(ubi, ai);
310 if (IS_ERR(new_aeb)) {
311 err = PTR_ERR(new_aeb);
324 err = ubi_io_write_vid_hdr(ubi, new_aeb->pnum, vid_hdr);
329 err = ubi_io_write_data(ubi, vtbl, new_aeb->pnum, 0, ubi->vtbl_size);
337 err = ubi_add_to_av(ubi, ai, new_aeb->pnum, new_aeb->ec, vid_hdr, 0);
338 kmem_cache_free(ai->aeb_slab_cache, new_aeb);
348 list_add(&new_aeb->u.list, &ai->erase);
351 kmem_cache_free(ai->aeb_slab_cache, new_aeb);
/openbmc/linux/drivers/mtd/ubi/
H A Dfastmap.c269 ubi_free_aeb(ai, new_aeb); 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()
298 ubi_free_aeb(ai, new_aeb); in update_vol()
344 ubi_free_aeb(ai, new_aeb); in process_pool_aeb()
353 ubi_free_aeb(ai, new_aeb); in process_pool_aeb()
407 struct ubi_ainf_peb *new_aeb; in scan_pool() local
482 if (!new_aeb) { in scan_pool()
[all …]
H A 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()