Lines Matching defs:vecs
2351 * @vecs: the vectors to write
2352 * @count: count of vectors in @vecs
2359 static int default_mtd_writev(struct mtd_info *mtd, const struct kvec *vecs,
2367 if (!vecs[i].iov_len)
2369 ret = mtd_write(mtd, to, vecs[i].iov_len, &thislen,
2370 vecs[i].iov_base);
2372 if (ret || thislen != vecs[i].iov_len)
2374 to += vecs[i].iov_len;
2383 * @vecs: the vectors to write
2384 * @count: count of vectors in @vecs
2391 int mtd_writev(struct mtd_info *mtd, const struct kvec *vecs,
2401 return default_mtd_writev(mtd, vecs, count, to, retlen);
2403 return master->_writev(master, vecs, count,