Lines Matching refs:peb_count
1210 int max_corr, peb_count; in late_analysis() local
1212 peb_count = ubi->peb_count - ai->bad_peb_count - ai->alien_peb_count; in late_analysis()
1213 max_corr = peb_count / 20 ?: 8; in late_analysis()
1238 if (ai->empty_peb_count + ai->maybe_bad_peb_count == peb_count) { in late_analysis()
1392 for (pnum = start; pnum < ubi->peb_count; pnum++) { in scan_all()
1595 ubi->good_peb_count = ubi->peb_count - ubi->bad_peb_count; in ubi_attach()
1740 if (aeb->pnum >= ubi->peb_count) { in self_check_ai()
1742 aeb->pnum, ubi->peb_count); in self_check_ai()
1863 buf = kzalloc(ubi->peb_count, GFP_KERNEL); in self_check_ai()
1867 for (pnum = 0; pnum < ubi->peb_count; pnum++) { in self_check_ai()
1893 for (pnum = 0; pnum < ubi->peb_count; pnum++) in self_check_ai()