Lines Matching refs:list
116 int lnum, int ec, int to_head, struct list_head *list) in add_to_list() argument
120 if (list == &ai->free) { in add_to_list()
122 } else if (list == &ai->erase) { in add_to_list()
124 } else if (list == &ai->alien) { in add_to_list()
139 list_add(&aeb->u.list, list); in add_to_list()
141 list_add_tail(&aeb->u.list, list); in add_to_list()
169 list_add(&aeb->u.list, &ai->corr); in add_corrupted()
637 list_add_tail(&aeb->u.list, &ai->erase); in ubi_remove_av()
712 aeb = list_entry(ai->free.next, struct ubi_ainf_peb, u.list); in ubi_early_get_peb()
713 list_del(&aeb->u.list); in ubi_early_get_peb()
724 list_for_each_entry_safe(aeb, tmp_aeb, &ai->erase, u.list) { in ubi_early_get_peb()
733 list_del(&aeb->u.list); in ubi_early_get_peb()
1081 list_for_each_entry(aeb, &ai->corr, u.list) in late_analysis()
1169 list_for_each_entry_safe(aeb, aeb_tmp, &ai->alien, u.list) { in destroy_ai()
1170 list_del(&aeb->u.list); in destroy_ai()
1173 list_for_each_entry_safe(aeb, aeb_tmp, &ai->erase, u.list) { in destroy_ai()
1174 list_del(&aeb->u.list); in destroy_ai()
1177 list_for_each_entry_safe(aeb, aeb_tmp, &ai->corr, u.list) { in destroy_ai()
1178 list_del(&aeb->u.list); in destroy_ai()
1181 list_for_each_entry_safe(aeb, aeb_tmp, &ai->free, u.list) { in destroy_ai()
1182 list_del(&aeb->u.list); in destroy_ai()
1270 list_for_each_entry(aeb, &ai->free, u.list) { in scan_all()
1275 list_for_each_entry(aeb, &ai->corr, u.list) in scan_all()
1279 list_for_each_entry(aeb, &ai->erase, u.list) in scan_all()
1720 list_for_each_entry(aeb, &ai->free, u.list) in self_check_ai()
1723 list_for_each_entry(aeb, &ai->corr, u.list) in self_check_ai()
1726 list_for_each_entry(aeb, &ai->erase, u.list) in self_check_ai()
1729 list_for_each_entry(aeb, &ai->alien, u.list) in self_check_ai()