Lines Matching refs:vecs_copy
164 struct kvec *vecs_copy; in concat_writev() local
182 vecs_copy = kmemdup(vecs, sizeof(struct kvec) * count, GFP_KERNEL); in concat_writev()
183 if (!vecs_copy) in concat_writev()
201 if (size <= vecs_copy[entry_high].iov_len) in concat_writev()
203 size -= vecs_copy[entry_high++].iov_len; in concat_writev()
206 old_iov_len = vecs_copy[entry_high].iov_len; in concat_writev()
207 vecs_copy[entry_high].iov_len = size; in concat_writev()
209 err = mtd_writev(subdev, &vecs_copy[entry_low], in concat_writev()
212 vecs_copy[entry_high].iov_len = old_iov_len - size; in concat_writev()
213 vecs_copy[entry_high].iov_base += size; in concat_writev()
230 kfree(vecs_copy); in concat_writev()