Lines Matching refs:tmp_aeb
207 struct ubi_ainf_peb *tmp_aeb; in assign_aeb_to_av() local
213 tmp_aeb = rb_entry(parent, struct ubi_ainf_peb, u.rb); in assign_aeb_to_av()
214 if (aeb->lnum != tmp_aeb->lnum) { in assign_aeb_to_av()
215 if (aeb->lnum < tmp_aeb->lnum) in assign_aeb_to_av()
554 struct ubi_ainf_peb *aeb, *tmp_aeb, *_tmp_aeb; in ubi_attach_fastmap() local
741 list_for_each_entry(tmp_aeb, &used, u.list) { in ubi_attach_fastmap()
742 if (tmp_aeb->pnum == pnum) { in ubi_attach_fastmap()
743 aeb = tmp_aeb; in ubi_attach_fastmap()
776 list_for_each_entry_safe(tmp_aeb, _tmp_aeb, &free, u.list) in ubi_attach_fastmap()
777 list_move_tail(&tmp_aeb->u.list, &ai->free); in ubi_attach_fastmap()
779 list_for_each_entry_safe(tmp_aeb, _tmp_aeb, &used, u.list) in ubi_attach_fastmap()
780 list_move_tail(&tmp_aeb->u.list, &ai->erase); in ubi_attach_fastmap()
799 list_for_each_entry_safe(tmp_aeb, _tmp_aeb, &used, u.list) { in ubi_attach_fastmap()
800 list_del(&tmp_aeb->u.list); in ubi_attach_fastmap()
801 ubi_free_aeb(ai, tmp_aeb); in ubi_attach_fastmap()
803 list_for_each_entry_safe(tmp_aeb, _tmp_aeb, &free, u.list) { in ubi_attach_fastmap()
804 list_del(&tmp_aeb->u.list); in ubi_attach_fastmap()
805 ubi_free_aeb(ai, tmp_aeb); in ubi_attach_fastmap()