Searched refs:adjops (Results 1 – 1 of 1) sorted by relevance
1632 struct mtd_oob_ops adjops = *ops; in mtd_io_emulated_slc() local1657 adjops.len = ops->len - ops->retlen; in mtd_io_emulated_slc()1658 if (adjops.len > mtd->writesize - pageofs) in mtd_io_emulated_slc()1659 adjops.len = mtd->writesize - pageofs; in mtd_io_emulated_slc()1662 if (adjops.ooblen > oobavail - adjops.ooboffs) in mtd_io_emulated_slc()1663 adjops.ooblen = oobavail - adjops.ooboffs; in mtd_io_emulated_slc()1677 ops->retlen += adjops.retlen; in mtd_io_emulated_slc()1678 ops->oobretlen += adjops.oobretlen; in mtd_io_emulated_slc()1679 adjops.datbuf += adjops.retlen; in mtd_io_emulated_slc()1680 adjops.oobbuf += adjops.oobretlen; in mtd_io_emulated_slc()[all …]