Lines Matching refs:adjops
1588 struct mtd_oob_ops adjops = *ops; in mtd_io_emulated_slc() local
1613 adjops.len = ops->len - ops->retlen; in mtd_io_emulated_slc()
1614 if (adjops.len > mtd->writesize - pageofs) in mtd_io_emulated_slc()
1615 adjops.len = mtd->writesize - pageofs; in mtd_io_emulated_slc()
1617 adjops.ooblen = ops->ooblen - ops->oobretlen; in mtd_io_emulated_slc()
1618 if (adjops.ooblen > oobavail - adjops.ooboffs) in mtd_io_emulated_slc()
1619 adjops.ooblen = oobavail - adjops.ooboffs; in mtd_io_emulated_slc()
1622 ret = mtd_read_oob_std(mtd, pos + pageofs, &adjops); in mtd_io_emulated_slc()
1626 ret = mtd_write_oob_std(mtd, pos + pageofs, &adjops); in mtd_io_emulated_slc()
1633 ops->retlen += adjops.retlen; in mtd_io_emulated_slc()
1634 ops->oobretlen += adjops.oobretlen; in mtd_io_emulated_slc()
1635 adjops.datbuf += adjops.retlen; in mtd_io_emulated_slc()
1636 adjops.oobbuf += adjops.oobretlen; in mtd_io_emulated_slc()
1637 adjops.ooboffs = 0; in mtd_io_emulated_slc()