/Linux-v5.4/drivers/mtd/tests/ |
D | oobtest.c | 69 ops.oobretlen = 0; in write_eraseblock() 74 if (err || ops.oobretlen != use_len) { in write_eraseblock() 179 ops.oobretlen = 0; in verify_eraseblock() 187 if (err || ops.oobretlen != use_len) { in verify_eraseblock() 216 ops.oobretlen = 0; in verify_eraseblock() 224 if (err || ops.oobretlen != mtd->oobavail) { in verify_eraseblock() 276 ops.oobretlen = 0; in verify_eraseblock_in_one_go() 286 if (err || ops.oobretlen != len) { in verify_eraseblock_in_one_go() 500 ops.oobretlen = 0; in mtd_oobtest_init() 520 ops.oobretlen = 0; in mtd_oobtest_init() [all …]
|
D | readtest.c | 56 ops.oobretlen = 0; in read_eraseblock_by_page() 62 ops.oobretlen != mtd->oobsize) { in read_eraseblock_by_page()
|
D | nandbiterrs.c | 111 ops.oobretlen = 0; in rewrite_page()
|
/Linux-v5.4/drivers/mtd/ |
D | mtdconcat.c | 225 ops->retlen = ops->oobretlen = 0; in concat_read_oob() 241 ops->oobretlen += devops.oobretlen; in concat_read_oob() 264 devops.ooblen = ops->ooblen - ops->oobretlen; in concat_read_oob() 267 devops.oobbuf += ops->oobretlen; in concat_read_oob() 285 ops->retlen = ops->oobretlen = 0; in concat_write_oob() 301 ops->oobretlen += devops.oobretlen; in concat_write_oob() 312 devops.ooblen = ops->ooblen - ops->oobretlen; in concat_write_oob() 315 devops.oobbuf += devops.oobretlen; in concat_write_oob()
|
D | mtdchar.c | 382 if (ops.oobretlen > 0xFFFFFFFFU) in mtdchar_writeoob() 384 retlen = ops.oobretlen; in mtdchar_writeoob() 419 if (put_user(ops.oobretlen, retp)) in mtdchar_readoob() 421 else if (ops.oobretlen && copy_to_user(ptr, ops.oobbuf, in mtdchar_readoob() 422 ops.oobretlen)) in mtdchar_readoob()
|
D | nftlcore.c | 137 *retlen = ops.oobretlen; in nftl_read_oob() 158 *retlen = ops.oobretlen; in nftl_write_oob()
|
D | mtdswap.c | 311 if (ops->oobretlen < ops->ooblen) { in mtdswap_read_oob() 314 ops->oobretlen, ops->ooblen, from); in mtdswap_read_oob() 401 if (ops.oobretlen != ops.ooblen) { in mtdswap_write_marker() 404 offset, ops.oobretlen, ops.ooblen); in mtdswap_write_marker()
|
D | ssfdc.c | 176 if (ret < 0 || ops.oobretlen != OOB_SIZE) in read_raw_oob()
|
D | inftlcore.c | 149 *retlen = ops.oobretlen; in inftl_read_oob() 169 *retlen = ops.oobretlen; in inftl_write_oob()
|
D | sm_ftl.c | 294 WARN_ON(ops.oobretlen != SM_OOB_SIZE); in sm_read_sector() 358 WARN_ON(ops.oobretlen != SM_OOB_SIZE); in sm_write_sector()
|
D | mtdcore.c | 1238 ops->retlen = ops->oobretlen = 0; in mtd_read_oob() 1275 ops->retlen = ops->oobretlen = 0; in mtd_write_oob()
|
/Linux-v5.4/fs/jffs2/ |
D | wbuf.c | 1043 ops.len = ops.ooboffs = ops.retlen = ops.oobretlen = 0; in jffs2_check_oob_empty() 1047 if ((ret && !mtd_is_bitflip(ret)) || ops.oobretlen != ops.ooblen) { in jffs2_check_oob_empty() 1049 jeb->offset, ops.ooblen, ops.oobretlen, ret); in jffs2_check_oob_empty() 1085 ops.len = ops.ooboffs = ops.retlen = ops.oobretlen = 0; in jffs2_check_nand_cleanmarker() 1089 if ((ret && !mtd_is_bitflip(ret)) || ops.oobretlen != ops.ooblen) { in jffs2_check_nand_cleanmarker() 1091 jeb->offset, ops.ooblen, ops.oobretlen, ret); in jffs2_check_nand_cleanmarker() 1110 ops.len = ops.ooboffs = ops.retlen = ops.oobretlen = 0; in jffs2_write_nand_cleanmarker() 1114 if (ret || ops.oobretlen != ops.ooblen) { in jffs2_write_nand_cleanmarker() 1116 jeb->offset, ops.ooblen, ops.oobretlen, ret); in jffs2_write_nand_cleanmarker()
|
/Linux-v5.4/drivers/mtd/nand/onenand/ |
D | onenand_base.c | 1144 ops->oobretlen = 0; in onenand_mlc_read_ops_nolock() 1200 ops->oobretlen = oobread; in onenand_mlc_read_ops_nolock() 1245 ops->oobretlen = 0; in onenand_read_ops_nolock() 1329 ops->oobretlen = oobread; in onenand_read_ops_nolock() 1366 ops->oobretlen = 0; in onenand_read_oob_nolock() 1425 ops->oobretlen = read; in onenand_read_oob_nolock() 1544 ops->oobretlen = 0; in onenand_bbt_read_oob() 1595 ops->oobretlen = read; in onenand_bbt_read_oob() 1809 ops->oobretlen = 0; in onenand_write_ops_nolock() 1957 ops->oobretlen = oobwritten; in onenand_write_ops_nolock() [all …]
|
D | onenand_bbt.c | 86 ops.len = ops.ooboffs = ops.retlen = ops.oobretlen = 0; in create_bbt()
|
/Linux-v5.4/drivers/mtd/nand/raw/ |
D | sm_common.c | 119 if (ret < 0 || ops.oobretlen != SM_OOB_SIZE) { in sm_block_markbad()
|
D | nand_base.c | 497 ops->oobretlen = ops->ooblen; in nand_do_write_oob() 3305 ops->oobretlen = ops->ooblen - oobreadlen; in nand_do_read_ops() 3537 ops->oobretlen = ops->ooblen - readlen; in nand_do_read_oob() 4063 ops->oobretlen = ops->ooblen; in nand_do_write_ops()
|
D | nand_bbt.c | 805 if (res < 0 || ops.oobretlen != ops.ooblen) in write_bbt()
|
/Linux-v5.4/drivers/mtd/devices/ |
D | docg3.c | 893 ops->oobretlen = 0; in doc_read_oob() 959 ops->oobretlen += nboob; in doc_read_oob() 1351 ops->oobretlen = 8; in doc_backup_oob() 1354 ops->oobretlen = DOC_LAYOUT_OOB_SIZE; in doc_backup_oob() 1416 ops->oobretlen = 0; in doc_write_oob() 1445 ops->oobretlen += oobdelta; in doc_write_oob()
|
/Linux-v5.4/drivers/mtd/parsers/ |
D | sharpslpart.c | 108 if (ret != 0 || mtd->oobsize != ops.oobretlen) in sharpsl_nand_read_oob()
|
/Linux-v5.4/drivers/mtd/nand/spi/ |
D | core.c | 521 ops->oobretlen += iter.req.ooblen; in spinand_mtd_read() 560 ops->oobretlen += iter.req.ooblen; in spinand_mtd_write()
|
/Linux-v5.4/include/linux/mtd/ |
D | mtd.h | 68 size_t oobretlen; member
|