Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/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 Dubi-media.h436 __be32 bad_peb_count; member
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 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;
/rk3399_rockchip-uboot/cmd/
H A Dubi.c73 ubi_msg("number of bad PEBs: %d", ubi->bad_peb_count); in display_ubi_info()
/rk3399_rockchip-uboot/drivers/mtd/ubispl/
H A Dubispl.c480 ai->bad_peb_count - fm->used_blocks)) in ubi_attach_fastmap()