Searched refs:mtd_block_isbad (Results 1 – 17 of 17) sorted by relevance
/linux-6.1.9/drivers/mtd/parsers/ |
D | redboot.c | 96 while (mtd_block_isbad(master, offset)) { in parse_redboot_partitions() 106 while (mtd_block_isbad(master, offset)) { in parse_redboot_partitions()
|
D | scpart.c | 113 !mtd_block_isbad(master, offs)) { in scpart_find_partmap()
|
D | sharpslpart.c | 197 if (mtd_block_isbad(mtd, block_adr)) in sharpsl_nand_init_ftl()
|
/linux-6.1.9/drivers/mtd/tests/ |
D | mtd_test.c | 34 ret = mtd_block_isbad(mtd, addr); in is_block_bad()
|
/linux-6.1.9/drivers/mtd/ |
D | ssfdc.c | 122 if (mtd_block_isbad(mtd, offset)) { in get_valid_cis_sector() 255 if (mtd_block_isbad(mtd, offset)) in build_logical_block_map()
|
D | mtdoops.c | 146 while ((ret = mtd_block_isbad(mtd, cxt->nextpage * record_size)) > 0) { in mtdoops_workfunc_erase() 239 if (mtd_block_isbad(mtd, page * record_size)) in find_next_position()
|
D | inftlmount.c | 288 if (mtd_block_isbad(inftl->mbd.mtd, in find_boot_record()
|
D | mtdpstore.c | 38 ret = mtd_block_isbad(mtd, off); in mtdpstore_block_isbad()
|
D | mtdpart.c | 206 else if (mtd_block_isbad(child, offs)) in allocate_partition()
|
D | nftlmount.c | 235 if (mtd_block_isbad(nftl->mbd.mtd, in find_boot_record()
|
D | mtdswap.c | 331 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()
|
D | mtdconcat.c | 602 res = mtd_block_isbad(subdev, ofs); in concat_block_isbad()
|
D | mtdcore.c | 2260 int mtd_block_isbad(struct mtd_info *mtd, loff_t ofs) in mtd_block_isbad() function 2274 EXPORT_SYMBOL_GPL(mtd_block_isbad);
|
D | mtdchar.c | 1082 return mtd_block_isbad(mtd, offs); in mtdchar_ioctl()
|
/linux-6.1.9/include/linux/mtd/ |
D | mtd.h | 543 int mtd_block_isbad(struct mtd_info *mtd, loff_t ofs);
|
/linux-6.1.9/drivers/mtd/ubi/ |
D | io.c | 581 ret = mtd_block_isbad(mtd, (loff_t)pnum * ubi->peb_size); in ubi_io_is_bad()
|
/linux-6.1.9/fs/jffs2/ |
D | scan.c | 468 if (mtd_block_isbad(c->mtd, jeb->offset)) in jffs2_scan_eraseblock()
|