Home
last modified time | relevance | path

Searched refs:peb_count (Results 1 – 12 of 12) sorted by relevance

/external/u-boot/drivers/mtd/ubispl/
Dubispl.c30 (ubi->peb_count * sizeof(struct ubi_fm_ec)) + in ubi_calc_fm_size()
32 (ubi->peb_count * sizeof(__be32))) + in ubi_calc_fm_size()
45 return peb >= ubi->peb_count || peb < 0; in ubi_io_is_bad()
478 if (WARN_ON(count_fastmap_pebs(ai) != ubi->peb_count - in ubi_attach_fastmap()
649 ubi->fsize_mb, ubi->peb_count); in ubi_scan_fastmap()
710 for (; pnum < ubi->peb_count; pnum++) in ipl_scan()
799 for (pnum = 0; pnum < ubi->peb_count; pnum++) { in ubi_load_block()
892 ubi->peb_count = info->peb_count; in ubispl_load_volumes()
895 fsize = info->peb_size * info->peb_count; in ubispl_load_volumes()
Dubispl.h86 unsigned int peb_count; member
/external/u-boot/drivers/mtd/ubi/
Dio.c128 ubi_assert(pnum >= 0 && pnum < ubi->peb_count); in ubi_io_read()
237 ubi_assert(pnum >= 0 && pnum < ubi->peb_count); in ubi_io_write()
332 ubi_assert(pnum >= 0 && pnum < ubi->peb_count); in do_sync_erase()
565 ubi_assert(pnum >= 0 && pnum < ubi->peb_count); in ubi_io_sync_erase()
607 ubi_assert(pnum >= 0 && pnum < ubi->peb_count); in ubi_io_is_bad()
637 ubi_assert(pnum >= 0 && pnum < ubi->peb_count); in ubi_io_mark_bad()
732 ubi_assert(pnum >= 0 && pnum < ubi->peb_count); in ubi_io_read_ec_hdr()
841 ubi_assert(pnum >= 0 && pnum < ubi->peb_count); in ubi_io_write_ec_hdr()
1006 ubi_assert(pnum >= 0 && pnum < ubi->peb_count); in ubi_io_read_vid_hdr()
1090 ubi_assert(pnum >= 0 && pnum < ubi->peb_count); in ubi_io_write_vid_hdr()
Dattach.c1066 int max_corr, peb_count; in late_analysis() local
1068 peb_count = ubi->peb_count - ai->bad_peb_count - ai->alien_peb_count; in late_analysis()
1069 max_corr = peb_count / 20 ?: 8; in late_analysis()
1094 if (ai->empty_peb_count + ai->maybe_bad_peb_count == peb_count) { in late_analysis()
1240 for (pnum = start; pnum < ubi->peb_count; pnum++) { in scan_all()
1436 ubi->good_peb_count = ubi->peb_count - ubi->bad_peb_count; in ubi_attach()
1579 if (aeb->pnum >= ubi->peb_count) { in self_check_ai()
1581 aeb->pnum, ubi->peb_count); in self_check_ai()
1702 buf = kzalloc(ubi->peb_count, GFP_KERNEL); in self_check_ai()
1706 for (pnum = 0; pnum < ubi->peb_count; pnum++) { in self_check_ai()
[all …]
Dfastmap.c32 ret = kcalloc(ubi->peb_count, sizeof(int), GFP_KERNEL); in init_seen()
74 for (pnum = 0; pnum < ubi->peb_count; pnum++) { in self_check_seen()
96 (ubi->peb_count * sizeof(struct ubi_fm_ec)) + in ubi_calc_fm_size()
98 (ubi->peb_count * sizeof(__be32))) + in ubi_calc_fm_size()
839 if (WARN_ON(count_fastmap_pebs(ai) != ubi->peb_count - in ubi_attach_fastmap()
843 if (count_fastmap_pebs(ai) != ubi->peb_count - in ubi_attach_fastmap()
Dfastmap-wl.c334 ubi_assert(pnum < ubi->peb_count); in ubi_wl_put_fm_peb()
Dbuild.c677 ubi->peb_count = mtd_div_by_eb(ubi->mtd->size, ubi->mtd); in io_init()
772 ubi->max_erroneous = ubi->peb_count / 10; in io_init()
Dubi.h600 int peb_count; member
Dwl.c1206 ubi_assert(pnum < ubi->peb_count);
1545 ubi->lookuptbl = kzalloc(ubi->peb_count * sizeof(void *), GFP_KERNEL);
/external/u-boot/doc/
DREADME.ubispl98 info.peb_count = MY_NAND_UBI_NUM_PEBS;
124 info.peb_count = flash_info.peb_count - MY_NAND_NR_SPL_PEBS;
/external/u-boot/include/
Dubispl.h64 u32 peb_count; member
/external/u-boot/common/spl/
Dspl_ubi.c45 info.peb_count = CONFIG_SPL_UBI_MAX_PEBS - info.peb_offset; in spl_ubi_load_image()