Home
last modified time | relevance | path

Searched refs:mtd_block_markbad (Results 1 – 11 of 11) sorted by relevance

/linux/drivers/mtd/
H A Dmtdoops.c156 ret = mtd_block_markbad(mtd, cxt->nextpage * record_size); in mtdoops_erase()
H A Dmtdcore.c2333 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 Dinftlmount.c415 mtd_block_markbad(inftl->mbd.mtd, instr->addr); in INFTL_formatblock()
H A Dnftlmount.c356 mtd_block_markbad(nftl->mbd.mtd, instr->addr); in NFTL_formatblock()
H A Dmtdconcat.c622 err = mtd_block_markbad(subdev, ofs); in concat_block_markbad()
H A Dmtdchar.c1091 return mtd_block_markbad(mtd, offs); in mtdchar_ioctl()
H A Dmtdswap.c267 ret = mtd_block_markbad(d->mtd, offset); in mtdswap_handle_badblock()
/linux/include/linux/mtd/
H A Dmtd.h544 int mtd_block_markbad(struct mtd_info *mtd, loff_t ofs);
/linux/drivers/mtd/ubi/
H A Dio.c628 err = mtd_block_markbad(mtd, (loff_t)pnum * ubi->peb_size); in ubi_io_mark_bad()
/linux/fs/jffs2/
H A Dwbuf.c1142 ret = mtd_block_markbad(c->mtd, bad_offset); in jffs2_write_nand_badblock()
/linux/drivers/mtd/nand/raw/
H A Dnandsim.c820 if (mtd_block_markbad(mtd, offset)) { in ns_parse_badblocks()