Searched refs:bad_peb_count (Results 1 – 8 of 8) sorted by relevance
130 ubi->beb_rsvd_level = ubi->bad_peb_limit - ubi->bad_peb_count; in ubi_calculate_reserved()134 ubi->bad_peb_count, ubi->bad_peb_limit); in ubi_calculate_reserved()
444 __be32 bad_peb_count; member
832 ai->bad_peb_count += 1; in scan_peb()1073 peb_count = ubi->peb_count - ai->bad_peb_count - ai->alien_peb_count; in late_analysis()1441 ubi->bad_peb_count = ai->bad_peb_count; in ubi_attach()1442 ubi->good_peb_count = ubi->peb_count - ubi->bad_peb_count; in ubi_attach()
602 int bad_peb_count; member733 int bad_peb_count; member
728 ai->bad_peb_count = be32_to_cpu(fmhdr->bad_peb_count); in ubi_attach_fastmap()825 ai->bad_peb_count - fm->used_blocks)) in ubi_attach_fastmap()1270 fmh->bad_peb_count = cpu_to_be32(ubi->bad_peb_count); in ubi_write_fastmap()
136 __ATTR(bad_peb_count, S_IRUGO, dev_attribute_show, NULL);372 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()
1129 ubi->bad_peb_count += 1;
42 What: /sys/class/ubi/ubiX/bad_peb_count