Home
last modified time | relevance | path

Searched refs:bad_peb_count (Results 1 – 17 of 17) sorted by relevance

/openbmc/u-boot/drivers/mtd/ubi/
H A Dmisc.c118 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()
H A Dubi-media.h435 __be32 bad_peb_count; member
H A Dattach.c827 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()
H A Dfastmap.c737 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()
H A Dubi.h602 int bad_peb_count; member
733 int bad_peb_count; member
H A Dbuild.c161 __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()
H A Dwl.c1161 ubi->bad_peb_count += 1;
/openbmc/linux/drivers/mtd/ubi/
H A Dmisc.c117 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()
H A Dubi-media.h434 __be32 bad_peb_count; member
H A Dattach.c957 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()
H A Dfastmap.c689 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()
H A Dubi.h631 int bad_peb_count; member
769 int bad_peb_count; member
H A Dbuild.c134 __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()
H A Dwl.c1192 ubi->bad_peb_count += 1;
/openbmc/u-boot/cmd/
H A Dubi.c57 ubi_msg("number of bad PEBs: %d", ubi->bad_peb_count); in display_ubi_info()
/openbmc/linux/Documentation/ABI/stable/
H A Dsysfs-class-ubi42 What: /sys/class/ubi/ubiX/bad_peb_count
/openbmc/u-boot/drivers/mtd/ubispl/
H A Dubispl.c479 ai->bad_peb_count - fm->used_blocks)) in ubi_attach_fastmap()