Lines Matching refs:aeb
1719 static int erase_aeb(struct ubi_device *ubi, struct ubi_ainf_peb *aeb, bool sync) argument
1728 e->pnum = aeb->pnum;
1729 e->ec = aeb->ec;
1740 err = schedule_erase(ubi, e, aeb->vol_id, aeb->lnum, 0, false);
1766 struct ubi_ainf_peb *aeb, *tmp; local
1788 list_for_each_entry_safe(aeb, tmp, &ai->erase, u.list) {
1791 err = erase_aeb(ubi, aeb, false);
1798 list_for_each_entry(aeb, &ai->free, u.list) {
1807 e->pnum = aeb->pnum;
1808 e->ec = aeb->ec;
1820 ubi_rb_for_each_entry(rb2, aeb, &av->root, u.rb) {
1829 e->pnum = aeb->pnum;
1830 e->ec = aeb->ec;
1833 if (!aeb->scrub) {
1847 list_for_each_entry(aeb, &ai->fastmap, u.list) {
1850 e = ubi_find_fm_block(ubi, aeb->pnum);
1864 if (ubi->lookuptbl[aeb->pnum])
1876 if (aeb->vol_id == UBI_FM_SB_VOLUME_ID)
1879 err = erase_aeb(ubi, aeb, sync);