Searched refs:mtd_block_markbad (Results 1 – 11 of 11) sorted by relevance
/linux/drivers/mtd/ |
H A D | mtdoops.c | 156 ret = mtd_block_markbad(mtd, cxt->nextpage * record_size); in mtdoops_erase()
|
H A D | mtdcore.c | 2333 int mtd_block_markbad(struct mtd_info *mtd, loff_t ofs) in mtd_block_markbad() function 2359 EXPORT_SYMBOL_GPL(mtd_block_markbad); 2360 ALLOW_ERROR_INJECTION(mtd_block_markbad, ERRNO);
|
H A D | inftlmount.c | 415 mtd_block_markbad(inftl->mbd.mtd, instr->addr); in INFTL_formatblock()
|
H A D | nftlmount.c | 356 mtd_block_markbad(nftl->mbd.mtd, instr->addr); in NFTL_formatblock()
|
H A D | mtdconcat.c | 622 err = mtd_block_markbad(subdev, ofs); in concat_block_markbad()
|
H A D | mtdchar.c | 1091 return mtd_block_markbad(mtd, offs); in mtdchar_ioctl()
|
H A D | mtdswap.c | 267 ret = mtd_block_markbad(d->mtd, offset); in mtdswap_handle_badblock()
|
/linux/include/linux/mtd/ |
H A D | mtd.h | 544 int mtd_block_markbad(struct mtd_info *mtd, loff_t ofs);
|
/linux/drivers/mtd/ubi/ |
H A D | io.c | 628 err = mtd_block_markbad(mtd, (loff_t)pnum * ubi->peb_size); in ubi_io_mark_bad()
|
/linux/fs/jffs2/ |
H A D | wbuf.c | 1142 ret = mtd_block_markbad(c->mtd, bad_offset); in jffs2_write_nand_badblock()
|
/linux/drivers/mtd/nand/raw/ |
H A D | nandsim.c | 820 if (mtd_block_markbad(mtd, offset)) { in ns_parse_badblocks()
|