Home
last modified time | relevance | path

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

/drivers/mtd/ubi/
Dmisc.c130 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()
Dattach.c879 ai->bad_peb_count += 1; in scan_peb()
1133 peb_count = ubi->peb_count - ai->bad_peb_count - ai->alien_peb_count; in late_analysis()
1510 ubi->bad_peb_count = ai->bad_peb_count; in ubi_attach()
1511 ubi->good_peb_count = ubi->peb_count - ubi->bad_peb_count; in ubi_attach()
Dubi-media.h444 __be32 bad_peb_count; member
Dfastmap.c732 ai->bad_peb_count = be32_to_cpu(fmhdr->bad_peb_count); in ubi_attach_fastmap()
834 ai->bad_peb_count - fm->used_blocks)) in ubi_attach_fastmap()
1309 fmh->bad_peb_count = cpu_to_be32(ubi->bad_peb_count); in ubi_write_fastmap()
Dubi.h602 int bad_peb_count; member
738 int bad_peb_count; member
Dbuild.c143 __ATTR(bad_peb_count, S_IRUGO, dev_attribute_show, NULL);
379 ret = sprintf(buf, "%d\n", ubi->bad_peb_count); in dev_attribute_show()
1029 ubi->good_peb_count, ubi->bad_peb_count, ubi->corr_peb_count); in ubi_attach_mtd_dev()
Dwl.c1140 ubi->bad_peb_count += 1;