Home
last modified time | relevance | path

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

/drivers/mtd/parsers/
Dredboot.c96 while (mtd_block_isbad(master, offset)) { in parse_redboot_partitions()
106 while (mtd_block_isbad(master, offset)) { in parse_redboot_partitions()
Dsharpslpart.c197 if (mtd_block_isbad(mtd, block_adr)) in sharpsl_nand_init_ftl()
/drivers/mtd/
Dssfdc.c122 if (mtd_block_isbad(mtd, offset)) { in get_valid_cis_sector()
255 if (mtd_block_isbad(mtd, offset)) in build_logical_block_map()
Dmtdoops.c138 while ((ret = mtd_block_isbad(mtd, cxt->nextpage * record_size)) > 0) { in mtdoops_workfunc_erase()
224 if (mtd_block_isbad(mtd, page * record_size)) in find_next_position()
Dmtdswap.c331 if (mtd_can_have_bb(d->mtd) && mtd_block_isbad(d->mtd, offset)) in mtdswap_read_markers()
1014 if (mtd_block_isbad(mtd, offset)) in mtdswap_badblocks()
Dinftlmount.c295 if (mtd_block_isbad(inftl->mbd.mtd, in find_boot_record()
Dmtdpstore.c38 ret = mtd_block_isbad(mtd, off); in mtdpstore_block_isbad()
Dmtdpart.c205 else if (mtd_block_isbad(child, offs)) in allocate_partition()
Dnftlmount.c238 if (mtd_block_isbad(nftl->mbd.mtd, in find_boot_record()
Dmtdcore.c2003 int mtd_block_isbad(struct mtd_info *mtd, loff_t ofs) in mtd_block_isbad() function
2017 EXPORT_SYMBOL_GPL(mtd_block_isbad);
Dmtdconcat.c602 res = mtd_block_isbad(subdev, ofs); in concat_block_isbad()
Dmtdchar.c883 return mtd_block_isbad(mtd, offs); in mtdchar_ioctl()
/drivers/mtd/tests/
Dmtd_test.c34 ret = mtd_block_isbad(mtd, addr); in is_block_bad()
/drivers/mtd/ubi/
Dio.c574 ret = mtd_block_isbad(mtd, (loff_t)pnum * ubi->peb_size); in ubi_io_is_bad()