Lines Matching refs:vecs
2360 * @vecs: the vectors to write
2361 * @count: count of vectors in @vecs
2368 static int default_mtd_writev(struct mtd_info *mtd, const struct kvec *vecs,
2376 if (!vecs[i].iov_len)
2378 ret = mtd_write(mtd, to, vecs[i].iov_len, &thislen,
2379 vecs[i].iov_base);
2381 if (ret || thislen != vecs[i].iov_len)
2383 to += vecs[i].iov_len;
2392 * @vecs: the vectors to write
2393 * @count: count of vectors in @vecs
2400 int mtd_writev(struct mtd_info *mtd, const struct kvec *vecs,
2410 return default_mtd_writev(mtd, vecs, count, to, retlen);
2412 return master->_writev(master, vecs, count,