Searched refs:aeb (Results 1 – 8 of 8) sorted by relevance
/u-boot/drivers/mtd/ubi/ |
A D | attach.c | 134 if (!aeb) in add_to_list() 140 aeb->ec = ec; in add_to_list() 166 if (!aeb) in add_corrupted() 171 aeb->ec = ec; in add_corrupted() 495 aeb->pnum, aeb->sqnum, aeb->ec); in ubi_add_to_av() 535 err = add_to_list(ai, aeb->pnum, aeb->vol_id, in ubi_add_to_av() 536 aeb->lnum, aeb->ec, cmp_res & 4, in ubi_add_to_av() 574 if (!aeb) in ubi_add_to_av() 731 err = early_erase_peb(ubi, ai, aeb->pnum, aeb->ec+1); in ubi_early_get_peb() 737 dbg_bld("return PEB %d, EC %d", aeb->pnum, aeb->ec); in ubi_early_get_peb() [all …]
|
A D | fastmap.c | 153 if (!aeb) in add_aeb() 156 aeb->pnum = pnum; in add_aeb() 157 aeb->ec = ec; in add_aeb() 158 aeb->lnum = -1; in add_aeb() 159 aeb->scrub = scrub; in add_aeb() 160 aeb->copy_flag = aeb->sqnum = 0; in add_aeb() 793 aeb = NULL; in ubi_attach_fastmap() 796 aeb = tmp_aeb; in ubi_attach_fastmap() 801 if (!aeb) { in ubi_attach_fastmap() 806 aeb->lnum = j; in ubi_attach_fastmap() [all …]
|
A D | eba.c | 1300 struct ubi_ainf_peb *aeb; in self_check_eba() local 1341 ubi_rb_for_each_entry(rb, aeb, &av->root, u.rb) in self_check_eba() 1342 scan_eba[i][aeb->lnum] = aeb->pnum; in self_check_eba() 1348 ubi_rb_for_each_entry(rb, aeb, &av->root, u.rb) in self_check_eba() 1349 fm_eba[i][aeb->lnum] = aeb->pnum; in self_check_eba() 1392 struct ubi_ainf_peb *aeb; in ubi_eba_init() local 1425 ubi_rb_for_each_entry(rb, aeb, &av->root, u.rb) { in ubi_eba_init() 1426 if (aeb->lnum >= vol->reserved_pebs) in ubi_eba_init() 1431 ubi_move_aeb_to_list(av, aeb, &ai->erase); in ubi_eba_init() 1433 vol->eba_tbl[aeb->lnum] = aeb->pnum; in ubi_eba_init()
|
A D | debug.c | 181 void ubi_dump_aeb(const struct ubi_ainf_peb *aeb, int type) in ubi_dump_aeb() argument 184 pr_err("\tec %d\n", aeb->ec); in ubi_dump_aeb() 185 pr_err("\tpnum %d\n", aeb->pnum); in ubi_dump_aeb() 187 pr_err("\tlnum %d\n", aeb->lnum); in ubi_dump_aeb() 188 pr_err("\tscrub %d\n", aeb->scrub); in ubi_dump_aeb() 189 pr_err("\tsqnum %llu\n", aeb->sqnum); in ubi_dump_aeb()
|
A D | vtbl.c | 378 struct ubi_ainf_peb *aeb; local 410 ubi_rb_for_each_entry(rb, aeb, &av->root, u.rb) { 411 leb[aeb->lnum] = vzalloc(ubi->vtbl_size); 412 if (!leb[aeb->lnum]) { 417 err = ubi_io_read_data(ubi, leb[aeb->lnum], aeb->pnum, 0, 430 aeb->scrub = 1;
|
A D | wl.c | 1534 struct ubi_ainf_peb *aeb, *tmp; local 1563 e->pnum = aeb->pnum; 1564 e->ec = aeb->ec; 1566 if (schedule_erase(ubi, e, aeb->vol_id, aeb->lnum, 0)) { 1574 list_for_each_entry(aeb, &ai->free, u.list) { 1581 e->pnum = aeb->pnum; 1582 e->ec = aeb->ec; 1594 ubi_rb_for_each_entry(rb2, aeb, &av->root, u.rb) { 1601 e->pnum = aeb->pnum; 1602 e->ec = aeb->ec; [all …]
|
A D | debug.h | 60 void ubi_dump_aeb(const struct ubi_ainf_peb *aeb, int type);
|
A D | ubi.h | 922 int ubi_compare_lebs(struct ubi_device *ubi, const struct ubi_ainf_peb *aeb, 1013 struct ubi_ainf_peb *aeb, in ubi_move_aeb_to_list() argument 1016 rb_erase(&aeb->u.rb, &av->root); in ubi_move_aeb_to_list() 1017 list_add_tail(&aeb->u.list, list); in ubi_move_aeb_to_list()
|
Completed in 22 milliseconds