Lines Matching refs:vecs
2463 * @vecs: the vectors to write
2464 * @count: count of vectors in @vecs
2471 static int default_mtd_writev(struct mtd_info *mtd, const struct kvec *vecs,
2479 if (!vecs[i].iov_len)
2481 ret = mtd_write(mtd, to, vecs[i].iov_len, &thislen,
2482 vecs[i].iov_base);
2484 if (ret || thislen != vecs[i].iov_len)
2486 to += vecs[i].iov_len;
2495 * @vecs: the vectors to write
2496 * @count: count of vectors in @vecs
2503 int mtd_writev(struct mtd_info *mtd, const struct kvec *vecs,
2513 return default_mtd_writev(mtd, vecs, count, to, retlen);
2515 return master->_writev(master, vecs, count,