Searched refs:mtd_can_have_bb (Results 1 – 5 of 5) sorted by relevance
46 if (!mtd_can_have_bb(mtd)) in mtdtest_scan_for_bad_eraseblocks()
262 if (!mtd_can_have_bb(d->mtd)) in mtdswap_handle_badblock()331 if (mtd_can_have_bb(d->mtd) && mtd_block_isbad(d->mtd, offset)) in mtdswap_read_markers()1011 if (mtd_can_have_bb(mtd)) in mtdswap_badblocks()
591 if (!mtd_can_have_bb(concat->subdev[0])) in concat_block_isbad()
664 static inline int mtd_can_have_bb(const struct mtd_info *mtd) in mtd_can_have_bb() function
625 if (mtd_can_have_bb(ubi->mtd)) { in io_init()