Searched refs:bad_peb_count (Results 1 – 9 of 9) sorted by relevance
118 ubi->beb_rsvd_level = ubi->bad_peb_limit - ubi->bad_peb_count; in ubi_calculate_reserved()122 ubi->bad_peb_count, ubi->bad_peb_limit); in ubi_calculate_reserved()
827 ai->bad_peb_count += 1; in scan_peb()1068 peb_count = ubi->peb_count - ai->bad_peb_count - ai->alien_peb_count; in late_analysis()1435 ubi->bad_peb_count = ai->bad_peb_count; in ubi_attach()1436 ubi->good_peb_count = ubi->peb_count - ubi->bad_peb_count; in ubi_attach()
435 __be32 bad_peb_count; member
737 ai->bad_peb_count = be32_to_cpu(fmhdr->bad_peb_count); in ubi_attach_fastmap()840 ai->bad_peb_count - fm->used_blocks)) in ubi_attach_fastmap()844 ai->bad_peb_count - fm->used_blocks) { in ubi_attach_fastmap()1291 fmh->bad_peb_count = cpu_to_be32(ubi->bad_peb_count); in ubi_write_fastmap()
602 int bad_peb_count; member733 int bad_peb_count; member
161 __ATTR(bad_peb_count, S_IRUGO, dev_attribute_show, NULL);404 ret = sprintf(buf, "%d\n", ubi->bad_peb_count); in dev_attribute_show()1043 ubi->good_peb_count, ubi->bad_peb_count, ubi->corr_peb_count); in ubi_attach_mtd_dev()
1161 ubi->bad_peb_count += 1;
73 ubi_msg("number of bad PEBs: %d", ubi->bad_peb_count); in display_ubi_info()
479 ai->bad_peb_count - fm->used_blocks)) in ubi_attach_fastmap()