/kernel/linux/linux-5.10/drivers/mtd/tests/ |
D | oobtest.c | 209 if (use_offset != 0 || use_len < mtd->oobavail) { in verify_eraseblock() 215 ops.ooblen = mtd->oobavail; in verify_eraseblock() 224 if (err || ops.oobretlen != mtd->oobavail) { in verify_eraseblock() 241 mtd->oobavail - k); in verify_eraseblock() 266 size_t len = mtd->oobavail * pgcnt; in verify_eraseblock_in_one_go() 267 size_t oobavail = mtd->oobavail; in verify_eraseblock_in_one_go() local 295 bitflips = memcmpshow(addr, readbuf + (i * oobavail), in verify_eraseblock_in_one_go() 296 writebuf + (i * oobavail), oobavail); in verify_eraseblock_in_one_go() 394 use_len = mtd->oobavail; in mtd_oobtest_init() 395 use_len_max = mtd->oobavail; in mtd_oobtest_init() [all …]
|
/kernel/linux/linux-5.10/fs/jffs2/ |
D | wbuf.c | 1037 int cmlen = min_t(int, c->oobavail, OOB_CM_SIZE); in jffs2_check_oob_empty() 1041 ops.ooblen = NR_OOB_SCAN_PAGES * c->oobavail; in jffs2_check_oob_empty() 1080 int ret, cmlen = min_t(int, c->oobavail, OOB_CM_SIZE); in jffs2_check_nand_cleanmarker() 1105 int cmlen = min_t(int, c->oobavail, OOB_CM_SIZE); in jffs2_write_nand_cleanmarker() 1192 if (c->mtd->oobavail == 0) { in jffs2_nand_flash_setup() 1199 c->oobavail = c->mtd->oobavail; in jffs2_nand_flash_setup() 1211 c->oobbuf = kmalloc_array(NR_OOB_SCAN_PAGES, c->oobavail, GFP_KERNEL); in jffs2_nand_flash_setup()
|
D | jffs2_fs_sb.h | 140 int oobavail; /* How many bytes are available for JFFS2 in OOB */ member
|
/kernel/linux/linux-5.10/drivers/mtd/ |
D | mtdswap.c | 334 ops.ooblen = 2 * d->mtd->oobavail; in mtdswap_read_markers() 347 (d->oob_buf + d->mtd->oobavail); in mtdswap_read_markers() 887 ops.ooblen = mtd->oobavail; in mtdswap_eblk_passes() 899 memset(d->oob_buf, patt, mtd->oobavail); in mtdswap_eblk_passes() 918 for (j = 0; j < mtd->oobavail; j++) in mtdswap_eblk_passes() 1313 d->oob_buf = kmalloc_array(2, mtd->oobavail, GFP_KERNEL); in mtdswap_init() 1372 if (!mtd->oobsize || mtd->oobavail < MTDSWAP_OOBSIZE) { in mtdswap_add_mtd() 1375 MTDSWAP_PREFIX, mtd->oobavail, MTDSWAP_OOBSIZE); in mtdswap_add_mtd()
|
D | mtdcore.c | 234 return snprintf(buf, PAGE_SIZE, "%u\n", mtd->oobavail); in mtd_oobavail_show() 236 static DEVICE_ATTR(oobavail, S_IRUGO, mtd_oobavail_show, NULL); 1380 unsigned int wunit, oobavail; in mtd_io_emulated_slc() local 1391 oobavail = mtd_oobavail(mtd, ops); in mtd_io_emulated_slc() 1409 if (adjops.ooblen > oobavail - adjops.ooboffs) in mtd_io_emulated_slc() 1410 adjops.ooblen = oobavail - adjops.ooboffs; in mtd_io_emulated_slc()
|
D | mtdpart.c | 68 child->oobavail = parent->oobavail; in allocate_partition()
|
D | mtdconcat.c | 682 concat->mtd.oobavail = subdev[0]->oobavail; in mtd_concat_create()
|
D | mtdchar.c | 493 to->oobavail += to->oobfree[i].length; in shrink_ecclayout()
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/mtd/ |
D | mtd-abi.h | 125 __u32 oobavail; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/mtd/ |
D | mtd-abi.h | 139 __u32 oobavail; member
|
/kernel/linux/linux-5.10/include/uapi/mtd/ |
D | mtd-abi.h | 238 __u32 oobavail; member
|
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/ |
D | nand_base.c | 5314 const struct nand_ecc_caps *caps, int oobavail) in nand_check_ecc_caps() argument 5338 if (ecc_bytes * nsteps > oobavail) { in nand_check_ecc_caps() 5368 const struct nand_ecc_caps *caps, int oobavail) in nand_match_ecc_req() argument 5413 if (ecc_bytes_total > oobavail || in nand_match_ecc_req() 5451 const struct nand_ecc_caps *caps, int oobavail) in nand_maximize_ecc() argument 5481 if (ecc_bytes * nsteps > oobavail) in nand_maximize_ecc() 5529 const struct nand_ecc_caps *caps, int oobavail) in nand_ecc_choose_conf() argument 5534 if (WARN_ON(oobavail < 0 || oobavail > mtd->oobsize)) in nand_ecc_choose_conf() 5538 return nand_check_ecc_caps(chip, caps, oobavail); in nand_ecc_choose_conf() 5541 return nand_maximize_ecc(chip, caps, oobavail); in nand_ecc_choose_conf() [all …]
|
D | qcom_nandc.c | 2165 oob_size = mtd->oobavail; in qcom_nandc_write_oob() 2170 0, mtd->oobavail); in qcom_nandc_write_oob()
|
/kernel/linux/linux-5.10/include/linux/mtd/ |
D | mtd.h | 266 uint32_t oobavail; // Available OOB bytes per block member 468 return ops->mode == MTD_OPS_AUTO_OOB ? mtd->oobavail : mtd->oobsize; in mtd_oobavail()
|
D | rawnand.h | 1435 const struct nand_ecc_caps *caps, int oobavail);
|
/kernel/linux/linux-5.10/Documentation/ABI/testing/ |
D | sysfs-class-mtd | 236 What: /sys/class/mtd/mtdX/oobavail
|
/kernel/linux/linux-5.10/drivers/mtd/devices/ |
D | docg3.c | 1404 oobdelta = mtd->oobavail; in doc_write_oob() 1778 mtd->oobavail = 8; in doc_set_driver_info()
|
/kernel/linux/linux-5.10/drivers/mtd/nand/onenand/ |
D | onenand_base.c | 1364 oobsize = mtd->oobavail; in onenand_read_oob_nolock() 1989 oobsize = mtd->oobavail; in onenand_write_oob_nolock() 3936 mtd->oobavail = ret; in onenand_scan()
|
/kernel/linux/linux-5.10/drivers/mtd/nand/spi/ |
D | core.c | 1090 mtd->oobavail = ret; in spinand_init()
|
/kernel/liteos_a/fs/jffs2/ |
D | jffs2.patch | 7988 - int cmlen = min_t(int, c->oobavail, OOB_CM_SIZE); 7992 - ops.ooblen = NR_OOB_SCAN_PAGES * c->oobavail; 8031 - int ret, cmlen = min_t(int, c->oobavail, OOB_CM_SIZE); 8056 - int cmlen = min_t(int, c->oobavail, OOB_CM_SIZE); 8143 - if (c->mtd->oobavail == 0) { 8150 - c->oobavail = c->mtd->oobavail; 8162 - c->oobbuf = kmalloc_array(NR_OOB_SCAN_PAGES, c->oobavail, GFP_KERNEL);
|
/kernel/linux/patches/linux-5.10/hispark_taurus_patch/ |
D | hispark_taurus.patch | 36923 + mtd->oobavail = HIFMC100_NAND_OOBSIZE_FOR_YAFFS;
|
/kernel/linux/patches/linux-4.19/hispark_taurus_patch/ |
D | hispark_taurus.patch | 327870 + mtd->oobavail = HIFMC100_NAND_OOBSIZE_FOR_YAFFS;
|