Home
last modified time | relevance | path

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

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