Lines Matching defs:thislen

1049  * @thislen:	oob length to read
1052 int thislen)
1059 column, thislen);
1123 int read = 0, column, thislen;
1148 thislen = min_t(int, writesize, len - read);
1151 if (column + thislen > writesize)
1152 thislen = writesize - column;
1167 this->read_bufferram(mtd, ONENAND_DATARAM, buf, column, thislen);
1181 read += thislen;
1185 from += thislen;
1186 buf += thislen;
1224 int read = 0, column, thislen;
1259 thislen = min_t(int, writesize, len - read);
1261 if (column + thislen > writesize)
1262 thislen = writesize - column;
1266 from += thislen;
1267 if (read + thislen < len) {
1283 this->read_bufferram(mtd, ONENAND_DATARAM, buf, column, thislen);
1300 read += thislen;
1307 buf += thislen;
1308 thislen = min_t(int, writesize, len - read);
1349 int read = 0, thislen, column, oobsize;
1383 thislen = oobsize - column;
1384 thislen = min_t(int, thislen, len);
1401 onenand_transfer_auto_oob(mtd, buf, column, thislen);
1403 this->read_bufferram(mtd, ONENAND_SPARERAM, buf, column, thislen);
1405 read += thislen;
1410 buf += thislen;
1542 int read = 0, thislen, column;
1570 thislen = mtd->oobsize - column;
1571 thislen = min_t(int, thislen, len);
1584 this->read_bufferram(mtd, ONENAND_SPARERAM, buf, column, thislen);
1585 read += thislen;
1589 buf += thislen;
1646 int thislen, column;
1651 thislen = min_t(int, this->writesize - column, len);
1665 if (memcmp(buf, this->verify_buf + column, thislen))
1668 len -= thislen;
1669 buf += thislen;
1670 addr += thislen;
1734 int thislen = min_t(int, mtd->writesize - column, len - written);
1737 this->command(mtd, ONENAND_CMD_BUFFERRAM, to, thislen);
1740 subpage = thislen < mtd->writesize;
1743 memcpy(this->page_buf + column, buf, thislen);
1761 written += thislen;
1767 to += thislen;
1768 buf += thislen;
1781 * @thislen: oob length to write
1784 const u_char *buf, int column, int thislen)
1786 return mtd_ooblayout_set_databytes(mtd, buf, oob_buf, column, thislen);
1801 int written = 0, column, thislen = 0, subpage = 0;
1838 thislen = min_t(int, mtd->writesize - column, len - written);
1843 this->command(mtd, ONENAND_CMD_BUFFERRAM, to, thislen);
1846 subpage = thislen < mtd->writesize;
1849 memcpy(this->page_buf + column, buf, thislen);
1913 ((written + thislen) < len)) {
1935 ret = onenand_verify(mtd, buf, to, thislen);
1942 written += thislen;
1948 written += thislen;
1953 prevlen = thislen;
1954 to += thislen;
1955 buf += thislen;
2023 int thislen = min_t(int, oobsize, len - written);
2033 onenand_fill_auto_oob(mtd, oobbuf, buf, column, thislen);
2035 memcpy(oobbuf + column, buf, thislen);
2066 written += thislen;
2071 buf += thislen;
2800 int thislen = min_t(int, oobsize, len - written);
2832 memcpy(oobbuf + column, buf, thislen);
2879 written += thislen;
2884 buf += thislen;