new_aeb 244 drivers/mtd/ubi/fastmap.c struct ubi_ainf_peb *new_aeb) new_aeb 267 drivers/mtd/ubi/fastmap.c if (aeb->pnum == new_aeb->pnum) { new_aeb 268 drivers/mtd/ubi/fastmap.c ubi_assert(aeb->lnum == new_aeb->lnum); new_aeb 269 drivers/mtd/ubi/fastmap.c ubi_free_aeb(ai, new_aeb); new_aeb 274 drivers/mtd/ubi/fastmap.c cmp_res = ubi_compare_lebs(ubi, aeb, new_aeb->pnum, new_vh); new_aeb 291 drivers/mtd/ubi/fastmap.c av->vol_id, aeb->lnum, new_aeb->pnum); new_aeb 293 drivers/mtd/ubi/fastmap.c aeb->ec = new_aeb->ec; new_aeb 294 drivers/mtd/ubi/fastmap.c aeb->pnum = new_aeb->pnum; new_aeb 296 drivers/mtd/ubi/fastmap.c aeb->scrub = new_aeb->scrub; new_aeb 297 drivers/mtd/ubi/fastmap.c aeb->sqnum = new_aeb->sqnum; new_aeb 298 drivers/mtd/ubi/fastmap.c ubi_free_aeb(ai, new_aeb); new_aeb 303 drivers/mtd/ubi/fastmap.c av->vol_id, aeb->lnum, new_aeb->pnum); new_aeb 304 drivers/mtd/ubi/fastmap.c list_add_tail(&new_aeb->u.list, &ai->erase); new_aeb 321 drivers/mtd/ubi/fastmap.c rb_link_node(&new_aeb->u.rb, parent, p); new_aeb 322 drivers/mtd/ubi/fastmap.c rb_insert_color(&new_aeb->u.rb, &av->root); new_aeb 338 drivers/mtd/ubi/fastmap.c struct ubi_ainf_peb *new_aeb) new_aeb 344 drivers/mtd/ubi/fastmap.c ubi_free_aeb(ai, new_aeb); new_aeb 353 drivers/mtd/ubi/fastmap.c ubi_free_aeb(ai, new_aeb); new_aeb 359 drivers/mtd/ubi/fastmap.c return update_vol(ubi, ai, av, new_vh, new_aeb); new_aeb 407 drivers/mtd/ubi/fastmap.c struct ubi_ainf_peb *new_aeb; new_aeb 479 drivers/mtd/ubi/fastmap.c new_aeb = ubi_alloc_aeb(ai, pnum, be64_to_cpu(ech->ec)); new_aeb 480 drivers/mtd/ubi/fastmap.c if (!new_aeb) { new_aeb 485 drivers/mtd/ubi/fastmap.c new_aeb->lnum = be32_to_cpu(vh->lnum); new_aeb 486 drivers/mtd/ubi/fastmap.c new_aeb->sqnum = be64_to_cpu(vh->sqnum); new_aeb 487 drivers/mtd/ubi/fastmap.c new_aeb->copy_flag = vh->copy_flag; new_aeb 488 drivers/mtd/ubi/fastmap.c new_aeb->scrub = scrub; new_aeb 490 drivers/mtd/ubi/fastmap.c if (*max_sqnum < new_aeb->sqnum) new_aeb 491 drivers/mtd/ubi/fastmap.c *max_sqnum = new_aeb->sqnum; new_aeb 493 drivers/mtd/ubi/fastmap.c err = process_pool_aeb(ubi, ai, vh, new_aeb); new_aeb 291 drivers/mtd/ubi/vtbl.c struct ubi_ainf_peb *new_aeb; new_aeb 302 drivers/mtd/ubi/vtbl.c new_aeb = ubi_early_get_peb(ubi, ai); new_aeb 303 drivers/mtd/ubi/vtbl.c if (IS_ERR(new_aeb)) { new_aeb 304 drivers/mtd/ubi/vtbl.c err = PTR_ERR(new_aeb); new_aeb 317 drivers/mtd/ubi/vtbl.c err = ubi_io_write_vid_hdr(ubi, new_aeb->pnum, vidb); new_aeb 322 drivers/mtd/ubi/vtbl.c err = ubi_io_write_data(ubi, vtbl, new_aeb->pnum, 0, ubi->vtbl_size); new_aeb 330 drivers/mtd/ubi/vtbl.c err = ubi_add_to_av(ubi, ai, new_aeb->pnum, new_aeb->ec, vid_hdr, 0); new_aeb 331 drivers/mtd/ubi/vtbl.c ubi_free_aeb(ai, new_aeb); new_aeb 341 drivers/mtd/ubi/vtbl.c list_add(&new_aeb->u.list, &ai->erase); new_aeb 344 drivers/mtd/ubi/vtbl.c ubi_free_aeb(ai, new_aeb);