Lines Matching refs:vecs_copy
189 struct kvec *vecs_copy; in concat_writev() local
207 vecs_copy = kmemdup(vecs, sizeof(struct kvec) * count, GFP_KERNEL); in concat_writev()
208 if (!vecs_copy) in concat_writev()
226 if (size <= vecs_copy[entry_high].iov_len) in concat_writev()
228 size -= vecs_copy[entry_high++].iov_len; in concat_writev()
231 old_iov_len = vecs_copy[entry_high].iov_len; in concat_writev()
232 vecs_copy[entry_high].iov_len = size; in concat_writev()
234 err = mtd_writev(subdev, &vecs_copy[entry_low], in concat_writev()
237 vecs_copy[entry_high].iov_len = old_iov_len - size; in concat_writev()
238 vecs_copy[entry_high].iov_base += size; in concat_writev()
255 kfree(vecs_copy); in concat_writev()