Lines Matching refs:peb_count
1070 int max_corr, peb_count; in late_analysis() local
1072 peb_count = ubi->peb_count - ai->bad_peb_count - ai->alien_peb_count; in late_analysis()
1073 max_corr = peb_count / 20 ?: 8; in late_analysis()
1098 if (ai->empty_peb_count + ai->maybe_bad_peb_count == peb_count) { in late_analysis()
1244 for (pnum = start; pnum < ubi->peb_count; pnum++) { in scan_all()
1440 ubi->good_peb_count = ubi->peb_count - ubi->bad_peb_count; in ubi_attach()
1583 if (aeb->pnum >= ubi->peb_count) { in self_check_ai()
1585 aeb->pnum, ubi->peb_count); in self_check_ai()
1706 buf = kzalloc(ubi->peb_count, GFP_KERNEL); in self_check_ai()
1710 for (pnum = 0; pnum < ubi->peb_count; pnum++) { in self_check_ai()
1736 for (pnum = 0; pnum < ubi->peb_count; pnum++) in self_check_ai()