peb_count        1210 drivers/mtd/ubi/attach.c 	int max_corr, peb_count;
peb_count        1212 drivers/mtd/ubi/attach.c 	peb_count = ubi->peb_count - ai->bad_peb_count - ai->alien_peb_count;
peb_count        1213 drivers/mtd/ubi/attach.c 	max_corr = peb_count / 20 ?: 8;
peb_count        1238 drivers/mtd/ubi/attach.c 	if (ai->empty_peb_count + ai->maybe_bad_peb_count == peb_count) {
peb_count        1392 drivers/mtd/ubi/attach.c 	for (pnum = start; pnum < ubi->peb_count; pnum++) {
peb_count        1595 drivers/mtd/ubi/attach.c 	ubi->good_peb_count = ubi->peb_count - ubi->bad_peb_count;
peb_count        1740 drivers/mtd/ubi/attach.c 			if (aeb->pnum >= ubi->peb_count) {
peb_count        1742 drivers/mtd/ubi/attach.c 					aeb->pnum, ubi->peb_count);
peb_count        1863 drivers/mtd/ubi/attach.c 	buf = kzalloc(ubi->peb_count, GFP_KERNEL);
peb_count        1867 drivers/mtd/ubi/attach.c 	for (pnum = 0; pnum < ubi->peb_count; pnum++) {
peb_count        1893 drivers/mtd/ubi/attach.c 	for (pnum = 0; pnum < ubi->peb_count; pnum++)
peb_count         602 drivers/mtd/ubi/build.c 	ubi->peb_count  = mtd_div_by_eb(ubi->mtd->size, ubi->mtd);
peb_count         697 drivers/mtd/ubi/build.c 	ubi->max_erroneous = ubi->peb_count / 10;
peb_count         395 drivers/mtd/ubi/debug.c 	if (*pos < ubi->peb_count)
peb_count         410 drivers/mtd/ubi/debug.c 	if (*pos < ubi->peb_count)
peb_count         322 drivers/mtd/ubi/fastmap-wl.c 	ubi_assert(pnum < ubi->peb_count);
peb_count          23 drivers/mtd/ubi/fastmap.c 	ret = kcalloc(BITS_TO_LONGS(ubi->peb_count), sizeof(unsigned long),
peb_count          66 drivers/mtd/ubi/fastmap.c 	for (pnum = 0; pnum < ubi->peb_count; pnum++) {
peb_count          88 drivers/mtd/ubi/fastmap.c 		(ubi->peb_count * sizeof(struct ubi_fm_ec)) +
peb_count          90 drivers/mtd/ubi/fastmap.c 		(ubi->peb_count * sizeof(__be32))) +
peb_count         780 drivers/mtd/ubi/fastmap.c 	if (WARN_ON(count_fastmap_pebs(ai) != ubi->peb_count -
peb_count         122 drivers/mtd/ubi/io.c 	ubi_assert(pnum >= 0 && pnum < ubi->peb_count);
peb_count         231 drivers/mtd/ubi/io.c 	ubi_assert(pnum >= 0 && pnum < ubi->peb_count);
peb_count         313 drivers/mtd/ubi/io.c 	ubi_assert(pnum >= 0 && pnum < ubi->peb_count);
peb_count         527 drivers/mtd/ubi/io.c 	ubi_assert(pnum >= 0 && pnum < ubi->peb_count);
peb_count         569 drivers/mtd/ubi/io.c 	ubi_assert(pnum >= 0 && pnum < ubi->peb_count);
peb_count         599 drivers/mtd/ubi/io.c 	ubi_assert(pnum >= 0 && pnum < ubi->peb_count);
peb_count         694 drivers/mtd/ubi/io.c 	ubi_assert(pnum >= 0 && pnum < ubi->peb_count);
peb_count         803 drivers/mtd/ubi/io.c 	ubi_assert(pnum >= 0 &&  pnum < ubi->peb_count);
peb_count         973 drivers/mtd/ubi/io.c 	ubi_assert(pnum >= 0 &&  pnum < ubi->peb_count);
peb_count        1057 drivers/mtd/ubi/io.c 	ubi_assert(pnum >= 0 &&  pnum < ubi->peb_count);
peb_count         627 drivers/mtd/ubi/ubi.h 	int peb_count;
peb_count         577 drivers/mtd/ubi/vtbl.c 		err = ubi_fastmap_init_checkmap(vol, ubi->peb_count);
peb_count        1236 drivers/mtd/ubi/wl.c 	ubi_assert(pnum < ubi->peb_count);
peb_count        1474 drivers/mtd/ubi/wl.c 	if (pnum < 0 || pnum >= ubi->peb_count) {
peb_count        1753 drivers/mtd/ubi/wl.c 	ubi->lookuptbl = kcalloc(ubi->peb_count, sizeof(void *), GFP_KERNEL);