Home
last modified time | relevance | path

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

/drivers/mtd/
Dredboot.c81 while (mtd_block_isbad(master, offset)) { in parse_redboot_partitions()
91 while (mtd_block_isbad(master, offset)) { in parse_redboot_partitions()
Dssfdc.c125 if (mtd_block_isbad(mtd, offset)) { in get_valid_cis_sector()
258 if (mtd_block_isbad(mtd, offset)) in build_logical_block_map()
Dmtdoops.c172 while ((ret = mtd_block_isbad(mtd, cxt->nextpage * record_size)) > 0) { in mtdoops_workfunc_erase()
258 if (mtd_block_isbad(mtd, page * record_size)) in find_next_position()
Dmtdcore.c985 int mtd_block_isbad(struct mtd_info *mtd, loff_t ofs) in mtd_block_isbad() function
993 EXPORT_SYMBOL_GPL(mtd_block_isbad);
Dinftlmount.c309 if (mtd_block_isbad(inftl->mbd.mtd, in find_boot_record()
Dmtdswap.c346 if (mtd_can_have_bb(d->mtd) && mtd_block_isbad(d->mtd, offset)) in mtdswap_read_markers()
1063 if (mtd_block_isbad(mtd, offset)) in mtdswap_badblocks()
Dnftlmount.c245 if (mtd_block_isbad(nftl->mbd.mtd, in find_boot_record()
Dmtdconcat.c616 res = mtd_block_isbad(subdev, ofs); in concat_block_isbad()
Dmtdpart.c526 if (mtd_block_isbad(master, offs + slave->offset)) in allocate_partition()
Dmtdchar.c877 return mtd_block_isbad(mtd, offs); in mtdchar_ioctl()
/drivers/mtd/tests/
Dmtd_readtest.c135 ret = mtd_block_isbad(mtd, addr); in is_block_bad()
Dmtd_stresstest.c115 ret = mtd_block_isbad(mtd, addr); in is_block_bad()
Dmtd_subpagetest.c325 ret = mtd_block_isbad(mtd, addr); in is_block_bad()
Dmtd_torturetest.c291 err = mtd_block_isbad(mtd, (loff_t)i * mtd->erasesize); in tort_init()
Dmtd_speedtest.c281 ret = mtd_block_isbad(mtd, addr); in is_block_bad()
Dmtd_pagetest.c448 ret = mtd_block_isbad(mtd, addr); in is_block_bad()
Dmtd_oobtest.c312 ret = mtd_block_isbad(mtd, addr); in is_block_bad()
/drivers/mtd/ubi/
Dio.c627 ret = mtd_block_isbad(mtd, (loff_t)pnum * ubi->peb_size); in ubi_io_is_bad()