Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/drivers/mtd/ubi/
H A Dmisc.c119 ubi->beb_rsvd_level = ubi->bad_peb_limit - ubi->bad_peb_count; in ubi_calculate_reserved()
123 ubi->bad_peb_count, ubi->bad_peb_limit); in ubi_calculate_reserved()
H A Dattach.c828 ai->bad_peb_count += 1; in scan_peb()
1069 peb_count = ubi->peb_count - ai->bad_peb_count - ai->alien_peb_count; in late_analysis()
1436 ubi->bad_peb_count = ai->bad_peb_count; in ubi_attach()
1437 ubi->good_peb_count = ubi->peb_count - ubi->bad_peb_count; in ubi_attach()
H A Dubi-media.h436 __be32 bad_peb_count; member
H A Dfastmap.c738 ai->bad_peb_count = be32_to_cpu(fmhdr->bad_peb_count); in ubi_attach_fastmap()
841 ai->bad_peb_count - fm->used_blocks)) in ubi_attach_fastmap()
845 ai->bad_peb_count - fm->used_blocks) { in ubi_attach_fastmap()
1292 fmh->bad_peb_count = cpu_to_be32(ubi->bad_peb_count); in ubi_write_fastmap()
H A Dubi.h603 int bad_peb_count; member
734 int bad_peb_count; member
H A Dbuild.c162 __ATTR(bad_peb_count, S_IRUGO, dev_attribute_show, NULL);
405 ret = sprintf(buf, "%d\n", ubi->bad_peb_count); in dev_attribute_show()
1044 ubi->good_peb_count, ubi->bad_peb_count, ubi->corr_peb_count); in ubi_attach_mtd_dev()
H A Dwl.c1162 ubi->bad_peb_count += 1;
/OK3568_Linux_fs/kernel/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()
1329 fmh->bad_peb_count = cpu_to_be32(ubi->bad_peb_count); in ubi_write_fastmap()
H A Dubi.h633 int bad_peb_count; member
771 int bad_peb_count; member
H A Dbuild.c132 __ATTR(bad_peb_count, S_IRUGO, dev_attribute_show, NULL);
367 ret = sprintf(buf, "%d\n", ubi->bad_peb_count); in dev_attribute_show()
1004 ubi->good_peb_count, ubi->bad_peb_count, ubi->corr_peb_count); in ubi_attach_mtd_dev()
H A Dwl.c1176 ubi->bad_peb_count += 1;
/OK3568_Linux_fs/u-boot/cmd/
H A Dubi.c73 ubi_msg("number of bad PEBs: %d", ubi->bad_peb_count); in display_ubi_info()
/OK3568_Linux_fs/kernel/Documentation/ABI/stable/
H A Dsysfs-class-ubi42 What: /sys/class/ubi/ubiX/bad_peb_count
/OK3568_Linux_fs/u-boot/drivers/mtd/ubispl/
H A Dubispl.c480 ai->bad_peb_count - fm->used_blocks)) in ubi_attach_fastmap()
/OK3568_Linux_fs/buildroot/package/collectd/
H A DConfig.in562 * bad physical underlying blocks (bad_peb_count)