Lines Matching refs:vecs
2085 * @vecs: the vectors to write
2086 * @count: count of vectors in @vecs
2093 static int default_mtd_writev(struct mtd_info *mtd, const struct kvec *vecs,
2101 if (!vecs[i].iov_len)
2103 ret = mtd_write(mtd, to, vecs[i].iov_len, &thislen,
2104 vecs[i].iov_base);
2106 if (ret || thislen != vecs[i].iov_len)
2108 to += vecs[i].iov_len;
2117 * @vecs: the vectors to write
2118 * @count: count of vectors in @vecs
2125 int mtd_writev(struct mtd_info *mtd, const struct kvec *vecs,
2135 return default_mtd_writev(mtd, vecs, count, to, retlen);
2137 return master->_writev(master, vecs, count,