Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/mtd/tests/
Dtorturetest.c172 unsigned char *bad_ebs; in tort_init() local
229 bad_ebs = kzalloc(ebcnt, GFP_KERNEL); in tort_init()
230 if (!bad_ebs) 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()
261 if (bad_ebs[i - eb]) in tort_init()
278 if (bad_ebs[i - eb]) in tort_init()
296 if (bad_ebs[i - eb]) in tort_init()
337 kfree(bad_ebs); in tort_init()