Searched refs:bad_peb_count (Results 1 – 7 of 7) sorted by relevance
117 ubi->beb_rsvd_level = ubi->bad_peb_limit - ubi->bad_peb_count; in ubi_calculate_reserved()121 ubi->bad_peb_count, ubi->bad_peb_limit); in ubi_calculate_reserved()
434 __be32 bad_peb_count; member
957 ai->bad_peb_count += 1; in scan_peb()1212 peb_count = ubi->peb_count - ai->bad_peb_count - ai->alien_peb_count; in late_analysis()1594 ubi->bad_peb_count = ai->bad_peb_count; in ubi_attach()1595 ubi->good_peb_count = ubi->peb_count - ubi->bad_peb_count; in ubi_attach()
689 ai->bad_peb_count = be32_to_cpu(fmhdr->bad_peb_count); in ubi_attach_fastmap()791 ai->bad_peb_count - fm->used_blocks)) in ubi_attach_fastmap()1328 fmh->bad_peb_count = cpu_to_be32(ubi->bad_peb_count); in ubi_write_fastmap()
631 int bad_peb_count; member769 int bad_peb_count; member
134 __ATTR(bad_peb_count, S_IRUGO, dev_attribute_show, NULL);369 ret = sprintf(buf, "%d\n", ubi->bad_peb_count); in dev_attribute_show()1033 ubi->good_peb_count, ubi->bad_peb_count, ubi->corr_peb_count); in ubi_attach_mtd_dev()
1192 ubi->bad_peb_count += 1;