Home
last modified time | relevance | path

Searched refs:_max_bad_blocks (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/include/linux/mtd/
Dmtd.h311 int (*_max_bad_blocks) (struct mtd_info *mtd, loff_t ofs, size_t len); member
395 if (!mtd->_max_bad_blocks) in mtd_max_bad_blocks()
401 return mtd->_max_bad_blocks(mtd, ofs, len); in mtd_max_bad_blocks()
/Linux-v5.4/drivers/mtd/
Dmtdpart.c310 return part->parent->_max_bad_blocks(part->parent, in part_max_bad_blocks()
420 if (parent->_max_bad_blocks) in allocate_partition()
421 slave->mtd._max_bad_blocks = part_max_bad_blocks; in allocate_partition()
/Linux-v5.4/drivers/mtd/nand/spi/
Dcore.c1041 mtd->_max_bad_blocks = nanddev_mtd_max_bad_blocks; in spinand_init()
/Linux-v5.4/drivers/mtd/nand/raw/
Dnand_base.c5793 mtd->_max_bad_blocks = nanddev_mtd_max_bad_blocks; in nand_scan_tail()