Home
last modified time | relevance | path

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

/u-boot/drivers/mtd/ubi/
A Dfastmap.c302 if (aeb->pnum == new_aeb->pnum) { in update_vol()
331 aeb->ec = new_aeb->ec; in update_vol()
332 aeb->pnum = new_aeb->pnum; in update_vol()
334 aeb->scrub = new_aeb->scrub; in update_vol()
375 struct ubi_ainf_peb *new_aeb) in process_pool_aeb() argument
470 struct ubi_ainf_peb *new_aeb; in scan_pool() local
541 if (!new_aeb) { in scan_pool()
547 new_aeb->pnum = pnum; in scan_pool()
551 new_aeb->scrub = scrub; in scan_pool()
553 if (*max_sqnum < new_aeb->sqnum) in scan_pool()
[all …]
A Dvtbl.c304 struct ubi_ainf_peb *new_aeb; local
313 new_aeb = ubi_early_get_peb(ubi, ai);
314 if (IS_ERR(new_aeb)) {
315 err = PTR_ERR(new_aeb);
328 err = ubi_io_write_vid_hdr(ubi, new_aeb->pnum, vid_hdr);
333 err = ubi_io_write_data(ubi, vtbl, new_aeb->pnum, 0, ubi->vtbl_size);
341 err = ubi_add_to_av(ubi, ai, new_aeb->pnum, new_aeb->ec, vid_hdr, 0);
342 kmem_cache_free(ai->aeb_slab_cache, new_aeb);
352 list_add(&new_aeb->u.list, &ai->erase);
355 kmem_cache_free(ai->aeb_slab_cache, new_aeb);

Completed in 6 milliseconds