Searched refs:mtd_can_have_bb (Results 1 – 9 of 9) sorted by relevance
47 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()
468 if (!mtd_can_have_bb(mtd)) { in do_mtd_bad()
501 static inline int mtd_can_have_bb(const struct mtd_info *mtd) in mtd_can_have_bb() function
664 static inline int mtd_can_have_bb(const struct mtd_info *mtd) in mtd_can_have_bb() function
613 if (!mtd_can_have_bb(concat->subdev[0])) in concat_block_isbad()
680 if (mtd_can_have_bb(ubi->mtd)) { in io_init()
625 if (mtd_can_have_bb(ubi->mtd)) { in io_init()