Searched refs:ebcnt (Results 1 – 9 of 9) sorted by relevance
/linux-6.3-rc2/drivers/mtd/tests/ |
A D | speedtest.c | 38 static int ebcnt; variable 209 ebcnt = tmp; in mtd_speedtest_init() 219 ebcnt = count; in mtd_speedtest_init() 234 for (i = 0; i < ebcnt; i++) { in mtd_speedtest_init() 246 for (i = 0; i < ebcnt; ++i) { in mtd_speedtest_init() 264 for (i = 0; i < ebcnt; ++i) { in mtd_speedtest_init() 286 for (i = 0; i < ebcnt; ++i) { in mtd_speedtest_init() 304 for (i = 0; i < ebcnt; ++i) { in mtd_speedtest_init() 326 for (i = 0; i < ebcnt; ++i) { in mtd_speedtest_init() 344 for (i = 0; i < ebcnt; ++i) { in mtd_speedtest_init() [all …]
|
A D | pagetest.c | 36 static int ebcnt; variable 58 for (i = 0; i < ebcnt && bbt[i]; ++i) in verify_eraseblock() 62 for (i = 0; i < ebcnt && bbt[ebcnt - i - 1]; ++i) in verify_eraseblock() 126 for (i = 0; i < ebcnt && bbt[i]; ++i) in crosstest() 130 for (i = 0; i < ebcnt && bbt[ebcnt - i - 1]; ++i) in crosstest() 203 ebnum2 = ebcnt - 1; in erasecrosstest() 350 ebcnt = tmp; in mtd_pagetest_init() 372 bbt = kzalloc(ebcnt, GFP_KERNEL); in mtd_pagetest_init() 389 for (i = 0; i < ebcnt; ++i) { in mtd_pagetest_init() 407 for (i = 0; i < ebcnt; ++i) { in mtd_pagetest_init() [all …]
|
A D | stresstest.c | 40 static int ebcnt; variable 49 eb = get_random_u32_below(ebcnt - 1); in rand_eb() 160 ebcnt = tmp; in mtd_stresstest_init() 167 pgsize, ebcnt, pgcnt, mtd->oobsize); in mtd_stresstest_init() 169 if (ebcnt < 2) { in mtd_stresstest_init() 181 offsets = kmalloc_array(ebcnt, sizeof(int), GFP_KERNEL); in mtd_stresstest_init() 184 for (i = 0; i < ebcnt; i++) in mtd_stresstest_init() 188 bbt = kzalloc(ebcnt, GFP_KERNEL); in mtd_stresstest_init() 191 err = mtdtest_scan_for_bad_eraseblocks(mtd, bbt, 0, ebcnt); in mtd_stresstest_init()
|
A D | subpagetest.c | 33 static int ebcnt; variable 251 for (i = 0; i < ebcnt; ++i) { in verify_all_eraseblocks_ff() 300 ebcnt = tmp; in mtd_subpagetest_init() 317 bbt = kzalloc(ebcnt, GFP_KERNEL); in mtd_subpagetest_init() 325 err = mtdtest_erase_good_eraseblocks(mtd, bbt, 0, ebcnt); in mtd_subpagetest_init() 331 for (i = 0; i < ebcnt; ++i) { in mtd_subpagetest_init() 348 for (i = 0; i < ebcnt; ++i) { in mtd_subpagetest_init() 363 err = mtdtest_erase_good_eraseblocks(mtd, bbt, 0, ebcnt); in mtd_subpagetest_init() 374 for (i = 0; i < ebcnt; ++i) { in mtd_subpagetest_init() 392 for (i = 0; i < ebcnt; ++i) { in mtd_subpagetest_init() [all …]
|
A D | oobtest.c | 36 static int ebcnt; variable 95 for (i = 0; i < ebcnt; ++i) { in write_whole_device() 319 for (i = 0; i < ebcnt; ++i) { in verify_all_eraseblocks() 369 ebcnt = tmp; in mtd_oobtest_init() 385 bbt = kzalloc(ebcnt, GFP_KERNEL); in mtd_oobtest_init() 433 for (i = 0; i < ebcnt; ++i) { in mtd_oobtest_init() 492 for (i = 0; i < ebcnt && bbt[i]; ++i) in mtd_oobtest_init() 536 if (bbt[ebcnt - 1]) in mtd_oobtest_init() 581 err = mtdtest_erase_eraseblock(mtd, ebcnt - 1); in mtd_oobtest_init() 638 for (i = 0; i < ebcnt - 1; ++i) { in mtd_oobtest_init() [all …]
|
A D | torturetest.c | 32 static int ebcnt = 32; variable 33 module_param(ebcnt, int, S_IRUGO); 34 MODULE_PARM_DESC(ebcnt, "number of consecutive eraseblocks to torture"); 187 ebcnt, eb, eb + ebcnt - 1, dev); in tort_init() 229 bad_ebs = kzalloc(ebcnt, GFP_KERNEL); in tort_init() 245 err = mtdtest_scan_for_bad_eraseblocks(mtd, bad_ebs, eb, ebcnt); in tort_init() 254 err = mtdtest_erase_good_eraseblocks(mtd, bad_ebs, eb, ebcnt); in tort_init() 260 for (i = eb; i < eb + ebcnt; i++) { in tort_init() 277 for (i = eb; i < eb + ebcnt; i++) { in tort_init() 295 for (i = eb; i < eb + ebcnt; i++) { in tort_init()
|
A D | readtest.c | 32 static int ebcnt; variable 144 ebcnt = tmp; in mtd_readtest_init() 151 pgsize, ebcnt, pgcnt, mtd->oobsize); in mtd_readtest_init() 161 bbt = kzalloc(ebcnt, GFP_KERNEL); in mtd_readtest_init() 164 err = mtdtest_scan_for_bad_eraseblocks(mtd, bbt, 0, ebcnt); in mtd_readtest_init() 170 for (i = 0; i < ebcnt; ++i) { in mtd_readtest_init()
|
A D | mtd_test.c | 42 unsigned int eb, int ebcnt) in mtdtest_scan_for_bad_eraseblocks() argument 50 for (i = 0; i < ebcnt; ++i) { in mtdtest_scan_for_bad_eraseblocks() 62 unsigned int eb, int ebcnt) in mtdtest_erase_good_eraseblocks() argument 67 for (i = 0; i < ebcnt; ++i) { in mtdtest_erase_good_eraseblocks()
|
A D | mtd_test.h | 18 unsigned int eb, int ebcnt); 20 unsigned int eb, int ebcnt);
|
Completed in 17 milliseconds