Home
last modified time | relevance | path

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

/linux-3.4.99/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.c173 ret = mtd_block_isbad(mtd, cxt->nextpage * record_size); in mtdoops_workfunc_erase()
260 if (mtd_block_isbad(mtd, page * record_size)) in find_next_position()
Dmtdcore.c916 int mtd_block_isbad(struct mtd_info *mtd, loff_t ofs) in mtd_block_isbad() function
924 EXPORT_SYMBOL_GPL(mtd_block_isbad);
Dinftlmount.c309 if (mtd_block_isbad(inftl->mbd.mtd, in find_boot_record()
Dnftlmount.c245 if (mtd_block_isbad(nftl->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()
Dmtdconcat.c616 res = mtd_block_isbad(subdev, ofs); in concat_block_isbad()
Dmtdpart.c524 if (mtd_block_isbad(master, offs + slave->offset)) in allocate_partition()
Dmtdchar.c877 return mtd_block_isbad(mtd, offs); in mtdchar_ioctl()
/linux-3.4.99/fs/logfs/
Ddev_mtd.c156 while (mtd_block_isbad(mtd, *ofs)) { in logfs_mtd_find_first_sb()
173 while (mtd_block_isbad(mtd, *ofs)) { in logfs_mtd_find_last_sb()
/linux-3.4.99/drivers/mtd/tests/
Dmtd_readtest.c135 ret = mtd_block_isbad(mtd, addr); in is_block_bad()
Dmtd_stresstest.c135 ret = mtd_block_isbad(mtd, addr); in is_block_bad()
Dmtd_subpagetest.c343 ret = mtd_block_isbad(mtd, addr); in is_block_bad()
Dmtd_torturetest.c295 err = mtd_block_isbad(mtd, (loff_t)i * mtd->erasesize); in tort_init()
Dmtd_speedtest.c299 ret = mtd_block_isbad(mtd, addr); in is_block_bad()
Dmtd_pagetest.c465 ret = mtd_block_isbad(mtd, addr); in is_block_bad()
Dmtd_oobtest.c332 ret = mtd_block_isbad(mtd, addr); in is_block_bad()
/linux-3.4.99/arch/cris/arch-v32/drivers/
Daxisflashmap.c407 blockstat = mtd_block_isbad(main_mtd, ptable_sector); in init_axis_flash()
/linux-3.4.99/include/linux/mtd/
Dmtd.h303 int mtd_block_isbad(struct mtd_info *mtd, loff_t ofs);
/linux-3.4.99/drivers/mtd/ubi/
Dio.c637 ret = mtd_block_isbad(mtd, (loff_t)pnum * ubi->peb_size); in ubi_io_is_bad()
/linux-3.4.99/fs/jffs2/
Dscan.c465 if (mtd_block_isbad(c->mtd, jeb->offset)) in jffs2_scan_eraseblock()