/linux-2.6.39/drivers/mtd/tests/ |
D | mtd_oobtest.c | 141 ops.oobbuf = writebuf; in write_eraseblock() 194 ops.oobbuf = readbuf; in verify_eraseblock() 221 ops.oobbuf = readbuf; in verify_eraseblock() 286 ops.oobbuf = readbuf; in verify_eraseblock_in_one_go() 517 ops.oobbuf = writebuf; in mtd_oobtest_init() 537 ops.oobbuf = readbuf; in mtd_oobtest_init() 561 ops.oobbuf = writebuf; in mtd_oobtest_init() 581 ops.oobbuf = readbuf; in mtd_oobtest_init() 605 ops.oobbuf = writebuf; in mtd_oobtest_init() 625 ops.oobbuf = readbuf; in mtd_oobtest_init() [all …]
|
D | mtd_readtest.c | 51 void *oobbuf = iobuf1; in read_eraseblock_by_page() local 76 ops.oobbuf = oobbuf; in read_eraseblock_by_page() 86 oobbuf += mtd->oobsize; in read_eraseblock_by_page()
|
/linux-2.6.39/drivers/mtd/onenand/ |
D | onenand_base.c | 1090 u_char *oobbuf = ops->oobbuf; in onenand_mlc_read_ops_nolock() local 1140 if (oobbuf) { in onenand_mlc_read_ops_nolock() 1145 onenand_transfer_auto_oob(mtd, oobbuf, oobcolumn, thisooblen); in onenand_mlc_read_ops_nolock() 1147 this->read_bufferram(mtd, ONENAND_SPARERAM, oobbuf, oobcolumn, thisooblen); in onenand_mlc_read_ops_nolock() 1149 oobbuf += thisooblen; in onenand_mlc_read_ops_nolock() 1194 u_char *oobbuf = ops->oobbuf; in onenand_read_ops_nolock() local 1261 if (oobbuf) { in onenand_read_ops_nolock() 1266 onenand_transfer_auto_oob(mtd, oobbuf, oobcolumn, thisooblen); in onenand_read_ops_nolock() 1268 this->read_bufferram(mtd, ONENAND_SPARERAM, oobbuf, oobcolumn, thisooblen); in onenand_read_ops_nolock() 1270 oobbuf += thisooblen; in onenand_read_ops_nolock() [all …]
|
D | onenand_bbt.c | 85 ops.oobbuf = buf; in create_bbt()
|
/linux-2.6.39/fs/jffs2/ |
D | wbuf.c | 1031 ops.oobbuf = c->oobbuf; in jffs2_check_oob_empty() 1050 if (ops.oobbuf[i] != 0xFF) { in jffs2_check_oob_empty() 1052 "%08x\n", ops.oobbuf[i], i, jeb->offset)); in jffs2_check_oob_empty() 1074 ops.oobbuf = c->oobbuf; in jffs2_check_nand_cleanmarker() 1088 return !!memcmp(&oob_cleanmarker, c->oobbuf, cmlen); in jffs2_check_nand_cleanmarker() 1100 ops.oobbuf = (uint8_t *)&oob_cleanmarker; in jffs2_write_nand_cleanmarker() 1174 c->oobbuf = kmalloc(NR_OOB_SCAN_PAGES * c->oobavail, GFP_KERNEL); in jffs2_nand_flash_setup() 1175 if (!c->oobbuf) { in jffs2_nand_flash_setup() 1183 kfree(c->oobbuf); in jffs2_nand_flash_setup() 1197 kfree(c->oobbuf); in jffs2_nand_flash_cleanup() [all …]
|
D | jffs2_fs_sb.h | 124 unsigned char *oobbuf; member
|
/linux-2.6.39/drivers/mtd/ |
D | mtdchar.c | 223 ops.oobbuf = NULL; in mtd_read() 326 ops.oobbuf = NULL; in mtd_write() 423 ops.oobbuf = memdup_user(ptr, length); in mtd_do_writeoob() 424 if (IS_ERR(ops.oobbuf)) in mtd_do_writeoob() 425 return PTR_ERR(ops.oobbuf); in mtd_do_writeoob() 436 kfree(ops.oobbuf); in mtd_do_writeoob() 465 ops.oobbuf = kmalloc(length, GFP_KERNEL); in mtd_do_readoob() 466 if (!ops.oobbuf) in mtd_do_readoob() 474 else if (ops.oobretlen && copy_to_user(ptr, ops.oobbuf, in mtd_do_readoob() 478 kfree(ops.oobbuf); in mtd_do_readoob()
|
D | nftlcore.c | 155 ops.oobbuf = buf; in nftl_read_oob() 176 ops.oobbuf = buf; in nftl_write_oob() 199 ops.oobbuf = oob; in nftl_write()
|
D | mtdconcat.c | 300 if (devops.oobbuf) { in concat_read_oob() 304 devops.oobbuf += ops->oobretlen; in concat_read_oob() 347 if (devops.oobbuf) { in concat_write_oob() 351 devops.oobbuf += devops.oobretlen; in concat_write_oob()
|
D | inftlcore.c | 160 ops.oobbuf = buf; in inftl_read_oob() 180 ops.oobbuf = buf; in inftl_write_oob() 200 ops.oobbuf = oob; in inftl_write()
|
D | ssfdc.c | 176 ops.oobbuf = buf; in read_raw_oob()
|
D | mtdswap.c | 350 ops.oobbuf = d->oob_buf; in mtdswap_read_markers() 391 ops.oobbuf = (uint8_t *)&n; in mtdswap_write_marker() 939 ops.oobbuf = d->oob_buf; in mtdswap_eblk_passes()
|
D | sm_ftl.c | 262 ops.oobbuf = (void *)oob; in sm_read_sector() 344 ops.oobbuf = (void *)oob; in sm_write_sector()
|
D | mtdpart.c | 128 if (ops->oobbuf) { in part_read_oob()
|
/linux-2.6.39/drivers/mtd/nand/ |
D | sm_common.c | 53 ops.oobbuf = (void *)&oob; in sm_block_markbad()
|
D | nand_bbt.c | 347 ops.oobbuf = buf + len; in scan_read_raw_oob() 352 ops.oobbuf = buf + mtd->writesize; in scan_read_raw_oob() 388 ops.oobbuf = oob; in scan_write_bbt() 469 ops.oobbuf = buf; in scan_block_fast() 815 ops.oobbuf = &buf[len]; in write_bbt()
|
D | nand_base.c | 424 chip->ops.oobbuf = buf; in nand_default_block_markbad() 1479 oob = ops->oobbuf; in nand_do_read_ops() 1610 chip->ops.oobbuf = NULL; in nand_read() 1776 uint8_t *buf = ops->oobbuf; in nand_do_read_oob() 2176 uint8_t *oob = ops->oobbuf; in nand_do_write_ops() 2301 chip->ops.oobbuf = NULL; in panic_nand_write() 2335 chip->ops.oobbuf = NULL; in nand_write() 2414 nand_fill_oob(chip, ops->oobbuf, ops->ooblen, ops); in nand_do_write_oob()
|
/linux-2.6.39/drivers/staging/spectra/ |
D | lld_mtd.c | 346 ops.oobbuf = read_data + DeviceInfo.wPageDataSize + BTSIG_OFFSET; in mtd_Read_Page_Main_Spare() 406 ops.oobbuf = write_data + DeviceInfo.wPageDataSize + BTSIG_OFFSET; in mtd_Write_Page_Main_Spare() 479 ops.oobbuf = read_data; in mtd_Read_Page_Spare()
|
/linux-2.6.39/include/linux/mtd/ |
D | mtd.h | 110 uint8_t *oobbuf; member
|
/linux-2.6.39/drivers/mtd/devices/ |
D | doc2001.c | 632 uint8_t *buf = ops->oobbuf; in doc_read_oob() 690 uint8_t *buf = ops->oobbuf; in doc_write_oob()
|
D | doc2001plus.c | 835 uint8_t *buf = ops->oobbuf; in doc_read_oob() 920 uint8_t *buf = ops->oobbuf; in doc_write_oob()
|
D | doc2000.c | 930 uint8_t *buf = ops->oobbuf; in doc_read_oob() 1101 &ops->retlen, ops->oobbuf); in doc_write_oob()
|