Lines Matching refs:tmp_aeb
233 struct ubi_ainf_peb *tmp_aeb; in assign_aeb_to_av() local
240 tmp_aeb = rb_entry(parent, struct ubi_ainf_peb, u.rb); in assign_aeb_to_av()
241 if (aeb->lnum != tmp_aeb->lnum) { in assign_aeb_to_av()
242 if (aeb->lnum < tmp_aeb->lnum) in assign_aeb_to_av()
601 struct ubi_ainf_peb *aeb, *tmp_aeb, *_tmp_aeb; in ubi_attach_fastmap() local
775 list_for_each_entry(tmp_aeb, &used, u.list) { in ubi_attach_fastmap()
776 if (tmp_aeb->pnum == pnum) { in ubi_attach_fastmap()
777 aeb = tmp_aeb; in ubi_attach_fastmap()
810 list_for_each_entry_safe(tmp_aeb, _tmp_aeb, &free, u.list) in ubi_attach_fastmap()
811 list_move_tail(&tmp_aeb->u.list, &ai->free); in ubi_attach_fastmap()
813 list_for_each_entry_safe(tmp_aeb, _tmp_aeb, &used, u.list) in ubi_attach_fastmap()
814 list_move_tail(&tmp_aeb->u.list, &ai->erase); in ubi_attach_fastmap()
833 list_for_each_entry_safe(tmp_aeb, _tmp_aeb, &used, u.list) { in ubi_attach_fastmap()
834 list_del(&tmp_aeb->u.list); in ubi_attach_fastmap()
835 kmem_cache_free(ai->aeb_slab_cache, tmp_aeb); in ubi_attach_fastmap()
837 list_for_each_entry_safe(tmp_aeb, _tmp_aeb, &free, u.list) { in ubi_attach_fastmap()
838 list_del(&tmp_aeb->u.list); in ubi_attach_fastmap()
839 kmem_cache_free(ai->aeb_slab_cache, tmp_aeb); in ubi_attach_fastmap()