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