Searched refs:bad_ebs (Results 1 – 1 of 1) sorted by relevance
172 unsigned char *bad_ebs; in tort_init() local229 bad_ebs = kzalloc(ebcnt, GFP_KERNEL); in tort_init()230 if (!bad_ebs) in tort_init()247 err = mtdtest_scan_for_bad_eraseblocks(mtd, bad_ebs, eb, ebcnt); in tort_init()256 err = mtdtest_erase_good_eraseblocks(mtd, bad_ebs, eb, ebcnt); in tort_init()263 if (bad_ebs[i - eb]) in tort_init()280 if (bad_ebs[i - eb]) in tort_init()298 if (bad_ebs[i - eb]) in tort_init()339 kfree(bad_ebs); in tort_init()