oobbuf 870 drivers/mtd/devices/docg3.c u8 *oobbuf = ops->oobbuf; oobbuf 880 drivers/mtd/devices/docg3.c if (oobbuf) oobbuf 885 drivers/mtd/devices/docg3.c if (oobbuf && ops->mode == MTD_OPS_PLACE_OOB) oobbuf 886 drivers/mtd/devices/docg3.c oobbuf += ops->ooboffs; oobbuf 889 drivers/mtd/devices/docg3.c from, ops->mode, buf, len, oobbuf, ooblen); oobbuf 918 drivers/mtd/devices/docg3.c ret = doc_read_page_getbytes(docg3, nboob, oobbuf, 0, 0); oobbuf 928 drivers/mtd/devices/docg3.c doc_dbg("OOB - INFO: %*phC\n", 7, oobbuf); oobbuf 929 drivers/mtd/devices/docg3.c doc_dbg("OOB - HAMMING: %02x\n", oobbuf[7]); oobbuf 930 drivers/mtd/devices/docg3.c doc_dbg("OOB - BCH_ECC: %*phC\n", 7, oobbuf + 8); oobbuf 931 drivers/mtd/devices/docg3.c doc_dbg("OOB - UNUSED: %02x\n", oobbuf[15]); oobbuf 961 drivers/mtd/devices/docg3.c oobbuf += nboob; oobbuf 1350 drivers/mtd/devices/docg3.c doc_fill_autooob(docg3->oob_write_buf, ops->oobbuf); oobbuf 1353 drivers/mtd/devices/docg3.c memcpy(docg3->oob_write_buf, ops->oobbuf, DOC_LAYOUT_OOB_SIZE); oobbuf 1379 drivers/mtd/devices/docg3.c u8 *oobbuf = ops->oobbuf; oobbuf 1388 drivers/mtd/devices/docg3.c if (oobbuf) oobbuf 1393 drivers/mtd/devices/docg3.c if (oobbuf && ops->mode == MTD_OPS_PLACE_OOB) oobbuf 1394 drivers/mtd/devices/docg3.c oobbuf += ops->ooboffs; oobbuf 1397 drivers/mtd/devices/docg3.c ofs, ops->mode, buf, len, oobbuf, ooblen); oobbuf 1434 drivers/mtd/devices/docg3.c doc_fill_autooob(oob, oobbuf); oobbuf 1436 drivers/mtd/devices/docg3.c memcpy(oob, oobbuf, DOC_LAYOUT_OOB_SIZE); oobbuf 1443 drivers/mtd/devices/docg3.c oobbuf += oobdelta; oobbuf 145 drivers/mtd/inftlcore.c ops.oobbuf = buf; oobbuf 165 drivers/mtd/inftlcore.c ops.oobbuf = buf; oobbuf 185 drivers/mtd/inftlcore.c ops.oobbuf = oob; oobbuf 181 drivers/mtd/mtdchar.c ops.oobbuf = NULL; oobbuf 275 drivers/mtd/mtdchar.c ops.oobbuf = NULL; oobbuf 375 drivers/mtd/mtdchar.c ops.oobbuf = memdup_user(ptr, length); oobbuf 376 drivers/mtd/mtdchar.c if (IS_ERR(ops.oobbuf)) oobbuf 377 drivers/mtd/mtdchar.c return PTR_ERR(ops.oobbuf); oobbuf 388 drivers/mtd/mtdchar.c kfree(ops.oobbuf); oobbuf 412 drivers/mtd/mtdchar.c ops.oobbuf = kmalloc(length, GFP_KERNEL); oobbuf 413 drivers/mtd/mtdchar.c if (!ops.oobbuf) oobbuf 421 drivers/mtd/mtdchar.c else if (ops.oobretlen && copy_to_user(ptr, ops.oobbuf, oobbuf 425 drivers/mtd/mtdchar.c kfree(ops.oobbuf); oobbuf 617 drivers/mtd/mtdchar.c ops.oobbuf = memdup_user(usr_oob, ops.ooblen); oobbuf 618 drivers/mtd/mtdchar.c if (IS_ERR(ops.oobbuf)) { oobbuf 620 drivers/mtd/mtdchar.c return PTR_ERR(ops.oobbuf); oobbuf 623 drivers/mtd/mtdchar.c ops.oobbuf = NULL; oobbuf 629 drivers/mtd/mtdchar.c kfree(ops.oobbuf); oobbuf 263 drivers/mtd/mtdconcat.c if (devops.oobbuf) { oobbuf 267 drivers/mtd/mtdconcat.c devops.oobbuf += ops->oobretlen; oobbuf 311 drivers/mtd/mtdconcat.c if (devops.oobbuf) { oobbuf 315 drivers/mtd/mtdconcat.c devops.oobbuf += devops.oobretlen; oobbuf 1213 drivers/mtd/mtdcore.c if (!ops->oobbuf) oobbuf 1247 drivers/mtd/mtdcore.c if (!mtd->_read_oob && (!mtd->_read || ops->oobbuf)) oobbuf 1287 drivers/mtd/mtdcore.c if (!mtd->_write_oob && (!mtd->_write || ops->oobbuf)) oobbuf 1448 drivers/mtd/mtdcore.c const u8 *oobbuf, int start, int nbytes, oobbuf 1463 drivers/mtd/mtdcore.c memcpy(buf, oobbuf + oobregion.offset, cnt); oobbuf 1491 drivers/mtd/mtdcore.c u8 *oobbuf, int start, int nbytes, oobbuf 1506 drivers/mtd/mtdcore.c memcpy(oobbuf + oobregion.offset, buf, cnt); oobbuf 1563 drivers/mtd/mtdcore.c const u8 *oobbuf, int start, int nbytes) oobbuf 1565 drivers/mtd/mtdcore.c return mtd_ooblayout_get_bytes(mtd, eccbuf, oobbuf, start, nbytes, oobbuf 1583 drivers/mtd/mtdcore.c u8 *oobbuf, int start, int nbytes) oobbuf 1585 drivers/mtd/mtdcore.c return mtd_ooblayout_set_bytes(mtd, eccbuf, oobbuf, start, nbytes, oobbuf 1603 drivers/mtd/mtdcore.c const u8 *oobbuf, int start, int nbytes) oobbuf 1605 drivers/mtd/mtdcore.c return mtd_ooblayout_get_bytes(mtd, databuf, oobbuf, start, nbytes, oobbuf 1623 drivers/mtd/mtdcore.c u8 *oobbuf, int start, int nbytes) oobbuf 1625 drivers/mtd/mtdcore.c return mtd_ooblayout_set_bytes(mtd, databuf, oobbuf, start, nbytes, oobbuf 335 drivers/mtd/mtdswap.c ops.oobbuf = d->oob_buf; oobbuf 376 drivers/mtd/mtdswap.c ops.oobbuf = (uint8_t *)&n; oobbuf 890 drivers/mtd/mtdswap.c ops.oobbuf = d->oob_buf; oobbuf 1127 drivers/mtd/nand/onenand/onenand_base.c u_char *oobbuf = ops->oobbuf; oobbuf 1173 drivers/mtd/nand/onenand/onenand_base.c if (oobbuf) { oobbuf 1178 drivers/mtd/nand/onenand/onenand_base.c onenand_transfer_auto_oob(mtd, oobbuf, oobcolumn, thisooblen); oobbuf 1180 drivers/mtd/nand/onenand/onenand_base.c this->read_bufferram(mtd, ONENAND_SPARERAM, oobbuf, oobcolumn, thisooblen); oobbuf 1182 drivers/mtd/nand/onenand/onenand_base.c oobbuf += thisooblen; oobbuf 1228 drivers/mtd/nand/onenand/onenand_base.c u_char *oobbuf = ops->oobbuf; oobbuf 1291 drivers/mtd/nand/onenand/onenand_base.c if (oobbuf) { oobbuf 1296 drivers/mtd/nand/onenand/onenand_base.c onenand_transfer_auto_oob(mtd, oobbuf, oobcolumn, thisooblen); oobbuf 1298 drivers/mtd/nand/onenand/onenand_base.c this->read_bufferram(mtd, ONENAND_SPARERAM, oobbuf, oobcolumn, thisooblen); oobbuf 1300 drivers/mtd/nand/onenand/onenand_base.c oobbuf += thisooblen; oobbuf 1357 drivers/mtd/nand/onenand/onenand_base.c u_char *buf = ops->oobbuf; oobbuf 1538 drivers/mtd/nand/onenand/onenand_base.c u_char *buf = ops->oobbuf; oobbuf 1800 drivers/mtd/nand/onenand/onenand_base.c const u_char *oob = ops->oobbuf; oobbuf 1801 drivers/mtd/nand/onenand/onenand_base.c u_char *oobbuf; oobbuf 1849 drivers/mtd/nand/onenand/onenand_base.c oobbuf = this->oob_buf; oobbuf 1853 drivers/mtd/nand/onenand/onenand_base.c memset(oobbuf, 0xff, mtd->oobsize); oobbuf 1855 drivers/mtd/nand/onenand/onenand_base.c onenand_fill_auto_oob(mtd, oobbuf, oob, oobcolumn, thisooblen); oobbuf 1857 drivers/mtd/nand/onenand/onenand_base.c memcpy(oobbuf + oobcolumn, oob, thisooblen); oobbuf 1863 drivers/mtd/nand/onenand/onenand_base.c oobbuf = (u_char *) ffchars; oobbuf 1865 drivers/mtd/nand/onenand/onenand_base.c this->write_bufferram(mtd, ONENAND_SPARERAM, oobbuf, 0, mtd->oobsize); oobbuf 1980 drivers/mtd/nand/onenand/onenand_base.c u_char *oobbuf; oobbuf 1982 drivers/mtd/nand/onenand/onenand_base.c const u_char *buf = ops->oobbuf; oobbuf 2013 drivers/mtd/nand/onenand/onenand_base.c oobbuf = this->oob_buf; oobbuf 2027 drivers/mtd/nand/onenand/onenand_base.c memset(oobbuf, 0xff, mtd->oobsize); oobbuf 2029 drivers/mtd/nand/onenand/onenand_base.c onenand_fill_auto_oob(mtd, oobbuf, buf, column, thislen); oobbuf 2031 drivers/mtd/nand/onenand/onenand_base.c memcpy(oobbuf + column, buf, thislen); oobbuf 2032 drivers/mtd/nand/onenand/onenand_base.c this->write_bufferram(mtd, ONENAND_SPARERAM, oobbuf, 0, mtd->oobsize); oobbuf 2055 drivers/mtd/nand/onenand/onenand_base.c ret = onenand_verify_oob(mtd, oobbuf, to); oobbuf 2447 drivers/mtd/nand/onenand/onenand_base.c .oobbuf = buf, oobbuf 2780 drivers/mtd/nand/onenand/onenand_base.c u_char *oobbuf; oobbuf 2782 drivers/mtd/nand/onenand/onenand_base.c const u_char *buf = ops->oobbuf; oobbuf 2794 drivers/mtd/nand/onenand/onenand_base.c oobbuf = this->oob_buf; oobbuf 2830 drivers/mtd/nand/onenand/onenand_base.c memcpy(oobbuf + column, buf, thislen); oobbuf 2839 drivers/mtd/nand/onenand/onenand_base.c oobbuf, 0, mtd->oobsize); oobbuf 2913 drivers/mtd/nand/onenand/onenand_base.c .oobbuf = NULL, oobbuf 2965 drivers/mtd/nand/onenand/onenand_base.c ops.oobbuf = NULL; oobbuf 3005 drivers/mtd/nand/onenand/onenand_base.c ops.oobbuf = NULL; oobbuf 3015 drivers/mtd/nand/onenand/onenand_base.c ops.oobbuf = buf; oobbuf 3523 drivers/mtd/nand/onenand/onenand_base.c .oobbuf = this->oob_buf, oobbuf 85 drivers/mtd/nand/onenand/onenand_bbt.c ops.oobbuf = buf; oobbuf 440 drivers/mtd/nand/raw/lpc32xx_mlc.c uint8_t *oobbuf = chip->oob_poi; oobbuf 488 drivers/mtd/nand/raw/lpc32xx_mlc.c *((uint32_t *)(oobbuf)) = oobbuf 490 drivers/mtd/nand/raw/lpc32xx_mlc.c oobbuf += 4; oobbuf 506 drivers/mtd/nand/raw/lpc32xx_mlc.c const uint8_t *oobbuf = chip->oob_poi; oobbuf 535 drivers/mtd/nand/raw/lpc32xx_mlc.c writel(*((uint32_t *)(oobbuf)), MLC_BUFF(host->io_base)); oobbuf 536 drivers/mtd/nand/raw/lpc32xx_mlc.c oobbuf += 4; oobbuf 537 drivers/mtd/nand/raw/lpc32xx_mlc.c writew(*((uint16_t *)(oobbuf)), MLC_BUFF(host->io_base)); oobbuf 538 drivers/mtd/nand/raw/lpc32xx_mlc.c oobbuf += 12; oobbuf 353 drivers/mtd/nand/raw/meson_nand.c u8 *buf, u8 *oobbuf) oobbuf 366 drivers/mtd/nand/raw/meson_nand.c memcpy(oobbuf, osrc, oob_len); oobbuf 367 drivers/mtd/nand/raw/meson_nand.c oobbuf += oob_len; oobbuf 372 drivers/mtd/nand/raw/meson_nand.c const u8 *buf, u8 *oobbuf) oobbuf 385 drivers/mtd/nand/raw/meson_nand.c memcpy(osrc, oobbuf, oob_len); oobbuf 386 drivers/mtd/nand/raw/meson_nand.c oobbuf += oob_len; oobbuf 489 drivers/mtd/nand/raw/nand_base.c nand_fill_oob(chip, ops->oobbuf, ops->ooblen, ops); oobbuf 523 drivers/mtd/nand/raw/nand_base.c ops.oobbuf = buf; oobbuf 3178 drivers/mtd/nand/raw/nand_base.c oob = ops->oobbuf; oobbuf 3491 drivers/mtd/nand/raw/nand_base.c uint8_t *buf = ops->oobbuf; oobbuf 3966 drivers/mtd/nand/raw/nand_base.c uint8_t *oob = ops->oobbuf; oobbuf 326 drivers/mtd/nand/raw/nand_bbt.c ops.oobbuf = buf + ops.len; oobbuf 363 drivers/mtd/nand/raw/nand_bbt.c ops.oobbuf = oob; oobbuf 423 drivers/mtd/nand/raw/nand_bbt.c ops.oobbuf = buf; oobbuf 803 drivers/mtd/nand/raw/nand_bbt.c ops.oobbuf = &buf[len]; oobbuf 114 drivers/mtd/nand/raw/sm_common.c ops.oobbuf = (void *)&oob; oobbuf 232 drivers/mtd/nand/spi/core.c buf = spinand->oobbuf; oobbuf 258 drivers/mtd/nand/spi/core.c mtd_ooblayout_get_databytes(mtd, req->oobbuf.in, oobbuf 259 drivers/mtd/nand/spi/core.c spinand->oobbuf, oobbuf 263 drivers/mtd/nand/spi/core.c memcpy(req->oobbuf.in, spinand->oobbuf + req->ooboffs, oobbuf 296 drivers/mtd/nand/spi/core.c mtd_ooblayout_set_databytes(mtd, req->oobbuf.out, oobbuf 297 drivers/mtd/nand/spi/core.c spinand->oobbuf, oobbuf 301 drivers/mtd/nand/spi/core.c memcpy(spinand->oobbuf + req->ooboffs, req->oobbuf.out, oobbuf 576 drivers/mtd/nand/spi/core.c .oobbuf.in = marker, oobbuf 611 drivers/mtd/nand/spi/core.c .oobbuf.out = marker, oobbuf 984 drivers/mtd/nand/spi/core.c spinand->oobbuf = spinand->databuf + nanddev_page_size(nand); oobbuf 133 drivers/mtd/nftlcore.c ops.oobbuf = buf; oobbuf 154 drivers/mtd/nftlcore.c ops.oobbuf = buf; oobbuf 177 drivers/mtd/nftlcore.c ops.oobbuf = oob; oobbuf 105 drivers/mtd/parsers/sharpslpart.c ops.oobbuf = buf; oobbuf 261 drivers/mtd/sm_ftl.c ops.oobbuf = (void *)oob; oobbuf 343 drivers/mtd/sm_ftl.c ops.oobbuf = (void *)oob; oobbuf 172 drivers/mtd/ssfdc.c ops.oobbuf = buf; oobbuf 114 drivers/mtd/tests/nandbiterrs.c ops.oobbuf = NULL; oobbuf 72 drivers/mtd/tests/oobtest.c ops.oobbuf = writebuf + (use_len_max * i) + use_offset; oobbuf 182 drivers/mtd/tests/oobtest.c ops.oobbuf = readbuf; oobbuf 219 drivers/mtd/tests/oobtest.c ops.oobbuf = readbuf; oobbuf 279 drivers/mtd/tests/oobtest.c ops.oobbuf = readbuf; oobbuf 503 drivers/mtd/tests/oobtest.c ops.oobbuf = writebuf; oobbuf 523 drivers/mtd/tests/oobtest.c ops.oobbuf = readbuf; oobbuf 550 drivers/mtd/tests/oobtest.c ops.oobbuf = writebuf; oobbuf 570 drivers/mtd/tests/oobtest.c ops.oobbuf = readbuf; oobbuf 597 drivers/mtd/tests/oobtest.c ops.oobbuf = writebuf; oobbuf 617 drivers/mtd/tests/oobtest.c ops.oobbuf = readbuf; oobbuf 660 drivers/mtd/tests/oobtest.c ops.oobbuf = writebuf + pg * sz; oobbuf 691 drivers/mtd/tests/oobtest.c ops.oobbuf = readbuf; oobbuf 40 drivers/mtd/tests/readtest.c void *oobbuf = iobuf1; oobbuf 59 drivers/mtd/tests/readtest.c ops.oobbuf = oobbuf; oobbuf 70 drivers/mtd/tests/readtest.c oobbuf += mtd->oobsize; oobbuf 138 fs/jffs2/jffs2_fs_sb.h unsigned char *oobbuf; oobbuf 1042 fs/jffs2/wbuf.c ops.oobbuf = c->oobbuf; oobbuf 1060 fs/jffs2/wbuf.c if (ops.oobbuf[i] != 0xFF) { oobbuf 1062 fs/jffs2/wbuf.c "%08x\n", ops.oobbuf[i], i, jeb->offset); oobbuf 1084 fs/jffs2/wbuf.c ops.oobbuf = c->oobbuf; oobbuf 1097 fs/jffs2/wbuf.c return !!memcmp(&oob_cleanmarker, c->oobbuf, cmlen); oobbuf 1109 fs/jffs2/wbuf.c ops.oobbuf = (uint8_t *)&oob_cleanmarker; oobbuf 1211 fs/jffs2/wbuf.c c->oobbuf = kmalloc_array(NR_OOB_SCAN_PAGES, c->oobavail, GFP_KERNEL); oobbuf 1212 fs/jffs2/wbuf.c if (!c->oobbuf) { oobbuf 1220 fs/jffs2/wbuf.c kfree(c->oobbuf); oobbuf 1234 fs/jffs2/wbuf.c kfree(c->oobbuf); oobbuf 71 include/linux/mtd/mtd.h uint8_t *oobbuf; oobbuf 350 include/linux/mtd/mtd.h const u8 *oobbuf, int start, int nbytes); oobbuf 352 include/linux/mtd/mtd.h u8 *oobbuf, int start, int nbytes); oobbuf 356 include/linux/mtd/mtd.h const u8 *oobbuf, int start, int nbytes); oobbuf 358 include/linux/mtd/mtd.h u8 *oobbuf, int start, int nbytes); oobbuf 112 include/linux/mtd/nand.h } oobbuf; oobbuf 642 include/linux/mtd/nand.h iter->req.oobbuf.in = req->oobbuf; oobbuf 662 include/linux/mtd/nand.h iter->req.oobbuf.in += iter->req.ooblen; oobbuf 390 include/linux/mtd/spinand.h u8 *oobbuf;