Lines Matching refs:oobavail
4093 const struct nand_ecc_caps *caps, int oobavail) in nand_check_ecc_caps() argument
4102 if (WARN_ON(oobavail < 0)) in nand_check_ecc_caps()
4125 if (ecc_bytes * nsteps > oobavail) { in nand_check_ecc_caps()
4155 const struct nand_ecc_caps *caps, int oobavail) in nand_match_ecc_req() argument
4166 if (WARN_ON(oobavail < 0)) in nand_match_ecc_req()
4201 if (ecc_bytes_total > oobavail || in nand_match_ecc_req()
4239 const struct nand_ecc_caps *caps, int oobavail) in nand_maximize_ecc() argument
4249 if (WARN_ON(oobavail < 0)) in nand_maximize_ecc()
4272 if (ecc_bytes * nsteps > oobavail) in nand_maximize_ecc()
4563 mtd->oobavail = 0; in nand_scan_tail()
4566 mtd->oobavail += ecc->layout->oobfree[i].length; in nand_scan_tail()