| /OK3568_Linux_fs/u-boot/drivers/mtd/ubispl/ |
| H A D | ubispl.c | 31 (ubi->peb_count * sizeof(struct ubi_fm_ec)) + in ubi_calc_fm_size() 33 (ubi->peb_count * sizeof(__be32))) + in ubi_calc_fm_size() 46 return peb >= ubi->peb_count || peb < 0; in ubi_io_is_bad() 479 if (WARN_ON(count_fastmap_pebs(ai) != ubi->peb_count - in ubi_attach_fastmap() 650 ubi->fsize_mb, ubi->peb_count); in ubi_scan_fastmap() 711 for (; pnum < ubi->peb_count; pnum++) in ipl_scan() 800 for (pnum = 0; pnum < ubi->peb_count; pnum++) { in ubi_load_block() 893 ubi->peb_count = info->peb_count; in ubispl_load_volumes() 896 fsize = info->peb_size * info->peb_count; in ubispl_load_volumes()
|
| H A D | ubispl.h | 87 unsigned int peb_count; member
|
| /OK3568_Linux_fs/kernel/drivers/mtd/ubi/ |
| H A D | io.c | 122 ubi_assert(pnum >= 0 && pnum < ubi->peb_count); in ubi_io_read() 231 ubi_assert(pnum >= 0 && pnum < ubi->peb_count); in ubi_io_write() 313 ubi_assert(pnum >= 0 && pnum < ubi->peb_count); in do_sync_erase() 527 ubi_assert(pnum >= 0 && pnum < ubi->peb_count); in ubi_io_sync_erase() 569 ubi_assert(pnum >= 0 && pnum < ubi->peb_count); in ubi_io_is_bad() 599 ubi_assert(pnum >= 0 && pnum < ubi->peb_count); in ubi_io_mark_bad() 694 ubi_assert(pnum >= 0 && pnum < ubi->peb_count); in ubi_io_read_ec_hdr() 803 ubi_assert(pnum >= 0 && pnum < ubi->peb_count); in ubi_io_write_ec_hdr() 973 ubi_assert(pnum >= 0 && pnum < ubi->peb_count); in ubi_io_read_vid_hdr() 1057 ubi_assert(pnum >= 0 && pnum < ubi->peb_count); in ubi_io_write_vid_hdr()
|
| H A D | attach.c | 1210 int max_corr, peb_count; in late_analysis() local 1212 peb_count = ubi->peb_count - ai->bad_peb_count - ai->alien_peb_count; in late_analysis() 1213 max_corr = peb_count / 20 ?: 8; in late_analysis() 1238 if (ai->empty_peb_count + ai->maybe_bad_peb_count == peb_count) { in late_analysis() 1392 for (pnum = start; pnum < ubi->peb_count; pnum++) { in scan_all() 1595 ubi->good_peb_count = ubi->peb_count - ubi->bad_peb_count; in ubi_attach() 1740 if (aeb->pnum >= ubi->peb_count) { in self_check_ai() 1742 aeb->pnum, ubi->peb_count); in self_check_ai() 1863 buf = kzalloc(ubi->peb_count, GFP_KERNEL); in self_check_ai() 1867 for (pnum = 0; pnum < ubi->peb_count; pnum++) { in self_check_ai() [all …]
|
| H A D | debug.c | 396 if (*pos < ubi->peb_count) in eraseblk_count_seq_start() 411 if (*pos < ubi->peb_count) in eraseblk_count_seq_next()
|
| H A D | fastmap.c | 23 ret = kcalloc(BITS_TO_LONGS(ubi->peb_count), sizeof(unsigned long), in init_seen() 66 for (pnum = 0; pnum < ubi->peb_count; pnum++) { in self_check_seen() 88 (ubi->peb_count * sizeof(struct ubi_fm_ec)) + in ubi_calc_fm_size() 90 (ubi->peb_count * sizeof(__be32))) + in ubi_calc_fm_size() 790 if (WARN_ON(count_fastmap_pebs(ai) != ubi->peb_count - in ubi_attach_fastmap()
|
| H A D | fastmap-wl.c | 370 ubi_assert(pnum < ubi->peb_count); in ubi_wl_put_fm_peb()
|
| H A D | wl.c | 1240 ubi_assert(pnum < ubi->peb_count); 1478 if (pnum < 0 || pnum >= ubi->peb_count) { 1770 ubi->lookuptbl = kcalloc(ubi->peb_count, sizeof(void *), GFP_KERNEL);
|
| H A D | build.c | 619 ubi->peb_count = mtd_div_by_eb(ubi->mtd->size, ubi->mtd); in io_init() 714 ubi->max_erroneous = ubi->peb_count / 10; in io_init()
|
| H A D | ubi.h | 631 int peb_count; member
|
| H A D | vtbl.c | 577 err = ubi_fastmap_init_checkmap(vol, ubi->peb_count); in init_volumes()
|
| /OK3568_Linux_fs/u-boot/drivers/mtd/ubi/ |
| H A D | io.c | 128 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()
|
| H A D | attach.c | 1067 int max_corr, peb_count; in late_analysis() local 1069 peb_count = ubi->peb_count - ai->bad_peb_count - ai->alien_peb_count; in late_analysis() 1070 max_corr = peb_count / 20 ?: 8; in late_analysis() 1095 if (ai->empty_peb_count + ai->maybe_bad_peb_count == peb_count) { in late_analysis() 1241 for (pnum = start; pnum < ubi->peb_count; pnum++) { in scan_all() 1437 ubi->good_peb_count = ubi->peb_count - ubi->bad_peb_count; in ubi_attach() 1580 if (aeb->pnum >= ubi->peb_count) { in self_check_ai() 1582 aeb->pnum, ubi->peb_count); in self_check_ai() 1703 buf = kzalloc(ubi->peb_count, GFP_KERNEL); in self_check_ai() 1707 for (pnum = 0; pnum < ubi->peb_count; pnum++) { in self_check_ai() [all …]
|
| H A D | fastmap.c | 33 ret = kcalloc(ubi->peb_count, sizeof(int), GFP_KERNEL); in init_seen() 75 for (pnum = 0; pnum < ubi->peb_count; pnum++) { in self_check_seen() 97 (ubi->peb_count * sizeof(struct ubi_fm_ec)) + in ubi_calc_fm_size() 99 (ubi->peb_count * sizeof(__be32))) + in ubi_calc_fm_size() 840 if (WARN_ON(count_fastmap_pebs(ai) != ubi->peb_count - in ubi_attach_fastmap() 844 if (count_fastmap_pebs(ai) != ubi->peb_count - in ubi_attach_fastmap()
|
| H A D | fastmap-wl.c | 335 ubi_assert(pnum < ubi->peb_count); in ubi_wl_put_fm_peb()
|
| H A D | build.c | 678 ubi->peb_count = mtd_div_by_eb(ubi->mtd->size, ubi->mtd); in io_init() 773 ubi->max_erroneous = ubi->peb_count / 10; in io_init()
|
| H A D | ubi.h | 601 int peb_count; member
|
| H A D | wl.c | 1207 ubi_assert(pnum < ubi->peb_count); 1546 ubi->lookuptbl = kzalloc(ubi->peb_count * sizeof(void *), GFP_KERNEL);
|
| /OK3568_Linux_fs/u-boot/doc/ |
| H A D | README.ubispl | 98 info.peb_count = MY_NAND_UBI_NUM_PEBS; 124 info.peb_count = flash_info.peb_count - MY_NAND_NR_SPL_PEBS;
|
| /OK3568_Linux_fs/u-boot/include/ |
| H A D | ubispl.h | 65 u32 peb_count; member
|
| /OK3568_Linux_fs/u-boot/common/spl/ |
| H A D | spl_ubi.c | 46 info.peb_count = CONFIG_SPL_UBI_MAX_PEBS - info.peb_offset; in spl_ubi_load_image()
|