Lines Matching refs:tmp_aeb
235 struct ubi_ainf_peb *tmp_aeb; in assign_aeb_to_av() local
242 tmp_aeb = rb_entry(parent, struct ubi_ainf_peb, u.rb); in assign_aeb_to_av()
243 if (aeb->lnum != tmp_aeb->lnum) { in assign_aeb_to_av()
244 if (aeb->lnum < tmp_aeb->lnum) in assign_aeb_to_av()
603 struct ubi_ainf_peb *aeb, *tmp_aeb, *_tmp_aeb; in ubi_attach_fastmap() local
782 list_for_each_entry(tmp_aeb, &used, u.list) { in ubi_attach_fastmap()
783 if (tmp_aeb->pnum == pnum) { in ubi_attach_fastmap()
784 aeb = tmp_aeb; in ubi_attach_fastmap()
817 list_for_each_entry_safe(tmp_aeb, _tmp_aeb, &free, u.list) in ubi_attach_fastmap()
818 list_move_tail(&tmp_aeb->u.list, &ai->free); in ubi_attach_fastmap()
820 list_for_each_entry_safe(tmp_aeb, _tmp_aeb, &used, u.list) in ubi_attach_fastmap()
821 list_move_tail(&tmp_aeb->u.list, &ai->erase); in ubi_attach_fastmap()
840 list_for_each_entry_safe(tmp_aeb, _tmp_aeb, &used, u.list) { in ubi_attach_fastmap()
841 list_del(&tmp_aeb->u.list); in ubi_attach_fastmap()
842 kmem_cache_free(ai->aeb_slab_cache, tmp_aeb); in ubi_attach_fastmap()
844 list_for_each_entry_safe(tmp_aeb, _tmp_aeb, &free, u.list) { in ubi_attach_fastmap()
845 list_del(&tmp_aeb->u.list); in ubi_attach_fastmap()
846 kmem_cache_free(ai->aeb_slab_cache, tmp_aeb); in ubi_attach_fastmap()