ebcnt 42 drivers/mtd/tests/mtd_test.c unsigned int eb, int ebcnt) ebcnt 50 drivers/mtd/tests/mtd_test.c for (i = 0; i < ebcnt; ++i) { ebcnt 62 drivers/mtd/tests/mtd_test.c unsigned int eb, int ebcnt) ebcnt 67 drivers/mtd/tests/mtd_test.c for (i = 0; i < ebcnt; ++i) { ebcnt 18 drivers/mtd/tests/mtd_test.h unsigned int eb, int ebcnt); ebcnt 20 drivers/mtd/tests/mtd_test.h unsigned int eb, int ebcnt); ebcnt 36 drivers/mtd/tests/oobtest.c static int ebcnt; ebcnt 95 drivers/mtd/tests/oobtest.c for (i = 0; i < ebcnt; ++i) { ebcnt 319 drivers/mtd/tests/oobtest.c for (i = 0; i < ebcnt; ++i) { ebcnt 369 drivers/mtd/tests/oobtest.c ebcnt = tmp; ebcnt 376 drivers/mtd/tests/oobtest.c mtd->writesize, ebcnt, pgcnt, mtd->oobsize); ebcnt 385 drivers/mtd/tests/oobtest.c bbt = kzalloc(ebcnt, GFP_KERNEL); ebcnt 389 drivers/mtd/tests/oobtest.c err = mtdtest_scan_for_bad_eraseblocks(mtd, bbt, 0, ebcnt); ebcnt 401 drivers/mtd/tests/oobtest.c err = mtdtest_erase_good_eraseblocks(mtd, bbt, 0, ebcnt); ebcnt 421 drivers/mtd/tests/oobtest.c err = mtdtest_erase_good_eraseblocks(mtd, bbt, 0, ebcnt); ebcnt 433 drivers/mtd/tests/oobtest.c for (i = 0; i < ebcnt; ++i) { ebcnt 454 drivers/mtd/tests/oobtest.c err = mtdtest_erase_good_eraseblocks(mtd, bbt, 0, ebcnt); ebcnt 487 drivers/mtd/tests/oobtest.c err = mtdtest_erase_good_eraseblocks(mtd, bbt, 0, ebcnt); ebcnt 492 drivers/mtd/tests/oobtest.c for (i = 0; i < ebcnt && bbt[i]; ++i) ebcnt 538 drivers/mtd/tests/oobtest.c if (bbt[ebcnt - 1]) ebcnt 585 drivers/mtd/tests/oobtest.c err = mtdtest_erase_eraseblock(mtd, ebcnt - 1); ebcnt 637 drivers/mtd/tests/oobtest.c err = mtdtest_erase_good_eraseblocks(mtd, bbt, 0, ebcnt); ebcnt 644 drivers/mtd/tests/oobtest.c for (i = 0; i < ebcnt - 1; ++i) { ebcnt 679 drivers/mtd/tests/oobtest.c for (i = 0; i < ebcnt - 1; ++i) { ebcnt 36 drivers/mtd/tests/pagetest.c static int ebcnt; ebcnt 58 drivers/mtd/tests/pagetest.c for (i = 0; i < ebcnt && bbt[i]; ++i) ebcnt 62 drivers/mtd/tests/pagetest.c for (i = 0; i < ebcnt && bbt[ebcnt - i - 1]; ++i) ebcnt 126 drivers/mtd/tests/pagetest.c for (i = 0; i < ebcnt && bbt[i]; ++i) ebcnt 130 drivers/mtd/tests/pagetest.c for (i = 0; i < ebcnt && bbt[ebcnt - i - 1]; ++i) ebcnt 198 drivers/mtd/tests/pagetest.c for (i = 0; i < ebcnt && bbt[i]; ++i) { ebcnt 203 drivers/mtd/tests/pagetest.c ebnum2 = ebcnt - 1; ebcnt 276 drivers/mtd/tests/pagetest.c for (i = 0; i < ebcnt && bbt[i]; ++i) { ebcnt 350 drivers/mtd/tests/pagetest.c ebcnt = tmp; ebcnt 358 drivers/mtd/tests/pagetest.c pgsize, ebcnt, pgcnt, mtd->oobsize); ebcnt 372 drivers/mtd/tests/pagetest.c bbt = kzalloc(ebcnt, GFP_KERNEL); ebcnt 375 drivers/mtd/tests/pagetest.c err = mtdtest_scan_for_bad_eraseblocks(mtd, bbt, 0, ebcnt); ebcnt 381 drivers/mtd/tests/pagetest.c err = mtdtest_erase_good_eraseblocks(mtd, bbt, 0, ebcnt); ebcnt 384 drivers/mtd/tests/pagetest.c pr_info("erased %u eraseblocks\n", ebcnt); ebcnt 389 drivers/mtd/tests/pagetest.c for (i = 0; i < ebcnt; ++i) { ebcnt 407 drivers/mtd/tests/pagetest.c for (i = 0; i < ebcnt; ++i) { ebcnt 426 drivers/mtd/tests/pagetest.c if (ebcnt > 1) { ebcnt 32 drivers/mtd/tests/readtest.c static int ebcnt; ebcnt 144 drivers/mtd/tests/readtest.c ebcnt = tmp; ebcnt 151 drivers/mtd/tests/readtest.c pgsize, ebcnt, pgcnt, mtd->oobsize); ebcnt 161 drivers/mtd/tests/readtest.c bbt = kzalloc(ebcnt, GFP_KERNEL); ebcnt 164 drivers/mtd/tests/readtest.c err = mtdtest_scan_for_bad_eraseblocks(mtd, bbt, 0, ebcnt); ebcnt 170 drivers/mtd/tests/readtest.c for (i = 0; i < ebcnt; ++i) { ebcnt 38 drivers/mtd/tests/speedtest.c static int ebcnt; ebcnt 210 drivers/mtd/tests/speedtest.c ebcnt = tmp; ebcnt 217 drivers/mtd/tests/speedtest.c pgsize, ebcnt, pgcnt, mtd->oobsize); ebcnt 219 drivers/mtd/tests/speedtest.c if (count > 0 && count < ebcnt) ebcnt 220 drivers/mtd/tests/speedtest.c ebcnt = count; ebcnt 229 drivers/mtd/tests/speedtest.c bbt = kzalloc(ebcnt, GFP_KERNEL); ebcnt 232 drivers/mtd/tests/speedtest.c err = mtdtest_scan_for_bad_eraseblocks(mtd, bbt, 0, ebcnt); ebcnt 235 drivers/mtd/tests/speedtest.c for (i = 0; i < ebcnt; i++) { ebcnt 240 drivers/mtd/tests/speedtest.c err = mtdtest_erase_good_eraseblocks(mtd, bbt, 0, ebcnt); ebcnt 247 drivers/mtd/tests/speedtest.c for (i = 0; i < ebcnt; ++i) { ebcnt 265 drivers/mtd/tests/speedtest.c for (i = 0; i < ebcnt; ++i) { ebcnt 280 drivers/mtd/tests/speedtest.c err = mtdtest_erase_good_eraseblocks(mtd, bbt, 0, ebcnt); ebcnt 287 drivers/mtd/tests/speedtest.c for (i = 0; i < ebcnt; ++i) { ebcnt 305 drivers/mtd/tests/speedtest.c for (i = 0; i < ebcnt; ++i) { ebcnt 320 drivers/mtd/tests/speedtest.c err = mtdtest_erase_good_eraseblocks(mtd, bbt, 0, ebcnt); ebcnt 327 drivers/mtd/tests/speedtest.c for (i = 0; i < ebcnt; ++i) { ebcnt 345 drivers/mtd/tests/speedtest.c for (i = 0; i < ebcnt; ++i) { ebcnt 363 drivers/mtd/tests/speedtest.c err = mtdtest_erase_good_eraseblocks(mtd, bbt, 0, ebcnt); ebcnt 376 drivers/mtd/tests/speedtest.c for (i = 0; i < ebcnt; ) { ebcnt 377 drivers/mtd/tests/speedtest.c for (j = 0; j < blocks && (i + j) < ebcnt; j++) ebcnt 40 drivers/mtd/tests/stresstest.c static int ebcnt; ebcnt 50 drivers/mtd/tests/stresstest.c eb %= (ebcnt - 1); ebcnt 169 drivers/mtd/tests/stresstest.c ebcnt = tmp; ebcnt 176 drivers/mtd/tests/stresstest.c pgsize, ebcnt, pgcnt, mtd->oobsize); ebcnt 178 drivers/mtd/tests/stresstest.c if (ebcnt < 2) { ebcnt 190 drivers/mtd/tests/stresstest.c offsets = kmalloc_array(ebcnt, sizeof(int), GFP_KERNEL); ebcnt 193 drivers/mtd/tests/stresstest.c for (i = 0; i < ebcnt; i++) ebcnt 197 drivers/mtd/tests/stresstest.c bbt = kzalloc(ebcnt, GFP_KERNEL); ebcnt 200 drivers/mtd/tests/stresstest.c err = mtdtest_scan_for_bad_eraseblocks(mtd, bbt, 0, ebcnt); ebcnt 33 drivers/mtd/tests/subpagetest.c static int ebcnt; ebcnt 251 drivers/mtd/tests/subpagetest.c for (i = 0; i < ebcnt; ++i) { ebcnt 300 drivers/mtd/tests/subpagetest.c ebcnt = tmp; ebcnt 307 drivers/mtd/tests/subpagetest.c mtd->writesize, subpgsize, ebcnt, pgcnt, mtd->oobsize); ebcnt 317 drivers/mtd/tests/subpagetest.c bbt = kzalloc(ebcnt, GFP_KERNEL); ebcnt 321 drivers/mtd/tests/subpagetest.c err = mtdtest_scan_for_bad_eraseblocks(mtd, bbt, 0, ebcnt); ebcnt 325 drivers/mtd/tests/subpagetest.c err = mtdtest_erase_good_eraseblocks(mtd, bbt, 0, ebcnt); ebcnt 331 drivers/mtd/tests/subpagetest.c for (i = 0; i < ebcnt; ++i) { ebcnt 348 drivers/mtd/tests/subpagetest.c for (i = 0; i < ebcnt; ++i) { ebcnt 363 drivers/mtd/tests/subpagetest.c err = mtdtest_erase_good_eraseblocks(mtd, bbt, 0, ebcnt); ebcnt 374 drivers/mtd/tests/subpagetest.c for (i = 0; i < ebcnt; ++i) { ebcnt 392 drivers/mtd/tests/subpagetest.c for (i = 0; i < ebcnt; ++i) { ebcnt 407 drivers/mtd/tests/subpagetest.c err = mtdtest_erase_good_eraseblocks(mtd, bbt, 0, ebcnt); ebcnt 32 drivers/mtd/tests/torturetest.c static int ebcnt = 32; ebcnt 33 drivers/mtd/tests/torturetest.c module_param(ebcnt, int, S_IRUGO); ebcnt 34 drivers/mtd/tests/torturetest.c MODULE_PARM_DESC(ebcnt, "number of consecutive eraseblocks to torture"); ebcnt 187 drivers/mtd/tests/torturetest.c ebcnt, eb, eb + ebcnt - 1, dev); ebcnt 229 drivers/mtd/tests/torturetest.c bad_ebs = kzalloc(ebcnt, GFP_KERNEL); ebcnt 247 drivers/mtd/tests/torturetest.c err = mtdtest_scan_for_bad_eraseblocks(mtd, bad_ebs, eb, ebcnt); ebcnt 256 drivers/mtd/tests/torturetest.c err = mtdtest_erase_good_eraseblocks(mtd, bad_ebs, eb, ebcnt); ebcnt 262 drivers/mtd/tests/torturetest.c for (i = eb; i < eb + ebcnt; i++) { ebcnt 279 drivers/mtd/tests/torturetest.c for (i = eb; i < eb + ebcnt; i++) { ebcnt 297 drivers/mtd/tests/torturetest.c for (i = eb; i < eb + ebcnt; i++) {