Home
last modified time | relevance | path

Searched refs:bad_peb_count (Results 1 - 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/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.h425 * @bad_peb_count: number of bad PEBs known by this fastmap
434 __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 Dubi.h451 * @beb_rsvd_level, @bad_peb_count, @good_peb_count, @vol_count,
528 * @bad_peb_count: count of bad physical eraseblocks
633 int bad_peb_count; member
739 * @bad_peb_count: count of bad physical eraseblocks
771 int bad_peb_count; member
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()
1318 fmh->bad_peb_count = cpu_to_be32(ubi->bad_peb_count); in ubi_write_fastmap()
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()
754 * Note, ideally, we have to initialize @ubi->bad_peb_count here. But in io_init()
757 * each physical eraseblock. So, we leave @ubi->bad_peb_count in io_init()
1027 ubi->good_peb_count, ubi->bad_peb_count, ubi->corr_peb_count); in ubi_attach_mtd_dev()
H A Dwl.c1182 ubi->bad_peb_count += 1;
/kernel/linux/linux-6.6/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.h425 * @bad_peb_count: number of bad PEBs known by this fastmap
434 __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 Dubi.h449 * @beb_rsvd_level, @bad_peb_count, @good_peb_count, @vol_count,
526 * @bad_peb_count: count of bad physical eraseblocks
631 int bad_peb_count; member
737 * @bad_peb_count: count of bad physical eraseblocks
769 int bad_peb_count; member
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 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()
754 * Note, ideally, we have to initialize @ubi->bad_peb_count here. But in io_init()
757 * each physical eraseblock. So, we leave @ubi->bad_peb_count in io_init()
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;

Completed in 22 milliseconds