Home
last modified time | relevance | path

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

/u-boot/include/
A Dubispl.h66 u32 peb_count; member
/u-boot/drivers/mtd/ubi/
A Dio.c131 ubi_assert(pnum >= 0 && pnum < ubi->peb_count); in ubi_io_read()
240 ubi_assert(pnum >= 0 && pnum < ubi->peb_count); in ubi_io_write()
335 ubi_assert(pnum >= 0 && pnum < ubi->peb_count); in do_sync_erase()
568 ubi_assert(pnum >= 0 && pnum < ubi->peb_count); in ubi_io_sync_erase()
610 ubi_assert(pnum >= 0 && pnum < ubi->peb_count); in ubi_io_is_bad()
640 ubi_assert(pnum >= 0 && pnum < ubi->peb_count); in ubi_io_mark_bad()
735 ubi_assert(pnum >= 0 && pnum < ubi->peb_count); in ubi_io_read_ec_hdr()
844 ubi_assert(pnum >= 0 && pnum < ubi->peb_count); in ubi_io_write_ec_hdr()
1009 ubi_assert(pnum >= 0 && pnum < ubi->peb_count); in ubi_io_read_vid_hdr()
1093 ubi_assert(pnum >= 0 && pnum < ubi->peb_count); in ubi_io_write_vid_hdr()
A Dattach.c1070 int max_corr, peb_count; in late_analysis() local
1072 peb_count = ubi->peb_count - ai->bad_peb_count - ai->alien_peb_count; in late_analysis()
1073 max_corr = peb_count / 20 ?: 8; in late_analysis()
1098 if (ai->empty_peb_count + ai->maybe_bad_peb_count == peb_count) { in late_analysis()
1244 for (pnum = start; pnum < ubi->peb_count; pnum++) { in scan_all()
1440 ubi->good_peb_count = ubi->peb_count - ubi->bad_peb_count; in ubi_attach()
1583 if (aeb->pnum >= ubi->peb_count) { in self_check_ai()
1585 aeb->pnum, ubi->peb_count); in self_check_ai()
1706 buf = kzalloc(ubi->peb_count, GFP_KERNEL); in self_check_ai()
1710 for (pnum = 0; pnum < ubi->peb_count; pnum++) { in self_check_ai()
[all …]
A Dfastmap.c37 ret = kcalloc(ubi->peb_count, sizeof(int), GFP_KERNEL); in init_seen()
79 for (pnum = 0; pnum < ubi->peb_count; pnum++) { in self_check_seen()
101 (ubi->peb_count * sizeof(struct ubi_fm_ec)) + in ubi_calc_fm_size()
103 (ubi->peb_count * sizeof(__be32))) + in ubi_calc_fm_size()
844 if (WARN_ON(count_fastmap_pebs(ai) != ubi->peb_count - in ubi_attach_fastmap()
848 if (count_fastmap_pebs(ai) != ubi->peb_count - in ubi_attach_fastmap()
A Dfastmap-wl.c334 ubi_assert(pnum < ubi->peb_count); in ubi_wl_put_fm_peb()
A Dbuild.c679 ubi->peb_count = mtd_div_by_eb(ubi->mtd->size, ubi->mtd); in io_init()
774 ubi->max_erroneous = ubi->peb_count / 10; in io_init()
A Dubi.h604 int peb_count; member
A Dwl.c1208 ubi_assert(pnum < ubi->peb_count);
1547 ubi->lookuptbl = kzalloc(ubi->peb_count * sizeof(void *), GFP_KERNEL);
/u-boot/drivers/mtd/ubispl/
A Dubispl.c33 (ubi->peb_count * sizeof(struct ubi_fm_ec)) + in ubi_calc_fm_size()
35 (ubi->peb_count * sizeof(__be32))) + in ubi_calc_fm_size()
48 return peb >= ubi->peb_count || peb < 0; in ubi_io_is_bad()
672 if (WARN_ON(count_fastmap_pebs(ai) != ubi->peb_count - in ubi_attach_fastmap()
843 ubi->fsize_mb, ubi->peb_count); in ubi_scan_fastmap()
904 for (; pnum < ubi->peb_count; pnum++) in ipl_scan()
993 for (pnum = 0; pnum < ubi->peb_count; pnum++) { in ubi_load_block()
1086 ubi->peb_count = info->peb_count; in ubispl_load_volumes()
1093 fsize = info->peb_size * info->peb_count; in ubispl_load_volumes()
A Dubispl.h88 unsigned int peb_count; member
/u-boot/doc/
A DREADME.ubispl98 info.peb_count = MY_NAND_UBI_NUM_PEBS;
124 info.peb_count = flash_info.peb_count - MY_NAND_NR_SPL_PEBS;
/u-boot/common/spl/
A Dspl_ubi.c46 info.peb_count = CONFIG_SPL_UBI_MAX_PEBS - info.peb_offset; in spl_ubi_load_image()

Completed in 22 milliseconds