Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/mtd/parsers/
Dredboot.c96 while (mtd_block_isbad(master, offset)) { in parse_redboot_partitions()
106 while (mtd_block_isbad(master, offset)) { in parse_redboot_partitions()
Dscpart.c113 !mtd_block_isbad(master, offs)) { in scpart_find_partmap()
Dsharpslpart.c197 if (mtd_block_isbad(mtd, block_adr)) in sharpsl_nand_init_ftl()
/linux-6.6.21/drivers/mtd/tests/
Dmtd_test.c34 ret = mtd_block_isbad(mtd, addr); in is_block_bad()
/linux-6.6.21/drivers/mtd/
Dssfdc.c122 if (mtd_block_isbad(mtd, offset)) { in get_valid_cis_sector()
255 if (mtd_block_isbad(mtd, offset)) in build_logical_block_map()
Dmtdoops.c127 while ((ret = mtd_block_isbad(mtd, cxt->nextpage * record_size)) > 0) { in mtdoops_erase()
254 if (mtd_block_isbad(mtd, page * record_size)) in find_next_position()
Dnftlmount.c235 if (mtd_block_isbad(nftl->mbd.mtd, in find_boot_record()
Dinftlmount.c288 if (mtd_block_isbad(inftl->mbd.mtd, in find_boot_record()
Dmtdpstore.c38 ret = mtd_block_isbad(mtd, off); in mtdpstore_block_isbad()
Dmtdpart.c212 else if (mtd_block_isbad(child, offs)) in allocate_partition()
Dmtdswap.c331 if (mtd_can_have_bb(d->mtd) && mtd_block_isbad(d->mtd, offset)) in mtdswap_read_markers()
1013 if (mtd_block_isbad(mtd, offset)) in mtdswap_badblocks()
Dmtdconcat.c602 res = mtd_block_isbad(subdev, ofs); in concat_block_isbad()
Dmtdcore.c2304 int mtd_block_isbad(struct mtd_info *mtd, loff_t ofs) in mtd_block_isbad() function
2318 EXPORT_SYMBOL_GPL(mtd_block_isbad);
Dmtdchar.c1082 return mtd_block_isbad(mtd, offs); in mtdchar_ioctl()
/linux-6.6.21/include/linux/mtd/
Dmtd.h543 int mtd_block_isbad(struct mtd_info *mtd, loff_t ofs);
/linux-6.6.21/drivers/mtd/ubi/
Dio.c581 ret = mtd_block_isbad(mtd, (loff_t)pnum * ubi->peb_size); in ubi_io_is_bad()
/linux-6.6.21/fs/jffs2/
Dscan.c468 if (mtd_block_isbad(c->mtd, jeb->offset)) in jffs2_scan_eraseblock()